Vim Notes

Self notes for using Vim.

Change between spilts

  ctrl+w [hjkl]

Next split

    ctrl+w ctrl+w

Comment out a block of code

Select the block using v followed by [hjkl]
    ,cc

Uncomment

    ,c[space]

Next or Previous Ruby method

    ]M or [M

File management using NERDtree

  NERDTree Menu. Use j/k/enter and the shortcuts indicated
  ==========================================================
  > (a)dd a childnode
    (m)ove the curent node
    (d)elete the curent node
    (c)copy the current node

Really useful Vim plugins:

autocomplpop - autocomplete without tab minibufexpl - switch between buffers with ease

Awesome Vim Tutorial

© 2017. All rights reserved.