Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 49300

Summary: Q mapped to gq in /etc/vim/vimrc
Product: Gentoo Linux Reporter: Erlend Hamberg <ehamberg>
Component: Current packagesAssignee: Vim Maintainers <vim>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Erlend Hamberg 2004-04-28 10:31:09 UTC
In /etc/vim/vimrc from app-editors/vim-core Q is mapped to gq:

" Don't use Ex mode, use Q for formatting
map Q gq


Reproducible: Always
Steps to Reproduce:
1. Start vim
2. Press Q to switch to Ex mode
3. Cry

Actual Results:  
After a few seconds of confusion i saw "gq" in my status line, since I set
showcmd in my ~/.vimrc (this is not default, using just the vimrc provided by
app-editors/vim-core wouldn't give you a clue).

Expected Results:  
I expected to enter Ex mode, ofcourse. That's what :help Q says it will do :)
Comment 1 Andrew Roberts 2004-04-30 18:41:53 UTC
Users who require the Ex mode functionality will know what to change. For general use the map from Q to gq mimics older behaviour and will maintain familiarity for the majority of users.

Suggest -> invalid.
Comment 2 Ciaran McCreesh 2004-05-01 07:31:11 UTC
Closing this as WONTFIX, as the Q mapping is consistent with what upstream recommends and what everyone else does.