dotfiles/vimrc

30 lines
803 B
VimL
Raw Permalink Normal View History

2018-10-18 10:34:55 -04:00
" Disable go/vim version warning
let g:go_version_warning = 0
2018-09-12 16:30:11 -04:00
if file_readable('/home/' . $SUDO_USER . '/.vimrc')
set runtimepath+=/home/$SUDO_USER/.vim_runtime
2018-05-28 03:47:56 -04:00
2018-09-12 16:30:11 -04:00
source /home/$SUDO_USER/.vim_runtime/vimrcs/basic.vim
source /home/$SUDO_USER/.vim_runtime/vimrcs/filetypes.vim
source /home/$SUDO_USER/.vim_runtime/vimrcs/plugins_config.vim
source /home/$SUDO_USER/.vim_runtime/vimrcs/extended.vim
2018-05-28 03:47:56 -04:00
2018-09-12 16:30:11 -04:00
try
source /home/$SUDO_USER/.dotfiles/my_configs.vim
catch
endtry
else
set runtimepath+=~/.vim_runtime
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
try
source ~/.dotfiles/my_configs.vim
catch
endtry
endif