"vim.useCtrlKeys": truei to go to insert mode.ctrl+m or ctrl+j.Insert a new line break(\ Nothing happened.What happened instead?
Technical details:
okay i mean we can totally add that but i gotta know: why dont you just use enter??
As a vimer.
I use hjkl instead of arrow keys.
I use ctrl+[ instead of <esc>. (and keep index finger on j)
I use ctrl+m instead of <enter>. (just move index finger little bit to m then back to j very quick)
Just because those keys are too far for my little finger.
This can be covered by https://github.com/VSCodeVim/Vim/issues/1543
Can also this behavior apply in '/' and '?' searching?
A workaround is that setting a keybinding <ctrl-m> to inert snippet \n
{
"key": "ctrl+m",
"command": "editor.action.insertSnippet",
"when": "editorTextFocus && !inDebugRepl && vim.mode == 'Insert'",
"args": {
"snippet": "\n"
}
},
{
"key": "ctrl+j",
"command": "editor.action.insertSnippet",
"when": "editorTextFocus && !inDebugRepl && vim.mode == 'Insert'",
"args": {
"snippet": "\n"
}
}
However, it still can't use those combination in command line.
Is there a technical reason why this can't be done? From the first sight it's not, since Ctrl-[ works both in command line and in insert mode
Can we resurrect this issue? I've implemented ctrl+m support in a linked pull request
Most helpful comment
As a vimer.
I use hjkl instead of arrow keys.
I use
ctrl+[instead of<esc>. (and keep index finger onj)I use
ctrl+minstead of<enter>. (just move index finger little bit tomthen back tojvery quick)Just because those keys are too far for my little finger.