mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-25 20:51:26 -05:00
Added vimpagerrc: configures darkcloud-vimconfig for use with vimpager
This commit is contained in:
parent
04e7ab88b6
commit
be10ee87df
1 changed files with 53 additions and 0 deletions
53
vimpagerrc
Normal file
53
vimpagerrc
Normal file
|
@ -0,0 +1,53 @@
|
||||||
|
"============================================================"
|
||||||
|
" "
|
||||||
|
" 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:
|
||||||
|
"
|
||||||
|
" 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"
|
||||||
|
endif
|
||||||
|
"}}}
|
||||||
|
|
||||||
|
"LOAD DARKCLOUD CONFIG AND THEME FILES: (relevant to vimpager) {{{
|
||||||
|
"Add Config Directory: (distro-agnostic system-wide)
|
||||||
|
let &runtimepath=printf('%s,%s/vim,%s/vim/after',&runtimepath,g:darkcloudpath,g:darkcloudpath)
|
||||||
|
|
||||||
|
"Load Colour Scheme:
|
||||||
|
colorscheme darkcloud
|
||||||
|
|
||||||
|
"Load Settings:
|
||||||
|
runtime config/settings.vim
|
||||||
|
|
||||||
|
"Init Plugin Loader:
|
||||||
|
runtime bundle/vim-pathogen/autoload/pathogen.vim
|
||||||
|
|
||||||
|
"Load Plugins:
|
||||||
|
execute pathogen#infect('bundle/vim-polyglot-darkcloud/{}', 'bundle/vim-fixkey/{}')
|
||||||
|
|
||||||
|
"Load Keymappings:
|
||||||
|
runtime config/keyboard.vim
|
||||||
|
|
||||||
|
"Load After Config:
|
||||||
|
runtime config/after.vim
|
||||||
|
|
||||||
|
"Tweak Settings:
|
||||||
|
set nocursorline nocursorcolumn "disable cursor column/line highlighting
|
||||||
|
set nofoldenable "disable the fold column
|
||||||
|
set noru laststatus=0 noshowmode "remove statusline
|
||||||
|
"}}}
|
Loading…
Reference in a new issue