darkcloud-vimconfig/vimrc
Kevin a7e95b25ac Tweaked the update script to drop the user variables from vimrc into
vimrc.user when it's created. a new user-based config file can be used
to specify the location of the project folder without altering vimrc, if
it's a symlink and bound to bump into conflicts as changes are made. The
README was updated to reflect a few of the recent changes. The tagbar
now outputs to the lightline statusline if there's anything to report.
A new variable was added to choose whether to always start with the
tagbar enabled if the format is compatible, or use the older behaviour,
where it would only appear when triggered. The default is to enable it 24/7.
2014-04-08 03:39:10 -04:00

66 lines
1.9 KiB
VimL

"========================="
" "
" Darkcloud Vim Config: "
" vimrc "
" "
" Maintainer: Prurigro "
" 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
"}}}
"USER CONFIG SETTINGS: {{{
" If vim/vimrc.user doesn't already exist, run the 'update' script to have
" it created, then toggle these settings there to override these and no
" avoid conflicting with updates.
"Syntax Checking Autostart: (1:start toggled on | 0: start toggled off)
let g:autostartchecker=1
"Vim Starts With The Tagbar Open: (1:start open | 0:start closed)
let g:autostarttagbar=1
"Powerline Font Support: (1:enabled | 0:disabled)
let g:powerlinefonts=1
"GVim Font Selection: (term font set by terminal)
set guifont=Droid\ Sans\ Mono\ 12
"}}}
"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)
"Load Settings:
runtime config/settings.vim
"Load Plugins:
runtime bundle/vim-pathogen/autoload/pathogen.vim
"Load Plugin Configuration:
runtime config/plugins.vim
"Load Keymappings:
runtime config/keyboard.vim
"Load Colour Scheme:
colorscheme darkcloud
"}}}
"LOAD USER CONFIG FILE: {{{
runtime vimrc.user
"}}}