Change colorscheme and add cursor setting
This commit is contained in:
parent
00c59fa5e1
commit
573190d711
2 changed files with 18 additions and 2 deletions
|
@ -29,8 +29,18 @@ set guioptions-=L
|
||||||
|
|
||||||
" Colorscheme
|
" Colorscheme
|
||||||
set background=dark
|
set background=dark
|
||||||
colorscheme peaksea
|
colorscheme gruvbox
|
||||||
|
|
||||||
|
" if has("autocmd")
|
||||||
|
" au VimEnter,InsertLeave * silent execute '!echo -ne "\e[2 q"' | redraw!
|
||||||
|
" au InsertEnter,InsertChange *
|
||||||
|
" \ if v:insertmode == 'i' |
|
||||||
|
" \ silent execute '!echo -ne "\e[6 q"' | redraw! |
|
||||||
|
" \ elseif v:insertmode == 'r' |
|
||||||
|
" \ silent execute '!echo -ne "\e[4 q"' | redraw! |
|
||||||
|
" \ endif
|
||||||
|
" au VimLeave * silent execute '!echo -ne "\e[ q"' | redraw!
|
||||||
|
" endif
|
||||||
|
|
||||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||||
" => Fast editing and reloading of vimrc configs
|
" => Fast editing and reloading of vimrc configs
|
||||||
|
|
|
@ -175,10 +175,16 @@ let g:ale_lint_on_enter = 0
|
||||||
" => Git gutter (Git diff)
|
" => Git gutter (Git diff)
|
||||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||||
let g:gitgutter_enabled=1
|
let g:gitgutter_enabled=1
|
||||||
set updatetime=100
|
set updatetime=50
|
||||||
highlight! link SignColumn LineNr
|
highlight! link SignColumn LineNr
|
||||||
autocmd ColorScheme * highlight! link SignColumn LineNr
|
autocmd ColorScheme * highlight! link SignColumn LineNr
|
||||||
set signcolumn=yes
|
set signcolumn=yes
|
||||||
|
let g:gitgutter_override_sign_column_highlight=0
|
||||||
|
highlight clear SignColumn
|
||||||
|
highlight GitGutterAdd ctermfg=2
|
||||||
|
highlight GitGutterChange ctermfg=3
|
||||||
|
highlight GitGutterDelete ctermfg=1
|
||||||
|
highlight GitGutterChangeDelete ctermfg=4
|
||||||
nnoremap <silent> <leader>d :GitGutterToggle<cr>
|
nnoremap <silent> <leader>d :GitGutterToggle<cr>
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue