forked from tony/vim-config-framework
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcolors.vim
56 lines (39 loc) · 1.67 KB
/
colors.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
"===============================================================================
" Quickhl
"===============================================================================
let g:quickhl_colors = [
\ "gui=bold ctermfg=255 ctermbg=153 guifg=#ffffff guibg=#0a7383",
\ "gui=bold guibg=#a07040 guifg=#ffffff",
\ "gui=bold guibg=#4070a0 guifg=#ffffff",
\ ]
"autocmd VimEnter,Colorscheme * :hi IndentGuidesOdd guibg=red ctermbg=3
"autocmd VimEnter,Colorscheme * :hi IndentGuidesEven guibg=green ctermbg=4
let indent_guides_enable_on_vim_startup = 0
let indent_guides_auto_colors = 0
hi IndentGuidesOdd ctermbg=black
hi IndentGuidesEven ctermbg=darkgrey
" listchar=trail is not as flexible, use the below to highlight trailing
" whitespace. Don't do it for unite windows or readonly files
highlight ExtraWhitespace ctermbg=red guibg=red
match ExtraWhitespace /\s\+$/
augroup MyAutoCmd
autocmd BufWinEnter * if &modifiable && &ft!='unite' | match ExtraWhitespace /\s\+$/ | endif
autocmd InsertEnter * if &modifiable && &ft!='unite' | match ExtraWhitespace /\s\+\%#\@<!$/ | endif
autocmd InsertLeave * if &modifiable && &ft!='unite' | match ExtraWhitespace /\s\+$/ | endif
autocmd BufWinLeave * if &modifiable && &ft!='unite' | call clearmatches() | endif
augroup END
" highlight current line
au WinLeave * set nocursorline nocursorcolumn
au WinEnter * set cursorline cursorcolumn
set cursorline cursorcolumn
filetype plugin indent on
syntax enable
" 256bit terminal
set t_Co=256
" Tell Vim to use dark background
set background=dark
" Colorscheme
colorscheme molokai
" let g:airline_theme = 'solarized'
let g:airline_theme = 'molokai'
let g:indentLine_color_term = 239