Learn Vim
Orion Electric Age

Vim Modes

  • Vim modes switch
    Vim Modes Switch
  • Remap <Esc> key, changing the leader key
    1
    2
    3
    # cat ~/.vimrc 
    inoremap jk <Esc>
    let mapleader="<Space>"

Free Online Resources to Learn Vim

Vedios and Blogs

Frequent Commands

  • One line
    • Ctrl+Y → Move viewport down
    • Ctrl+E → Move viewport up (Extra lines)
  • Full screen
    • Ctrl+F → Move viewport Forward
    • Ctrl+B → Move viewport Backward
  • Half a screen
    • Ctrl+U → Move viewport Up
    • Ctrl+D → Move viewport Down

Reference