mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-28 12:23:30 +04:00
add sticky mode for 'alter window' pane
This commit is contained in:
parent
6891014241
commit
5aaaf137cb
@ -27,13 +27,21 @@ pub fn default() -> HashMap<Mode, KeyTrie> {
|
|||||||
"end" => goto_line_end,
|
"end" => goto_line_end,
|
||||||
|
|
||||||
"A-w" => { "Alter Window"
|
"A-w" => { "Alter Window"
|
||||||
"A-w"|"A-left" => shrink_buffer_width,
|
"A-h"|"A-left" => shrink_buffer_width,
|
||||||
"A-l"|"A-right" => grow_buffer_width,
|
"A-l"|"A-right" => grow_buffer_width,
|
||||||
"A-j"|"A-down" => shrink_buffer_height,
|
"A-j"|"A-down" => shrink_buffer_height,
|
||||||
"A-k"|"A-up" => grow_buffer_height,
|
"A-k"|"A-up" => grow_buffer_height,
|
||||||
"A-f" => buffer_expand_mode,
|
"A-f" => buffer_expand_mode,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"A-W" => { "Alter Window" sticky=true
|
||||||
|
"h"|"left" => shrink_buffer_width,
|
||||||
|
"l"|"right" => grow_buffer_width,
|
||||||
|
"j"|"down" => shrink_buffer_height,
|
||||||
|
"k"|"up" => grow_buffer_height,
|
||||||
|
"f" => buffer_expand_mode,
|
||||||
|
},
|
||||||
|
|
||||||
"w" => move_next_word_start,
|
"w" => move_next_word_start,
|
||||||
"b" => move_prev_word_start,
|
"b" => move_prev_word_start,
|
||||||
"e" => move_next_word_end,
|
"e" => move_next_word_end,
|
||||||
|
Loading…
Reference in New Issue
Block a user