summaryrefslogtreecommitdiff
path: root/gvimrc
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2017-05-29 14:52:04 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2017-05-29 14:52:04 +0100
commit97478ba6c81e0500759bcaeaf7cd2744e84a7ba5 (patch)
treebf2d3fea6f1cac4709011d987614cd5defc3ed6f /gvimrc
parentBetter cindent options (diff)
downloadutil-97478ba6c81e0500759bcaeaf7cd2744e84a7ba5.tar.bz2
util-97478ba6c81e0500759bcaeaf7cd2744e84a7ba5.tar.xz
util-97478ba6c81e0500759bcaeaf7cd2744e84a7ba5.zip
GitGutter things
Diffstat (limited to 'gvimrc')
-rw-r--r--gvimrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gvimrc b/gvimrc
index 23eac2c..82fcea1 100644
--- a/gvimrc
+++ b/gvimrc
@@ -50,6 +50,7 @@ map <S-F7> :lprev<CR>
map <F8> :cn<CR>
map <S-F8> :cN<CR>
map <F9> gg=G
+map <C-S-S> :GitGutterStageHunk<CR>
map <C-L> zl
map <C-H> zh
map <F11> :YcmForceCompileAndDiagnostics<CR>
@@ -121,6 +122,7 @@ let g:ycm_enable_diagnostic_highlighting = 1
let g:ycm_echo_current_diagnostic = 1
let g:ycm_open_loclist_on_ycm_diags = 1
let g:syntastic_always_populate_loc_list = 0
+let g:gitgutter_diff_args = '-b'
:highlight ExtraWhitespace ctermbg=red guibg=red
:match ExtraWhitespace /\s\+$\| \+\ze\t|^\t*\zs \+/