2014-07-25 23:51:14 -04:00
|
|
|
"============================================================"
|
|
|
|
" "
|
|
|
|
" Darkcloud Vim Config: vimpagerrc "
|
|
|
|
" "
|
|
|
|
" By: Kevin MacMartin (prurigro@gmail.com) "
|
|
|
|
" Website: https://github.com/prurigro/darkcloud-vimconfig "
|
|
|
|
" "
|
|
|
|
" License: MIT "
|
|
|
|
" "
|
|
|
|
"============================================================"
|
|
|
|
|
|
|
|
"darkcloud vim config folder path: {{{
|
|
|
|
" if you want to use darkcloud-vimconfig as a package without symlinking
|
|
|
|
" the vim folder or placing it @ /etc/darkcloud-vimconfig, create a file
|
|
|
|
" @ ~/.vim/darkcloud-path.vim and in it place the following, except with
|
|
|
|
" the path pointing to the cloned repo:
|
|
|
|
"
|
2018-03-11 23:37:17 -04:00
|
|
|
" let g:darkcloudpath = "/etc/darkcloud-vimconfig"
|
2014-07-25 23:51:14 -04:00
|
|
|
|
|
|
|
if filereadable(glob("~/.vim/darkcloud-path.vim"))
|
|
|
|
source ~/.vim/darkcloud-path.vim
|
|
|
|
else
|
2018-03-11 23:37:17 -04:00
|
|
|
let g:darkcloudpath = "/etc/darkcloud-vimconfig"
|
2014-07-25 23:51:14 -04:00
|
|
|
endif
|
|
|
|
"}}}
|
|
|
|
|
2014-07-28 06:08:10 -04:00
|
|
|
"DARKCLOUD CONFIG AND THEME FILES FOR VIMPAGER: {{{
|
2014-07-25 23:51:14 -04:00
|
|
|
"Add Config Directory: (distro-agnostic system-wide)
|
2018-03-11 23:37:17 -04:00
|
|
|
let &runtimepath = printf('%s,%s/vim,%s/vim/after',&runtimepath,g:darkcloudpath,g:darkcloudpath)
|
2014-07-25 23:51:14 -04:00
|
|
|
|
|
|
|
"Load Colour Scheme:
|
2015-07-25 18:42:18 -04:00
|
|
|
colorscheme default " hack to fix vimrc colorschemes in some versions of vim
|
2014-07-25 23:51:14 -04:00
|
|
|
colorscheme darkcloud
|
|
|
|
|
|
|
|
"Load Settings:
|
|
|
|
runtime config/settings.vim
|
|
|
|
|
|
|
|
"Init Plugin Loader:
|
|
|
|
runtime bundle/vim-pathogen/autoload/pathogen.vim
|
|
|
|
|
|
|
|
"Load Plugins:
|
2014-07-26 00:32:48 -04:00
|
|
|
execute pathogen#infect('bundle.pager/{}')
|
2014-07-25 23:51:14 -04:00
|
|
|
|
2014-07-28 06:08:10 -04:00
|
|
|
"Vimpager Settings:
|
|
|
|
runtime config/vimpager.vim
|
|
|
|
|
2014-07-25 23:51:14 -04:00
|
|
|
"Load After Config:
|
|
|
|
runtime config/after.vim
|
|
|
|
"}}}
|