If you haven't learned to touch type (it happens, I didn't learn until I was 22), then first learn that, then learn vim.
FYI: Remap your capslock key to escape to use Vim more effectively.
If you haven't learned to touch type (it happens, I didn't learn until I was 22), then first learn that, then learn vim.
FYI: Remap your capslock key to escape to use Vim more effectively.
https://stackoverflow.com/questions/28444740/how-to-use-vi-m...
set -o vi
Starts you in insert mode. To go back to the usual command-line editing, set -o emacsIf you are using zsh, you need to add this to ur .zshrc
autoload -z edit-command-line
zle -N edit-command-line
bindkey "^X^E" edit-command-lineThat's more one way of doing things rather than a "FYI". Eg I switched capslock with ctrl. There are many ways to exit insert mode, I prefer:
inoremap jk <esc>
inoremap kj <esc>inoremap <esc> <nop> as this helps you train your fingers to stop using <esc>
If you're really curious, just learn to touch type and find out. It doesn't take all that long if you're already a solid typist. I'd be fascinated to read an article from someone who learned how to touch type and thought it was a waste of time.
<Esc> or CTRL-[ End insert or Replace mode, go back to Normal mode. Finish abbreviation.
CTRL-C Quit insert mode, go back to Normal mode. Do not check for abbreviations. Does not trigger the InsertLeave autocommand event.