Hide Forgot
Description of problem: the command 'set viminfo=...' in ~/.vimrc not read Version-Release number of selected component (if applicable): 1.4 4.fc19 How reproducible:always Steps to Reproduce: 1.add set viminfo=... to ~/.vimrc 2.add a mark 3.save and re-edit. Actual results: '<mark> not effective Expected results: goto <mark> Additional info: works in gvim
(In reply to GeoffLeach from comment #0) > Description of problem: the command 'set viminfo=...' in ~/.vimrc not read > > > Version-Release number of selected component (if applicable): > 1.4 4.fc19 > > How reproducible:always > > > Steps to Reproduce: > 1.add set viminfo=... to ~/.vimrc > 2.add a mark > 3.save and re-edit. > > Actual results: > '<mark> not effective > > Expected results: > goto <mark> > > Additional info: > works in gvim vim-enhanced 7.4.0 2.fc19 -- sorry 'bout that
Are you really using viminfo=... or is ... a placeholder ? You should have gotten an error as a '.' isn't allowed here. Are you sure you're using vim and not vi ? I'd guess that you're doing this as root and run 'vi ~/.vimrc' which gets you '/bin/vi ~/.vimrc'. As a normal user this would run '/usr/bin/vim ~/.vimrc' instead. Try running 'vim ~/.vimrc', that'll work (well, you'll get the error message about '.' not being allowed for the viminfo setting)
Sorry, my bad. FWIW, here's the exact text from ~/.vimrc set viminfo='1000,f1,/100,%,n~/.viminfo Yes, I was running 'vi' and not 'vim'. Running 'vim' it works as advertised. Sorry for the confusion.