Bug 1206801

Summary: vim initialization is broken
Product: [Fedora] Fedora Reporter: Michal Jaegermann <michal>
Component: vimAssignee: Karsten Hopp <karsten>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 23CC: ignatenko, karsten, moshima.web
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 7.4.827-1.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-09-23 00:22:41 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:
Embargoed:

Description Michal Jaegermann 2015-03-28 16:45:15 UTC
Description of problem:

Documentation, i.e. 'man vim', explicitely says:

       ~/.vimrc       Your personal Vim initializations.

and does not mention anything else.  Despite of this putting there initialization commands turns out to be completely ineffective.  Tracing with 'vim -V' files which are actually read brings an explanation.  This file is simply ignored.  While /etc/vimrc IS consulted a few time this is not the case with ~/.vimrc.

Version-Release number of selected component (if applicable):
vim-7.4.640-4.fc23

How reproducible:
always

Additional info:
The problem came to light with a "salad bar" syntax highlighting which made for me most of affected files _completely_ unreadable.  Typing 'syntax off' all the time quickly gets really annoying.  Putting these commands in a documented ~/.vimrc did not bring any relief.  Yeah, I found undocumented ~/.vim/after/scripts.vim.  How long this will last?

Comment 1 Michal Jaegermann 2015-03-28 16:54:51 UTC
(In reply to Michal Jaegermann from comment #0)
>  Yeah, I found undocumented
> ~/.vim/after/scripts.vim.  How long this will last?

Actually I am not sure why in the first moment I thought that ~/.vim/after/scripts.vim helps.  It appeared to be working but it does not really.  As for now apparently only direct editing of /etc/vimrc can bring any relief.  Clearly this is far from a desired.

Comment 2 Jan Kurik 2015-07-15 14:20:09 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle.
Changing version to '23'.

(As we did not run this process for some time, it could affect also pre-Fedora 23 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23

Comment 3 Fedora Update System 2015-09-02 11:47:26 UTC
vim-7.4.827-1.fc21 has been submitted as an update to Fedora 21. https://bodhi.fedoraproject.org/updates/FEDORA-2015-14209

Comment 4 Fedora Update System 2015-09-23 00:21:47 UTC
vim-7.4.827-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.