From ac0f5b0b93a4f09139767bd48ee85202816eb65e Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Wed, 9 Aug 2017 12:13:45 +0100 Subject: [PATCH] Add GitGutter next/prev hunk mappings --- plugin/mappings.vim | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugin/mappings.vim b/plugin/mappings.vim index b969812..1af5317 100644 --- a/plugin/mappings.vim +++ b/plugin/mappings.vim @@ -2,9 +2,12 @@ nnoremap fi :YcmCompleter FixIt nnoremap gd :YcmCompleter GoTo nnoremap gt :YcmCompleter GetType -nnoremap gp :YcmCompleter GetParent nnoremap sd :YcmShowDetailedDiagnostic +" GitGutter +nnoremap gn :GitGutterNextHunk +nnoremap gp :GitGutterPrevHunk + " Quickfix list nnoremap qo :copen nnoremap qc :cclose