Clean up formatting in the vimrc and vimpagerrc

This commit is contained in:
Kevin MacMartin 2018-03-11 23:37:17 -04:00
parent e5f28b842e
commit e03d8209e2
2 changed files with 7 additions and 8 deletions

View file

@ -15,19 +15,18 @@
" @ ~/.vim/darkcloud-path.vim and in it place the following, except with " @ ~/.vim/darkcloud-path.vim and in it place the following, except with
" the path pointing to the cloned repo: " the path pointing to the cloned repo:
" "
" let g:darkcloudpath="/etc/darkcloud-vimconfig" " let g:darkcloudpath = "/etc/darkcloud-vimconfig"
if filereadable(glob("~/.vim/darkcloud-path.vim")) if filereadable(glob("~/.vim/darkcloud-path.vim"))
source ~/.vim/darkcloud-path.vim source ~/.vim/darkcloud-path.vim
else else
let g:darkcloudpath="/etc/darkcloud-vimconfig" let g:darkcloudpath = "/etc/darkcloud-vimconfig"
endif endif
"}}} "}}}
"DARKCLOUD CONFIG AND THEME FILES FOR VIMPAGER: {{{ "DARKCLOUD CONFIG AND THEME FILES FOR VIMPAGER: {{{
"Add Config Directory: (distro-agnostic system-wide) "Add Config Directory: (distro-agnostic system-wide)
let &runtimepath=printf('%s,%s/vim,%s/vim/after',&runtimepath,g:darkcloudpath,g:darkcloudpath) let &runtimepath = printf('%s,%s/vim,%s/vim/after',&runtimepath,g:darkcloudpath,g:darkcloudpath)
"Load Colour Scheme: "Load Colour Scheme:
colorscheme default " hack to fix vimrc colorschemes in some versions of vim colorscheme default " hack to fix vimrc colorschemes in some versions of vim

8
vimrc
View file

@ -15,18 +15,18 @@
" @ ~/.vim/darkcloud-path.vim and in it place the following, except with " @ ~/.vim/darkcloud-path.vim and in it place the following, except with
" the path pointing to the cloned repo: " the path pointing to the cloned repo:
" "
" let g:darkcloudpath="/etc/darkcloud-vimconfig" " let g:darkcloudpath = "/etc/darkcloud-vimconfig"
if filereadable(glob("~/.vim/darkcloud-path.vim")) if filereadable(glob("~/.vim/darkcloud-path.vim"))
source ~/.vim/darkcloud-path.vim source ~/.vim/darkcloud-path.vim
else else
let g:darkcloudpath="/etc/darkcloud-vimconfig" let g:darkcloudpath = "/etc/darkcloud-vimconfig"
endif endif
"}}} "}}}
"LOAD DARKCLOUD CONFIG AND THEME FILES: {{{ "LOAD DARKCLOUD CONFIG AND THEME FILES: {{{
"Add Config Directory: (distro-agnostic system-wide) "Add Config Directory: (distro-agnostic system-wide)
let &runtimepath=printf('%s,%s/vim,%s/vim/after',&runtimepath,g:darkcloudpath,g:darkcloudpath) let &runtimepath = printf('%s,%s/vim,%s/vim/after',&runtimepath,g:darkcloudpath,g:darkcloudpath)
"Load Colour Scheme: "Load Colour Scheme:
colorscheme default " hack to fix vimrc colorschemes in some versions of vim colorscheme default " hack to fix vimrc colorschemes in some versions of vim
@ -36,7 +36,7 @@
runtime config/settings.vim runtime config/settings.vim
"Init Plugin Loader: "Init Plugin Loader:
let pathogen_disabled=[] let pathogen_disabled = []
if !has('python') if !has('python')
call add(pathogen_disabled, 'gundo.vim') call add(pathogen_disabled, 'gundo.vim')