mirror of
https://codeberg.org/JasterV/dotfiles.git
synced 2026-04-26 18:40:04 +00:00
Update helix shortcuts
This commit is contained in:
parent
c886e50cc7
commit
b80cd8572e
1 changed files with 4 additions and 1 deletions
|
|
@ -53,6 +53,8 @@ mode.insert = "INSERT"
|
||||||
mode.select = "SELECT"
|
mode.select = "SELECT"
|
||||||
|
|
||||||
[keys.normal]
|
[keys.normal]
|
||||||
|
# Copy to both registers always
|
||||||
|
"y" = ["yank_to_clipboard", "yank"]
|
||||||
"C-j" = [
|
"C-j" = [
|
||||||
"move_next_word_end",
|
"move_next_word_end",
|
||||||
"select_mode",
|
"select_mode",
|
||||||
|
|
@ -77,6 +79,7 @@ mode.select = "SELECT"
|
||||||
]
|
]
|
||||||
"C-h" = ["goto_line_start"]
|
"C-h" = ["goto_line_start"]
|
||||||
"C-l" = ["goto_line_end"]
|
"C-l" = ["goto_line_end"]
|
||||||
# C-y = ":sh zellij run -f -x 10%% -y 10%% --width 80%% --height 80%% -- bash ~/.config/helix/yazi-picker.sh"
|
# Open yazi at current buffer's directory
|
||||||
C-y = ":open %sh{ zellij run -fc -x 10%% -y 10%% --width 80%% --height 80%% -- sh -c \"yazi --chooser-file=/proc/$$/fd/1 -- %{buffer_name}; kill -s CONT $$\"; kill -s STOP $$ }"
|
C-y = ":open %sh{ zellij run -fc -x 10%% -y 10%% --width 80%% --height 80%% -- sh -c \"yazi --chooser-file=/proc/$$/fd/1 -- %{buffer_name}; kill -s CONT $$\"; kill -s STOP $$ }"
|
||||||
|
# Open lazygit
|
||||||
C-m = [":new", ":insert-output lazygit", ":buffer-close!", ":redraw"]
|
C-m = [":new", ":insert-output lazygit", ":buffer-close!", ":redraw"]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue