From 3b5fb945b250549e10f2096d1da9c7ba0323fecb Mon Sep 17 00:00:00 2001 From: Sergey Slipchenko Date: Fri, 17 May 2024 09:30:16 +0400 Subject: [PATCH] Restore column when near eof --- plugin/vim-lastplace.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/vim-lastplace.vim b/plugin/vim-lastplace.vim index 23cd1d5..18172b6 100644 --- a/plugin/vim-lastplace.vim +++ b/plugin/vim-lastplace.vim @@ -67,7 +67,7 @@ fu! s:lastplace_jump()"{{{ "otherwise, show as much context as we can by jumping to the end of the file and then to the mark. "if we pressed zz here, there would be blank lines at the bottom of the screen. "we intentionally leave the last line blank by pressing so the user can see that they are near the end of the file. - execute "keepjumps normal! \G'\"\" + execute "keepjumps normal! \G`\"\" endif endif endf"}}}