From 48b7307e9eeb896f64e9404ff161fa9a416adf5e Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Wed, 23 Oct 2013 16:47:43 +0200 Subject: [PATCH] Fix wrong cursor position in a certain case --- autoload/startify.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/startify.vim b/autoload/startify.vim index 914feba..40f587a 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, 5) + call cursor((s:show_special ? 2 : 0) + s:headoff + 2, 5) silent! doautocmd startify User endfunction