mirror of
https://github.com/prurigro/darkcloud-vimconfig.git
synced 2024-11-25 07:51:26 -05:00
1c21ca23c9
buttons and the list of plugins. Two extensions that never really got integrated into the config have been removed, so you should readd them to bundle.user if you use them. A lot of the keyboard config has changed, but most of that is just formatting; the additions are the new mouse button mappings, and the return of shift+middleclick to paste from X, which was accidentally removed at some point before. I also switched the default state of the syntax checker to off to avoid having people run into issues and not already know how to enable/disable it.
69 lines
2.4 KiB
VimL
69 lines
2.4 KiB
VimL
"============================================================"
|
|
" "
|
|
" Darkcloud Vim Config: vimrc "
|
|
" "
|
|
" Maintainer: Prurigro (prurigro-at-gmail-dot-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
|
|
"}}}
|
|
|
|
"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.
|
|
|
|
"Filer File Manager On Empty Buffers: (1:empty buffer loads filer | 0:buffer remains empty)
|
|
let g:autostartfiler=1
|
|
|
|
"Syntax Checking Autostart: (1:start toggled on | 0: start toggled off)
|
|
let g:autostartchecker=0
|
|
|
|
"Vim Starts With The Tagbar Open: (1:start open | 0:start closed)
|
|
let g:autostarttagbar=0
|
|
|
|
"Powerline Font Support: (1:enabled | 0:disabled)
|
|
let g:powerlinefonts=0
|
|
|
|
"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 Keymappings:
|
|
runtime config/keyboard.vim
|
|
|
|
"Load User Config:
|
|
runtime vimrc.user
|
|
|
|
"Load Plugin Configuration:
|
|
runtime config/plugins.vim
|
|
|
|
"Load Colour Scheme:
|
|
colorscheme darkcloud
|
|
"}}}
|