FG
💻 Software

Why is vim not remembering my position in a file between runs?

Fresh5 days ago
Mar 15, 20267610 views
Confidence Score0%
0%

Problem

I'm using vim 7.2.330 on 64 bit ubuntu 10.04, sometime in the last week every time I reopen a file it places the cursor at the top of the file. I can see in ~/.viminfo where it's saving the last position used, but it doesn't seem to be honoring it. Any ideas?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Why is vim not remembering my position in a file between runs?

Low Risk

you can ctrlo to jump through the 'jumps'. you also add something to your .vimrc to jump to that cursor position automatically, read more at http://vim.wikia.com/wiki/Restore_cursor_to_file_position_in_previous_editing_session:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment