mirror of
https://github.com/prurigro/darkcloud-vimconfig.git
synced 2024-12-22 08:40:24 -05:00
1c7b9453de
active/passive also toggles check on open/wq. A new variable was added to prevent autochecking tags, and the README and update script were updated to reflect this. Disabling the linebreaks is now defaulted to off (flip it back on if you like it). The update script is a bit more careful about how it runs when executed from other directories. A bug preventing the g:disablelinebreaks variable from being possible to disable has been squashed, and no default is set when it's not enabled. Added Emmet javascript (rather than just json), and tried to sync up the webformat list between plugins that enable themselves for those.
51 lines
1.7 KiB
VimL
51 lines
1.7 KiB
VimL
"============================================================"
|
|
" "
|
|
" Darkcloud Vim Config: vimrc "
|
|
" "
|
|
" 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: {{{
|
|
"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 Keymappings:
|
|
runtime config/keyboard.vim
|
|
|
|
"Load User Config:
|
|
runtime vimrc.user
|
|
|
|
"Load After Config:
|
|
runtime config/after.vim
|
|
|
|
"Load Plugin Configuration:
|
|
runtime config/plugins.vim
|
|
|
|
"Load Colour Scheme:
|
|
colorscheme darkcloud
|
|
"}}}
|