1
0
Fork 0
mirror of synced 2024-09-19 12:42:55 -04:00
ultimate-vim/install_awesome_vimrc.sh

33 lines
752 B
Bash
Raw Normal View History

#!/bin/sh
set -e
cd ~/.vim_runtime
echo '" DO NOT EDIT THIS FILE
2024-05-17 09:45:07 -04:00
" Add your own customizations in ~/.vim_runtime/my_configs.vim
" See ~/.vim_runtime/README.md "How to include your own stuff" for further options.
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
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 :-)"