509 B
509 B
VIM tips
How to install plugins
Install vim plugin manager
curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
Add plugin location to .vimrc
call plug#begin()
Plug 'junegunn/fzf.vim'
Plug 'preservim/nerdtree'
Plug 'rust-lang/rust.vim'
call plug#end()
Install plugin from within vim
:PlugInstall
Plugins
tpope/vim-surround
How to use
Mark text to be surrounded: Ctrl + v > $ St (Write tag)