In my CentOS configuration, when I use vim6.3 to edit a file, then close it, and re-open it, my cursor starts out at the line where I last left off. In my cygwin (on Windows) configuration, when I use vim7.3, I don't get this behavior. The viminfo does exist and does seem to get read (because if I type '0 it will go to my last cursor location - but that is globally and could change the file being edited). I've also looked at the .viminfo file and see it getting updated as expected.
In my .vimrc file, I have this:
Quote:
set viminfo='100,<50,f1,\"500,/100,:100
|
Note that on the CentOS side if I open foo, then I open bar, then I open foo again, my cursor is in the right place for foo, whereas on cygwin if I do this, my cursor would be at the 1st line of foo.. If I were to type '0, it would actually switch to editing bar and put the cursor where I last left off.
Anyhow, this all boils down to asking how I get my cygwin vim to act like my CentOS vim. I've googled a bit and tried a bunch of things to no avail as of yet, and would greatly appreciate any help you could provide.. Thanks!