Add [x
/]x
to select larger/smaller syntax node in Vim (#8985)
`[x` will select the larger syntax node, `]x` the smaller one. Inspired by https://github.com/tpope/vim-unimpaired. Release Notes: - Added `[x` and `]x` as default keybindings in Vim mode to select larger and smaller syntax nodes respectively.
This commit is contained in:
parent
1a9387035d
commit
4238793d16
1 changed files with 3 additions and 1 deletions
|
@ -353,7 +353,9 @@
|
||||||
"> >": "vim::Indent",
|
"> >": "vim::Indent",
|
||||||
"< <": "vim::Outdent",
|
"< <": "vim::Outdent",
|
||||||
"ctrl-pagedown": "pane::ActivateNextItem",
|
"ctrl-pagedown": "pane::ActivateNextItem",
|
||||||
"ctrl-pageup": "pane::ActivatePrevItem"
|
"ctrl-pageup": "pane::ActivatePrevItem",
|
||||||
|
"[ x": "editor::SelectLargerSyntaxNode",
|
||||||
|
"] x": "editor::SelectSmallerSyntaxNode"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue