aboutsummaryrefslogtreecommitdiffstats
path: root/plugin/grappele.vim
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/grappele.vim')
-rw-r--r--plugin/grappele.vim12
1 files changed, 11 insertions, 1 deletions
diff --git a/plugin/grappele.vim b/plugin/grappele.vim
index f02e46c..a0f0aa2 100644
--- a/plugin/grappele.vim
+++ b/plugin/grappele.vim
@@ -5,7 +5,9 @@ let g:loaded_grappele = 1
nnoremap <silent> <Plug>Grappele :<c-u>call grappele#Grappele(v:count)<cr>
-nnoremap <silent> <Plug>GrappeleRecall :<c-u>call grappele#Recall()<cr>
+nnoremap <silent> <Plug>GrappeleRecall :<c-u>call grappele#Recall('n')<cr>
+vnoremap <silent> <Plug>GrappeleRecall :<c-u>call grappele#Recall('v')<cr>
+onoremap <silent> <Plug>GrappeleRecall :<c-u>call grappele#Recall('o')<cr>
if !hasmapto('<Plug>Grappele') || !maparg('G', 'n')
nnoremap <silent> G :<c-u>call grappele#Grappele(v:count)<cr>
@@ -14,3 +16,11 @@ endif
if !hasmapto('<Plug>GrappeleRecall') || !maparg('gG', 'n')
nmap gG <Plug>GrappeleRecall
endif
+
+if !hasmapto('<Plug>GrappeleRecall') || !maparg('gG', 'v')
+ vmap gG <Plug>GrappeleRecall
+endif
+
+if !hasmapto('<Plug>GrappeleRecall') || !maparg('gG', 'o')
+ omap gG <Plug>GrappeleRecall
+endif