From b47479c55fcc9646743df729e8ce37160def5375 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Fri, 17 Jun 2016 02:20:53 -0400 Subject: autoload/grappele.vim: Push to jumplist Turns out that invoking `G` wouldn't push your movement to the jumplist (unlike Vim's real `G`). This was not only confusing, it was also wrong. Just an oversight on my part that I didn't notice until now. --- autoload/grappele.vim | 2 ++ 1 file changed, 2 insertions(+) (limited to 'autoload') diff --git a/autoload/grappele.vim b/autoload/grappele.vim index 8a599b9..c82d0c5 100644 --- a/autoload/grappele.vim +++ b/autoload/grappele.vim @@ -4,6 +4,8 @@ function! grappele#Grappele(line) let l:column_position = 0 let l:column_offset = 0 + normal! m' + if a:line ==# 0 " Go to the end of the buffer $ -- cgit v1.2.3