From c4011272c51134995bb907ed1db1813444438926 Mon Sep 17 00:00:00 2001 From: Matt Huntington Date: Fri, 19 Mar 2021 21:26:46 -0400 Subject: [PATCH] Update cheat_sheet.md --- cheat_sheet.md | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) 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