2017-04-01 07:38:55 -04:00
|
|
|
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
|
2012-05-29 16:24:34 -04:00
|
|
|
cd ~/.vim_runtime
|
|
|
|
|
2021-07-04 16:57:32 -04:00
|
|
|
echo '" DO NOT EDIT THIS FILE
|
2024-05-13 05:15:53 -04:00
|
|
|
" Add your own customizations in $1/my_configs.vim
|
|
|
|
" See ~/.vim_runtime/README.md "How to include your own stuff" for further options.
|
2021-07-04 16:57:32 -04:00
|
|
|
|
|
|
|
set runtimepath+=~/.vim_runtime
|
2012-05-29 16:12:10 -04:00
|
|
|
|
|
|
|
source ~/.vim_runtime/vimrcs/basic.vim
|
|
|
|
source ~/.vim_runtime/vimrcs/filetypes.vim
|
|
|
|
source ~/.vim_runtime/vimrcs/plugins_config.vim
|
|
|
|
source ~/.vim_runtime/vimrcs/extended.vim
|
2024-05-13 05:15:53 -04:00
|
|
|
|
|
|
|
let files=glob("~/.vim_runtime/my_configs/*.vim", 1, 1)
|
|
|
|
if empty(files)
|
|
|
|
try
|
|
|
|
source ~/.vim_runtime/my_configs.vim
|
|
|
|
catch
|
|
|
|
endtry
|
|
|
|
else
|
|
|
|
for file in files
|
|
|
|
try
|
|
|
|
execute 'source' fnameescape(file)
|
|
|
|
catch
|
|
|
|
endtry
|
|
|
|
endfor
|
|
|
|
endif' > ~/.vimrc
|
2012-05-29 16:12:10 -04:00
|
|
|
|
|
|
|
echo "Installed the Ultimate Vim configuration successfully! Enjoy :-)"
|