helix: Clone space bindings to select mode
This commit is contained in:
parent
8c75f4f7b3
commit
a77c14e6eb
1 changed files with 24 additions and 0 deletions
|
|
@ -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}"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue