From 6c435e56816839ef5c256e9d519016875320aff9 Mon Sep 17 00:00:00 2001 From: Andy Stewart Date: Tue, 14 Jan 2014 15:07:22 +0100 Subject: [PATCH] Fix typo in map for staging hunk. --- plugin/gitgutter.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/gitgutter.vim b/plugin/gitgutter.vim index 3f0f491..dbaf647 100644 --- a/plugin/gitgutter.vim +++ b/plugin/gitgutter.vim @@ -261,8 +261,8 @@ nnoremap GitGutterStageHunk :GitGutterStageHunk nnoremap GitGutterRevertHunk :GitGutterRevertHunk if g:gitgutter_map_keys - if !hasmapto('GitGutterStageHunk') && maparg('ha', 'n') ==# '' - nmap ha GitGutterStageHunk + if !hasmapto('GitGutterStageHunk') && maparg('hs', 'n') ==# '' + nmap hs GitGutterStageHunk endif if !hasmapto('GitGutterRevertHunk') && maparg('hr', 'n') ==# '' nmap hr GitGutterRevertHunk