Paste text in visual mode without yank http://stackoverflow.com/a/5093286/2609042 xnoremap p pgvy

cheetsheet vim-cheetsheet 在 VIM 中格式化压缩后的 JSON 文件: %!python -m json.tool https://robots.thoughtbot.com/vim-splits-move-faster-and-more-naturally

install

  ./configure --prefix=/usr --with-features=huge
  make
  sudo make install

vim will be install at /usr/bin/vim

vsp open file from relative path: :expand('%')

markdown table align https://github.com/junegunn/vim-easy-align


cheetsheet

Learn Vimscript the hard way

Chapter 1

:resize splits: ctrl-w < , ctrl-w >, ctrl-w =