diff options
author | Teddy Wing | 2020-09-29 01:18:33 +0200 |
---|---|---|
committer | Teddy Wing | 2020-09-29 01:33:54 +0200 |
commit | 145c155e419fdcc73129771d8fbb3c32a77295a8 (patch) | |
tree | 23a118de43ef697ccc2ffd82c057da76215d6cad | |
parent | 47a6ae90ca533f32576c88b21b988d92d33f865c (diff) | |
download | vim-grappele-145c155e419fdcc73129771d8fbb3c32a77295a8.tar.bz2 |
plugin/grappele.vim: Remove `<Plug>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.
-rw-r--r-- | plugin/grappele.vim | 7 |
1 files 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 <silent> <Plug>Grappele grappele#Grappele(v:count, 'n') nnoremap <silent> <expr> <Plug>GrappeleRecall grappele#Recall('n') vnoremap <silent> <expr> <Plug>GrappeleRecall grappele#Recall('v') onoremap <silent> <expr> <Plug>GrappeleRecall grappele#ORecall() -if !hasmapto('<Plug>Grappele') || !maparg('G', 'n') +if !maparg('G', 'n') nnoremap <silent> <expr> G grappele#Grappele(v:count) endif -if !hasmapto('<Plug>Grappele') || !maparg('G', 'v') +if !maparg('G', 'v') vnoremap <silent> <expr> G grappele#Grappele(v:count) endif -if !hasmapto('<Plug>Grappele') || !maparg('G', 'o') +if !maparg('G', 'o') onoremap <silent> <expr> G grappele#Grappele(v:count) endif |