| Summary: | .viminfo not read | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | GeoffLeach <geoffleach.gl> |
| Component: | vim | Assignee: | Karsten Hopp <karsten> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 19 | CC: | geoffleach.gl, karsten |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-09-11 13:47:50 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
GeoffLeach
2013-09-08 23:32:34 UTC
(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. |