Force quit bindings and initial diff colors
This commit is contained in:
parent
99e4ceb096
commit
d17cf5d17c
|
@ -155,6 +155,9 @@ nnoremap <silent> <leader>v :vsplit<CR>
|
|||
" fast split closing
|
||||
nnoremap <silent> <leader>q <C-w>q
|
||||
|
||||
" fast force quit
|
||||
nnoremap <silent> <leader>Q :qall!<CR>
|
||||
|
||||
" clear search higlight
|
||||
nnoremap <silent> <leader>/ :let @/ = ""<CR>:<BACKSPACE>
|
||||
|
||||
|
|
|
@ -104,6 +104,11 @@ highlight GitGutterChangeDelete ctermbg=black guibg=black
|
|||
|
||||
hi NonText ctermfg=black guifg=black
|
||||
|
||||
hi DiffAdd ctermfg=NONE ctermbg=green
|
||||
hi DiffChange ctermfg=NONE ctermbg=blue
|
||||
hi DiffDelete ctermfg=NONE ctermbg=red
|
||||
hi DiffText ctermfg=NONE ctermbg=yellow
|
||||
|
||||
set hidden " allows buffer switching without saving
|
||||
set shortmess+=Ia " hide vim intro, skip lots of file messages/prompts
|
||||
set history=1000
|
||||
|
|
Reference in a new issue