Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49300 - Q mapped to gq in /etc/vim/vimrc
Summary: Q mapped to gq in /etc/vim/vimrc
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-28 10:31 UTC by Erlend Hamberg
Modified: 2004-05-01 07:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.