diff options
Diffstat (limited to 'plugin/grappele.vim')
-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 |