forked from posquit0/vimrc
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplugins.appearance.vim
70 lines (68 loc) · 2.71 KB
/
plugins.appearance.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
63
64
65
66
67
68
69
70
" plugins.appearance.vim
"" Plugin: Airline {{{
if !exists("g:gui_oni")
" Use statusline more effective
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
if exists('$DISPLAY')
" Automatic population of the g:airline_symbols dictionary with
" powerline symbols
let g:airline_powerline_fonts=1
endif
" Specify theme for airline
let g:airline_theme='tomorrow'
" Show warning and error counts from neomake in vim-airline
let g:airline#extensions#neomake#enabled=1
" Show warning and error counts from ALE in vim-airline
let g:airline#extensions#ale#enabled=1
let g:airline#extensions#tabline#enabled=1
let g:airline#extensions#tabline#left_sep=''
let g:airline#extensions#tabline#left_alt_sep='|'
" Enable displaying tabs, regardless of number
let g:airline#extensions#tabline#show_tabs=1
" Disable displaying buffers with a single tab
let g:airline#extensions#tabline#show_buffers=0
let g:airline#extensions#tabline#formatter='default'
" Customize a left side of airline
let g:airline_section_b='%{airline#util#wrap(airline#extensions#hunks#get_hunks(),0)}%{airline#util#wrap(airline#extensions#branch#get_head(),0)}'
" Customize a right side of airline
let g:airline_section_y='[%{&fileformat}/%{strlen(&fenc)?&fenc:&enc}]'
" Use airline's showmode
set noshowmode
endif
"" }}}
"" Plugin: Vim Startify {{{
" A fancy start screen for Vim
Plug 'mhinz/vim-startify'
" A list of files to bookmark
let g:startify_bookmarks=[
\ '~/coding/',
\ '~/.vim/vimrc',
\ '~/.vim/plugins.vim',
\]
" A list of Vim regular expressions that filters recently used files
let g:startify_skiplist=[
\ 'COMMIT_EDITMSG',
\ $VIMRUNTIME .'/doc',
\ 'plugged/.*/doc',
\ 'bundle/.*/doc',
\]
" A custom header provided as a string
let g:startify_custom_header=[
\ ' -@',
\ ' .##@',
\ ' .####@',
\ ' .@#####@',
\ ' .#*######@ __',
\ ' .##@o@#####@ _____ __ __ /\_\ ___ ___',
\ ' /############@ /\ __`\ /\ \/\ \\/\ \ /| __` __`\',
\ ' /##############@ \ \ \/\ \ \ \_/ |\ \ \ /\ \/\ \/\ \',
\ ' @######@**%######@ \ \_\ \_\ \___/ \ \_\ \_\ \_\ \_\',
\ ' @######` %#####o \/_/\/_/ \/__/ \/_/ \/_/\/_/\/_/',
\ ' @######@ ######%',
\ ' -@#######h ######@.`',
\ ' /#####h**`` `**%@####@',
\ ' @H@*` `*%#@',
\ ' *` `*',
\]
"" }}}