Instruct how to add extra vim settings in .vimrc file
This commit is contained in:
parent
35364f33fc
commit
c5b061fe7f
2 changed files with 10 additions and 4 deletions
|
@ -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
|
||||||
|
@ -12,7 +15,7 @@ source $1/vimrcs/plugins_config.vim
|
||||||
source $1/vimrcs/extended.vim
|
source $1/vimrcs/extended.vim
|
||||||
|
|
||||||
try
|
try
|
||||||
source $1/my_configs.vim
|
source $1/my_configs.vim
|
||||||
catch
|
catch
|
||||||
endtry"
|
endtry"
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
@ -11,7 +14,7 @@ source ~/.vim_runtime/vimrcs/plugins_config.vim
|
||||||
source ~/.vim_runtime/vimrcs/extended.vim
|
source ~/.vim_runtime/vimrcs/extended.vim
|
||||||
|
|
||||||
try
|
try
|
||||||
source ~/.vim_runtime/my_configs.vim
|
source ~/.vim_runtime/my_configs.vim
|
||||||
catch
|
catch
|
||||||
endtry' > ~/.vimrc
|
endtry' > ~/.vimrc
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue