Watch
1
0
Fork
You've already forked dotfiles
0

helix: Clone space bindings to select mode

This commit is contained in:
Jeremy Kaplan 2026-09-13 15:35:37 -04:00
commit a77c14e6eb

View file

@ -75,13 +75,25 @@ tabpad = ""
"f" = "changed_file_picker" "f" = "changed_file_picker"
"h" = ":noop %sh{gh browse '%{buffer_name}:%{cursor_line}' --commit=%sh{git rev-parse HEAD}}" "h" = ":noop %sh{gh browse '%{buffer_name}:%{cursor_line}' --commit=%sh{git rev-parse HEAD}}"
[keys.select.space.g]
"b" = ":sh git blame -L '%{selection_line_start},%{selection_line_end}' '%{buffer_name}'"
"f" = "changed_file_picker"
"h" = ":noop %sh{gh browse '%{buffer_name}:%{cursor_line}' --commit=%sh{git rev-parse HEAD}}"
[keys.normal.space.q] [keys.normal.space.q]
"q" = ":reflow" "q" = ":reflow"
[keys.select.space.q]
"q" = ":reflow"
[keys.normal.space.t] [keys.normal.space.t]
"w" = ":toggle whitespace.render all none" "w" = ":toggle whitespace.render all none"
"W" = ":toggle soft-wrap.enable" "W" = ":toggle soft-wrap.enable"
[keys.select.space.t]
"w" = ":toggle whitespace.render all none"
"W" = ":toggle soft-wrap.enable"
[keys.normal.space.y] [keys.normal.space.y]
"y" = "yank" "y" = "yank"
"Y" = "yank_to_clipboard" "Y" = "yank_to_clipboard"
@ -89,7 +101,19 @@ tabpad = ""
"J" = "yank_joined_to_clipboard" "J" = "yank_joined_to_clipboard"
"d" = ":yank-diagnostic" "d" = ":yank-diagnostic"
[keys.select.space.y]
"y" = "yank"
"Y" = "yank_to_clipboard"
"j" = "yank_joined"
"J" = "yank_joined_to_clipboard"
"d" = ":yank-diagnostic"
[keys.normal.space.Y] [keys.normal.space.Y]
"p" = ":noop %sh{printf '%%s' '%{buffer_name}' | cbcopy}" "p" = ":noop %sh{printf '%%s' '%{buffer_name}' | cbcopy}"
"d" = ":noop %sh{printf '%%s' $(dirname '%{buffer_name}') | cbcopy}" "d" = ":noop %sh{printf '%%s' $(dirname '%{buffer_name}') | cbcopy}"
"b" = ":noop %sh{printf '%%s' $(basename '%{buffer_name}') | cbcopy}" "b" = ":noop %sh{printf '%%s' $(basename '%{buffer_name}') | cbcopy}"
[keys.select.space.Y]
"p" = ":noop %sh{printf '%%s' '%{buffer_name}' | cbcopy}"
"d" = ":noop %sh{printf '%%s' $(dirname '%{buffer_name}') | cbcopy}"
"b" = ":noop %sh{printf '%%s' $(basename '%{buffer_name}') | cbcopy}"