mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-22 03:34:10 -05:00
Clean up formatting in the vimrc and vimpagerrc
This commit is contained in:
parent
e5f28b842e
commit
e03d8209e2
2 changed files with 7 additions and 8 deletions
|
@ -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
8
vimrc
|
@ -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')
|
||||||
|
|
Loading…
Reference in a new issue