diff options
author | Teddy Wing | 2020-09-29 01:31:17 +0200 |
---|---|---|
committer | Teddy Wing | 2020-09-29 01:34:07 +0200 |
commit | f8bbf6e991d6a5d9768715c0cc915875bc9d9bc9 (patch) | |
tree | bf7bce33805b8e3f07381d517b32470c7eb1b730 /plugin | |
parent | 145c155e419fdcc73129771d8fbb3c32a77295a8 (diff) | |
download | vim-grappele-f8bbf6e991d6a5d9768715c0cc915875bc9d9bc9.tar.bz2 |
grappele#Recall(): Remove special handling for visual mode
Now that this is an `<expr>` mapping, we don't need any special handling
for visual mode as this will be taken care of automatically.
Remove the `mode` argument as it's no longer used.
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/grappele.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/grappele.vim b/plugin/grappele.vim index 5b6a046..fe531af 100644 --- a/plugin/grappele.vim +++ b/plugin/grappele.vim @@ -4,8 +4,8 @@ endif let g:loaded_grappele = 1 -nnoremap <silent> <expr> <Plug>GrappeleRecall grappele#Recall('n') -vnoremap <silent> <expr> <Plug>GrappeleRecall grappele#Recall('v') +nnoremap <silent> <expr> <Plug>GrappeleRecall grappele#Recall() +vnoremap <silent> <expr> <Plug>GrappeleRecall grappele#Recall() onoremap <silent> <expr> <Plug>GrappeleRecall grappele#ORecall() if !maparg('G', 'n') |