Vim icon indicating copy to clipboard operation
Vim copied to clipboard

`hjkl` keys as arrow keys in intellisense contextual menu

Open gibbok opened this issue 7 years ago • 3 comments

Is your feature request related to a problem? Please describe. hjkl keys as arrow keys in intellisense contextual menu do not work.

I would like to have an option to configure VSCodeVim to use hjkl for that so I won't need to to reach the arrow keys and leave the Home Row.

Describe the solution you'd like I would love to enable hjkl keys as arrow keys in intellisense contextual menu when VSCodeVim is installed and enabled.

gibbok avatar Jul 24 '18 10:07 gibbok

You can add something like the following to your keybindings.json and it should not interfere with any other keys given the context:

{
    "key": "ctrl+k",
    "command": "selectPrevSuggestion",
    "when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
},

xmbhasin avatar Jul 24 '18 16:07 xmbhasin

@xmbhasin this isn't working for me. Doing ctrl+k and ctrl+j just jumps between two menu items for some reason.

red8888 avatar Jan 26 '24 17:01 red8888

Actually it does nothing, I changed ctrl+k to cmd+k and pressing that when the menu pops doesn't move at all.

red8888 avatar Jan 26 '24 17:01 red8888