From 6121a5ebaab36c7a067c61b12acaa6e8731ff624 Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Thu, 24 Oct 2013 06:53:15 +0200 Subject: [PATCH] Fix wrong cursor position in a certain case pt2 --- autoload/startify.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/startify.vim b/autoload/startify.vim index 802dc28..88d4e10 100644 --- a/autoload/startify.vim +++ b/autoload/startify.vim @@ -139,7 +139,7 @@ function! startify#insane_in_the_membrane() abort autocmd startify BufReadPost * call s:restore_position() endif - call cursor((s:show_special ? 2 : 0) + s:headoff + 2, 5) + call cursor((s:show_special ? 2 : 0) + s:headoff + s:secoff, 5) silent! doautocmd startify User endfunction