1
0
Fork 0
mirror of synced 2024-12-08 00:25:37 -05:00

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!
cd ~/.vim_runtime
git reset --hard
git clean -d --force
git pull --rebase
python update_plugins.py
python update_plugins.py # use python3 if python is unavailable
## Some screenshots

View file

@ -4,7 +4,10 @@ set -e
echo 'Installing Awesome Vim from '$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/filetypes.vim
@ -12,7 +15,7 @@ source $1/vimrcs/plugins_config.vim
source $1/vimrcs/extended.vim
try
source $1/my_configs.vim
source $1/my_configs.vim
catch
endtry"

View file

@ -3,7 +3,10 @@ set -e
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/filetypes.vim
@ -11,7 +14,7 @@ source ~/.vim_runtime/vimrcs/plugins_config.vim
source ~/.vim_runtime/vimrcs/extended.vim
try
source ~/.vim_runtime/my_configs.vim
source ~/.vim_runtime/my_configs.vim
catch
endtry' > ~/.vimrc