mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-12-22 16:00:24 -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
|
||||
" 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"))
|
||||
source ~/.vim/darkcloud-path.vim
|
||||
else
|
||||
let g:darkcloudpath="/etc/darkcloud-vimconfig"
|
||||
let g:darkcloudpath = "/etc/darkcloud-vimconfig"
|
||||
endif
|
||||
"}}}
|
||||
|
||||
|
||||
"DARKCLOUD CONFIG AND THEME FILES FOR VIMPAGER: {{{
|
||||
"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:
|
||||
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
|
||||
" 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"))
|
||||
source ~/.vim/darkcloud-path.vim
|
||||
else
|
||||
let g:darkcloudpath="/etc/darkcloud-vimconfig"
|
||||
let g:darkcloudpath = "/etc/darkcloud-vimconfig"
|
||||
endif
|
||||
"}}}
|
||||
|
||||
"LOAD DARKCLOUD CONFIG AND THEME FILES: {{{
|
||||
"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:
|
||||
colorscheme default " hack to fix vimrc colorschemes in some versions of vim
|
||||
|
@ -36,7 +36,7 @@
|
|||
runtime config/settings.vim
|
||||
|
||||
"Init Plugin Loader:
|
||||
let pathogen_disabled=[]
|
||||
let pathogen_disabled = []
|
||||
|
||||
if !has('python')
|
||||
call add(pathogen_disabled, 'gundo.vim')
|
||||
|
|
Loading…
Reference in a new issue