diff options
author | Teddy Wing | 2016-06-17 02:20:53 -0400 |
---|---|---|
committer | Teddy Wing | 2016-06-17 02:20:53 -0400 |
commit | b47479c55fcc9646743df729e8ce37160def5375 (patch) | |
tree | c8ee1541297e720e11b783a7fad595ea3bfbb8b0 | |
parent | 4ebe601a046b80dc1b1b76bf6fad370731855b23 (diff) | |
download | vim-grappele-b47479c55fcc9646743df729e8ce37160def5375.tar.bz2 |
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.
-rw-r--r-- | autoload/grappele.vim | 2 |
1 files changed, 2 insertions, 0 deletions
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 $ |