I'm able to jump to the end of the line in VIM in insert mode by having the following in my .vimrc
:
inoremap <C-e> <C-o>$
inoremap maps a key combination for insert mode
<C-e> is the keybinding I am creating.
<C-o> is a command that switches vim to normal mode for one command.
$ jumps to the end of the line and we are switched back to insert mode.
How can I do that in VSCodeVim plugin?
Here is what I have tried so far:
"vim.insertModeKeyBindings": [
{
"before": ["j", "j"],
"after": ["<Esc>"]
},
{
"before": ["<C-e>"],
"after": ["<C-o>$"]
},
{
"before": ["<C-r>"],
"after": [],
"commands": [
{
"command": "redo"
}
]
},
],