diff --git a/cheat_sheet.md b/cheat_sheet.md index de8d41c..1922d9f 100644 --- a/cheat_sheet.md +++ b/cheat_sheet.md @@ -1,12 +1,34 @@ # VIM Cheat Sheet -## Install vim-plug +## Setup + +### Install vim-plug ``` curl -fLo ~/.vim/autoload/plug.vim --create-dirs \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim ``` +clone repo and + +``` +ln -s /path/to/cloned/repo/.vimrc ~/.vimrc +``` + +then open vim and + +``` +:PlugInstall +``` + +then + +``` +source ~/.vimrc +``` + +or reopen vim + ## Split - `s` or `:sp` split with line running horizontally