mirror of
https://github.com/prurigro/darkcloud-vimconfig.git
synced 2024-12-22 08:40:24 -05:00
85c17a68d7
back and opted to simply reverse them all- Lots of colour changes, the update script now removes decommissioned bundles, gentags script can now have additional paths added to it when generating a tags file, README is much improved, fixed a few issues that required remapping some toggles, fixed a bunch of issues with the colourscheme between the terminal and gvim. You can now setup a custom config file to have loaded after the darkcloud-vimconfig ones, and there's a custom location for pathogen modules too, to make things tidier without necessarily needing to use an additional runtimepath. You can also create a file in your home directory to assign filetypes to programs, for use with the file manager. A file can be placed in ~/.vim/ with file associations and prorams to launch them with. The file manager will also open a file with vim by hitting shift+enter, since e isn't all that comfortablly placed. The vimrc can now also point to the darkcloud-vimconfig folder, rather than relying on the vim folder being in a specific location, and the after folder is now configured to work in the project too.
50 lines
1.4 KiB
VimL
50 lines
1.4 KiB
VimL
"========================================"
|
|
" "
|
|
" Darkcloud Vim Config: "
|
|
" vimrc "
|
|
" "
|
|
" Maintainer: Prurigro "
|
|
" License: MIT "
|
|
" "
|
|
"========================================"
|
|
"
|
|
|
|
"USER CONFIG SETTINGS: {{{
|
|
"Darkcloud Vim Folder:
|
|
let s:darkcloudpath="/etc/darkcloud-vimconfig"
|
|
|
|
"Start With Syntax Checking: (1:start toggled on, 0:start toggled off)
|
|
let g:autostartchecker=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,s:darkcloudpath,s: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: {{{
|
|
if filereadable($VIMRUNTIME."/vimrc.user")
|
|
runtime vimrc.user
|
|
endif
|
|
"}}}
|