From 1742a8f568df549f4daeda90174b54d0c371501f Mon Sep 17 00:00:00 2001 From: Thomas Larrieu Date: Thu, 27 Oct 2016 21:35:39 +0200 Subject: [PATCH] Replace "normal" command with "normal!" We do not want to use user defined mappings --- autoload/gitgutter.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/gitgutter.vim b/autoload/gitgutter.vim index 1358148..e543159 100644 --- a/autoload/gitgutter.vim +++ b/autoload/gitgutter.vim @@ -212,7 +212,7 @@ function! gitgutter#undo_hunk() abort let wl = winline() silent edit let offset = wl - winline() - execute "normal ".offset."\" + execute "normal! ".offset."\" endif silent! call repeat#set("\GitGutterUndoHunk", -1)