From 059cffa4d69ecfde1c13268413b92bef1de4f4d1 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 13 Sep 2015 16:28:22 -0400 Subject: Replicate n_G functionality Go to the end of the buffer when typed with no count, otherwise go to the line specified by `v:count`. --- plugin/grappele.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugin') diff --git a/plugin/grappele.vim b/plugin/grappele.vim index a37e945..64d24b5 100644 --- a/plugin/grappele.vim +++ b/plugin/grappele.vim @@ -4,7 +4,7 @@ endif let g:loaded_grappele = 1 -nnoremap Grappele :call grappele#Grappele() +nnoremap Grappele :call grappele#Grappele(v:count) if !hasmapto('Grappele') || !maparg('G', 'n') nmap G Grappele -- cgit v1.2.3