Update cheat_sheet.md

main
Matt Huntington 5 years ago committed by GitHub
parent ab3663e22f
commit e4a9c8c5c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,34 +1,5 @@
# VIM Cheat Sheet # VIM Cheat Sheet
## 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 ## Split
- `<ctrl-w>s` or `:sp` split with line running horizontally - `<ctrl-w>s` or `:sp` split with line running horizontally

Loading…
Cancel
Save