Vim plugins in a bundle
git clone git@github.com:chengz/.vim.git ~/.vim
Download plug.vim and put it in ~/.vim/autoload
curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
ln -s ~/.vim/vimrc ~/.vimrc
ln -s ~/.vim/gvimrc ~/.gvimrc (only if you're using mvim)
vim .
:PlugInstall (install plugins)
brew install ack
hjkl
gg go to top
G go to bottom
Ctrl + u page up
Ctrl + d page down
number j move down number of rows e.g. 10j
number gg move to line number e.g. 20gg (move to line 20)
, + hjkl move to window around
number, + hjkl move to number of window e.g. 2,l move to the second window on right
nt toggle node tree
tt open search file