-
Notifications
You must be signed in to change notification settings - Fork 1
/
plugins.vim
62 lines (55 loc) · 1.4 KB
/
plugins.vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
" Modularized configuration for vim
" Randy Morris <randy.morris@archlinux.us>
" Plugins
if v:version < 700
finish
endif
" {{{ Vundle setup
if !isdirectory(expand("~/.vim/bundle/vundle/.git"))
!git clone https://github.com/gmarik/vundle ~/.vim/bundle/vundle
endif
filetype off
set runtimepath+=~/.vim/bundle/vundle/
call vundle#rc()
"}}}
"{{{ Bundles
Bundle "mileszs/ack.vim"
Bundle "rson/vim-bufstat"
Bundle "kien/ctrlp.vim"
Bundle "tpope/vim-endwise"
Bundle "mattn/gist-vim"
Bundle "AndrewRadev/linediff.vim"
Bundle "tpope/vim-markdown"
Bundle "scrooloose/nerdcommenter"
Bundle "bingaman/vim-sparkup"
Bundle "tpope/vim-surround"
Bundle "gmarik/vundle"
"}}}
"{{{ Plugin specific settings
"{{{2 Bufstat settings
highlight BufferNC ctermfg=248 ctermbg=239
highlight link Buffer StatusLine
let g:bufstat_active_hl_group = 'Buffer'
let g:bufstat_inactive_hl_group = 'BufferNC'
let g:bufstat_prevent_mappings = 1
"}}}
"{{{2 Gist settings
let g:gist_private = 1
let g:gist_detect_filetype = 1
"}}}
"{{{2 NERD Commenter settings
let NERDCreateDefaultMappings = 0
let NERDCommentWholeLinesInVMode = 1
let NERDSpaceDelims = 1
map <leader>c <plug>NERDCommenterToggle
"}}}
"}}}
"{{{2 CtrlP settings
let g:ctrlp_map = '-'
let g:ctrlp_use_caching = 1
let g:ctrlp_persistent_input = 0
let g:ctrlp_cache_dir = $HOME . "/.vim/tmp"
let g:ctrlp_working_path_mode = 2
let g:ctrlp_clear_cache_on_exit = 0
"}}}
filetype plugin indent on