-
Notifications
You must be signed in to change notification settings - Fork 0
/
vim-startify.vim
36 lines (32 loc) · 934 Bytes
/
vim-startify.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
if exists('g:vundle_installing_plugins')
Plugin 'mhinz/vim-startify'
finish
endif
let g:startify_list_order = [
\ [' Last modified'],
\ 'dir',
\ [' Recent'],
\ 'files',
\ ]
let g:startify_skiplist = [
\ 'COMMIT_EDITMSG',
\ $VIMRUNTIME .'/doc',
\ 'bundle/.*/doc',
\ ]
let g:startify_files_number = 10
let g:startify_custom_indices = ['a', 'd', 'f', 'g', 'h']
let g:startify_change_to_dir = 0
hi StartifyBracket ctermfg=240
hi StartifyFooter ctermfg=111
hi StartifyHeader ctermfg=203
hi StartifyPath ctermfg=245
hi StartifySlash ctermfg=240
" Show Startify
autocmd VimEnter *
\ if !argc() |
\ Startify |
\ execute "normal \<c-w>w" |
\ endif
" Keep NERDTree from opening a split when startify is open
autocmd FileType startify setlocal buftype=
let g:startify_recursive_dir = 1