TIL: VSCode + Vim MultiSelect
Justin Hager
Posted on March 25, 2021
Context:
- VS Code IDE
- Vim Extension
Problem:
-
Ctrl+d
keybinding does not work as expected. - Expecting multi-select of highlighted word. Instead, get some type of chunk selection.
Solutions:
1) Play a Vim melody combo: viw
+ gb
-
viw
to select the word -
gb
to grab next occurrence
2) Enable the Ctrl+d
keybinding:
- Edit VS Code's
settings.json
to include the following:
"vim.handleKeys": {
"<C-d>": false
}
Reference:
https://github.com/VSCodeVim/Vim/issues/2144
Extra:
Gif screen recordings created in Linux with Peek
💖 💪 🙅 🚩
Justin Hager
Posted on March 25, 2021
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.