2014-04-09 08:07:12 -04:00
|
|
|
"============================================================"
|
|
|
|
" "
|
|
|
|
" Darkcloud Vim Config: plugin settings "
|
|
|
|
" "
|
2014-06-17 01:49:46 -04:00
|
|
|
" By: Kevin MacMartin (prurigro@gmail.com) "
|
2014-04-09 08:07:12 -04:00
|
|
|
" Website: https://github.com/prurigro/darkcloud-vimconfig "
|
|
|
|
" "
|
|
|
|
" License: MIT "
|
|
|
|
" "
|
|
|
|
"============================================================"
|
2014-02-20 23:24:20 -05:00
|
|
|
|
2014-12-01 00:31:28 -05:00
|
|
|
"use utf-8 encoding to load the script as it contains utf-8 characters
|
|
|
|
scriptencoding utf-8
|
|
|
|
|
2014-07-21 02:36:50 -04:00
|
|
|
"INITIALIZE PLUGINS: {{{
|
2014-08-25 00:43:41 -04:00
|
|
|
"create missing plugin config files and directories
|
2018-03-11 23:36:47 -04:00
|
|
|
if exists('*mkdir') && !isdirectory(glob("~/.vim/tags_by_filetype"))
|
|
|
|
call mkdir(glob("~/.vim/tags_by_filetype"),'p')
|
|
|
|
endif
|
|
|
|
|
|
|
|
if !filereadable(glob("~/.vim/tags"))
|
|
|
|
new|silent e ~/.vim/tags|silent w|q
|
|
|
|
endif
|
|
|
|
|
|
|
|
if !filereadable(glob("~/.vim/filetypes.vim"))
|
|
|
|
new|silent e ~/.vim/filetypes.vim|silent w|q
|
|
|
|
endif
|
2014-07-21 02:36:50 -04:00
|
|
|
|
|
|
|
"load plugins in vim/bundle/ and vim/bundle.user/
|
Tons of changes all in one commit because I'd broken a commit a while
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.
2014-04-04 19:49:02 -04:00
|
|
|
execute pathogen#infect('bundle/{}', 'bundle.user/{}')
|
2014-08-21 02:27:36 -04:00
|
|
|
|
|
|
|
"set the locations for easytags, tagbar and other plugins to look for tag files
|
|
|
|
set tags=./.tags;,~/.vim/tags
|
2014-02-20 23:24:20 -05:00
|
|
|
"}}}
|
|
|
|
|
2018-03-11 19:21:58 -04:00
|
|
|
runtime! config/plugins/*
|