How do I map Expand/Shrink Selection (normally <A-up> and <A-down>) #826
Answered
by
lippfi
agingorange
asked this question in
Q&A
-
In my Neovim configuration, I use v and V resp. to expand and shrink the selection using Treesitter. So, to kind of get the same, I tried the following:
Neither worked. Is it possible to do the remap I'm looking for? |
Beta Was this translation helpful? Give feedback.
Answered by
lippfi
Feb 19, 2024
Replies: 1 comment 3 replies
-
Action should be wrapped in braces |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ok, I get it now, it's a wrong action. Please see https://github.com/JetBrains/ideavim?tab=readme-ov-file#finding-action-ids
I've just tracked id of expanding selection and it is
EditorSelectWord
vmap .. <Action>(EditorSelectWord)
should work