goyo.vim icon indicating copy to clipboard operation
goyo.vim copied to clipboard

Breaks remembering last line

Open rwxrob opened this issue 9 years ago • 1 comments

Noticed that this code for remembering what line and returning when reopening the file does not work with Goyo enabled:

" Uncomment the following to have Vim jump to the last position when
" reopening a file
if has("autocmd")
  au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif
endif

rwxrob avatar Apr 10 '16 19:04 rwxrob

My issue is probably related to this one where leaving a line and moving back would always place the cursor on the very first column, regardless where the cursor was previously.

toraritte avatar Oct 23 '17 21:10 toraritte