You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These lines load my views, which should allow me to open a file and place the cursor on the same line as the last time I edited the file. When I install this plugin, the autocmd triggers, but my cursor is still placed at the top of the file. I've also tried the restore_view plugin, and I get the same result.
After using git bisect, I found that the bug started in this commit, way back from 2011. It appears to be due to another autocmd being triggered on the SessionLoadPost event.
The text was updated successfully, but these errors were encountered:
evanthegrayt
changed the title
Opening a file jumps to top of file, even after loadview autocmd
Opening a file places cursor at top of file, overriding loadview autocmd
Jan 16, 2023
I have the following lines in my
vimrc
.These lines load my views, which should allow me to open a file and place the cursor on the same line as the last time I edited the file. When I install this plugin, the autocmd triggers, but my cursor is still placed at the top of the file. I've also tried the restore_view plugin, and I get the same result.
After using
git bisect
, I found that the bug started in this commit, way back from 2011. It appears to be due to another autocmd being triggered on theSessionLoadPost
event.The text was updated successfully, but these errors were encountered: