Update instructions on updating vimrc (#614)

This commit is contained in:
Fazle Arefin 2021-07-05 06:57:32 +10:00 committed by GitHub
parent 326327277c
commit 1717536b95
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 5 deletions

View file

@ -63,8 +63,10 @@ If you have vim aliased as `vi` instead of `vim`, make sure to either alias it:
Just do a git rebase! Just do a git rebase!
cd ~/.vim_runtime cd ~/.vim_runtime
git reset --hard
git clean -d --force
git pull --rebase git pull --rebase
python update_plugins.py python update_plugins.py # use python3 if python is unavailable
## Some screenshots ## Some screenshots

View file

@ -4,7 +4,10 @@ set -e
echo 'Installing Awesome Vim from '$1 echo 'Installing Awesome Vim from '$1
cd $1 cd $1
VIMRC="set runtimepath+=$1 VIMRC="\" DO NOT EDIT THIS FILE
\" Add your own customizations in $1/my_configs.vim
set runtimepath+=$1
source $1/vimrcs/basic.vim source $1/vimrcs/basic.vim
source $1/vimrcs/filetypes.vim source $1/vimrcs/filetypes.vim

View file

@ -3,7 +3,10 @@ set -e
cd ~/.vim_runtime cd ~/.vim_runtime
echo 'set runtimepath+=~/.vim_runtime echo '" DO NOT EDIT THIS FILE
" Add your own customizations in ~/.vim_runtime/my_configs.vim
set runtimepath+=~/.vim_runtime
source ~/.vim_runtime/vimrcs/basic.vim source ~/.vim_runtime/vimrcs/basic.vim
source ~/.vim_runtime/vimrcs/filetypes.vim source ~/.vim_runtime/vimrcs/filetypes.vim