1
0
Fork 0
mirror of synced 2024-11-16 14:05:34 -05:00

Instruct how to add extra vim settings in .vimrc file

This commit is contained in:
Fazle Arefin 2020-12-26 22:15:48 +11:00
parent 35364f33fc
commit c5b061fe7f
No known key found for this signature in database
GPG key ID: A6859B7D9849C0DD
2 changed files with 10 additions and 4 deletions

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