- I use
<Space>
as my<Leader>
key:
<Leader>v
: Open vimrc
- tpope/commentary is convienient for comments:
Vgc
: Comment out current line
-
I use tpope/fugitive Mainly for
:Gblame
-
tpope/surround is useful for surroundings:
cs(]
: Change surrounding ()
to []
ysiw"
: Add ""
to the word under cursor
- tpope/vim-unimpaired, Tim Pope do this all the time for us.
]b
: Go to next buffer
[q
: Go to previous vimgrep match
- godlygeek/tabular will do auto line up:
:Tab /:
: Line up text buffer divided by :
<Leader>=
: Line up text buffer divided by =
- terryma/vim-expand-region will make visual selection easier:
vvvv
: Expand visual selection
VVVV
: Shrink visual selection
- mattn/emmet is used for HTML editing
div.button.primary#submit<C-Y>,
will create a button with class button,primary and id submit.
For more details, you may read my vimrc.