From 145c155e419fdcc73129771d8fbb3c32a77295a8 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Tue, 29 Sep 2020 01:18:33 +0200 Subject: plugin/grappele.vim: Remove `Grappele` mapping Since the plugin doesn't use this mapping any more due to the performance delay, let's remove it. Tells people that it shouldn't be used. --- plugin/grappele.vim | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/plugin/grappele.vim b/plugin/grappele.vim index 97b81e7..5b6a046 100644 --- a/plugin/grappele.vim +++ b/plugin/grappele.vim @@ -4,20 +4,19 @@ endif let g:loaded_grappele = 1 -nnoremap Grappele grappele#Grappele(v:count, 'n') nnoremap GrappeleRecall grappele#Recall('n') vnoremap GrappeleRecall grappele#Recall('v') onoremap GrappeleRecall grappele#ORecall() -if !hasmapto('Grappele') || !maparg('G', 'n') +if !maparg('G', 'n') nnoremap G grappele#Grappele(v:count) endif -if !hasmapto('Grappele') || !maparg('G', 'v') +if !maparg('G', 'v') vnoremap G grappele#Grappele(v:count) endif -if !hasmapto('Grappele') || !maparg('G', 'o') +if !maparg('G', 'o') onoremap G grappele#Grappele(v:count) endif -- cgit v1.2.3