Vim

Vim is the powerful highly configurable text editor with extensible plugin system and great documentation.

Notes

Plugin system

Install plugins

Vim 8+ has built-in plugin system. :help packages

  1. Make dir and clone plugin repository

mkdir ~/.vim/pack/plugins/start/

git clone https://github.com/prettier/vim-prettier ~/.vim/pack/plugins/start/vim-prettier
  1. Enable auto load plugins at vim starts. In .vimrc add following command:

packloadall

Resize window

:res +25

Surround

:%s/target/{\0} # {target}

Last updated