From d17cf5d17cc32a152d07101e0dc3d2bef0eea8e0 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Mon, 10 Feb 2020 21:24:17 -0600 Subject: [PATCH] Force quit bindings and initial diff colors --- apps/neovim/bindings.vim | 3 +++ apps/neovim/settings.vim | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/apps/neovim/bindings.vim b/apps/neovim/bindings.vim index 038837a..e88f9f6 100644 --- a/apps/neovim/bindings.vim +++ b/apps/neovim/bindings.vim @@ -155,6 +155,9 @@ nnoremap v :vsplit " fast split closing nnoremap q q +" fast force quit +nnoremap Q :qall! + " clear search higlight nnoremap / :let @/ = "": diff --git a/apps/neovim/settings.vim b/apps/neovim/settings.vim index 274084c..9873c24 100644 --- a/apps/neovim/settings.vim +++ b/apps/neovim/settings.vim @@ -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