Cannot remap move pane keybinds
See original GitHub issueIs this a BUG REPORT or FEATURE REQUEST? (choose one):
I’m not sure. bug or just question.
What happened:
I remapped move pane to right/left/up/down keybinds to ctrl-l/h/k/j only in a Normal mode like below.
{
"key": "ctrl+h",
"command": "extension.vim_navigateLeft",
"when": "vim.active && editorTextFocus && vim.mode == 'Normal' "
},
{
"key": "ctrl+l",
"command": "extension.vim_navigateRight",
"when": "vim.active && editorTextFocus && vim.mode == 'Normal'"
},
But after upgraded to latest version of this extension, I got error messages like command 'extension.vim_navigateLeft' not found
.
I was found some commands changes in #2600, But I don’t know how to reconfig the keybinds.
What did you expect to happen:
I’d like to use ctrl-l/h/k/j keybinds in Normal mode for move pane.
How to reproduce it (as minimally and precisely as possible):
Environment:
- Extension (VsCodeVim) version: v0.11.6
- VSCode version: Version 1.23.0 (1.23.0)
- OS version: macOS 10.13.4
Issue Analytics
- State:
- Created 5 years ago
- Comments:15 (5 by maintainers)
Top Results From Across the Web
How to remap keys on ANY KEYBOARD | Windows 10
Well, with this simple tool you can remap one or more keys to... ... Your browser can't play this video. Learn more. Switch...
Read more >Shortcuts, Hotkeys, Macros, Oh My: How to Remap Your ...
Click Keyboard Manager, then select Remap a key to re-assign individual keys or Remap a shortcut to assign hotkey combinations to a single...
Read more >How to remap <C-W>hjkl to navigate tmux panes and ...
I'd like to use default key bindings to move between vim and tmux splits. Which is <C-W>hjkl . But it isn't working. Either...
Read more >Remapping the keyboard
To access the Keyboard window, either click the Remap button on the toolbar, click Edit > Preferences > Keyboard, or click Keyboard in...
Read more >How can I change keyboard shortcut bindings in Visual ...
Keep in mind you can type things like shift ctrl c in the Search input in Keyboard Shortcuts panel to find commands by...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Quick update since I ran into this again, but
otherModesKeyBindingsNonRecursive
is nownormalModesKeyBindingsNonRecursive
as per #2726.So for completeness, in your
USER SETTINGS
you’ll need:@kdnk You’re right, it does work. Thanks!
For anyone else who stumbles into this, you must remove the corresponding keybindings from
keybindings.json
and add the snippet above.