When I press ^q in all modes I've tried (C++, Plain Text, Markdown, ...), I first get nothing. Then, on the second press, my selection is obliterated and a space inserted. If I try this with no selection, I consistently observe that the only ^q-related binding seems to be something like: ^q ^q --> insertSpace. (The menu command works, and is labeled, as expected.)
However, there are no references to "q" with any modifier anywhere in any of my keybindings files, so far as I can tell.
I've spent months unable to use ^q for Reformat Paragraph, and always assumed it was a stray keybinding on my aging OS install. I've since gone back and rebuilt my profile from scratch on a new machine, with a totally fresh bundles checkout and I carefully moved a select few keybindings. Unfortunately, I failed to do it slowly enough to notice when ^q ceased functioning.
Has anyone else observed this? Clearly something or someone, somewhere has jacked ^q without my knowledge, but I can't for the life of me figure out who or what.
Many thanks. -jrk
Assuming you mean Bundles > TextMate > Show Keyboard Shortcuts, yes, I forgot to mention that, but I have: only references are the usual overloaded reformat commands (Objective-C and one or two others, none of which apply in the contexts in question, and none of which work when tested in their appropriate modes, either). -jrk
On 6/27/06, Soryu Soryu@serenity.de wrote:
Has anyone else observed this? Clearly something or someone, somewhere has jacked ^q without my knowledge, but I can't for the life of me figure out who or what.
Have you tried Window → Show Keyboard Shortcuts and searching for ⌃Q there?
Soryu.
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
On Jun 27, 2006, at 10:00 AM, Jonathan Ragan-Kelley wrote:
Assuming you mean Bundles > TextMate > Show Keyboard Shortcuts, yes, I forgot to mention that, but I have: only references are the usual overloaded reformat commands (Objective-C and one or two others, none of which apply in the contexts in question, and none of which work when tested in their appropriate modes, either).
Have you checked to make sure the scope selector of these commands has not “accidentally” been changed?
-jrk
Haris
I haven't touched these bundles since reinstalling -- svn status in my bundles directory returns nothing.
I'm actually not entirely convinced this is TextMate-related (though it may be, yet) -- I was mostly hoping someone on this list had run into similar trouble. -jrk
On 6/27/06, Charilaos Skiadas cskiadas@uchicago.edu wrote:
On Jun 27, 2006, at 10:00 AM, Jonathan Ragan-Kelley wrote:
Assuming you mean Bundles > TextMate > Show Keyboard Shortcuts, yes, I forgot to mention that, but I have: only references are the usual overloaded reformat commands (Objective-C and one or two others, none of which apply in the contexts in question, and none of which work when tested in their appropriate modes, either).
Have you checked to make sure the scope selector of these commands has not "accidentally" been changed?
-jrk
Haris
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
As a quick follow-up, it's actually not inserting the `space` character, but a different character that appears as a single space. It shows up as a diamond with "show invisibles" enabled (whereas `space` remains invisible). It actuall turns out to be hex '\x1100', vs. space which is '\x2000'. It's also the same character that is inserted after a single press of ctrl-opt-q (while it requires two sequential presses of ctrl-q).
Interestingly, ctrl-q also seems to be a trigger for some alternate input mode in some apps in which it works. Although this doesn't strictly work in TextMate, in NSTextAreas all manner of keys wind up generating odd characters when they've been primed by a single-press of ^q, e.g. the arrow keys (left, right, up, down) produce \x2f7, \x3f7, \xf7, \x1f7.
Clearly *some* editing mode or something is being triggered on ctrl-q, but I can't for the life of me figure out what or where it is (I certainly haven't found ^q clearly referenced in any of the keybinding dictionaries on my disk).
Still baffled and frustrated.
Thanks. -jrk
On 28/6/2006, at 23:11, Jonathan Ragan-Kelley wrote:
[...] Clearly *some* editing mode or something is being triggered on ctrl-q
Maybe NSQuotedKeystrokeBinding (key binding style string):
This default controls the quote binding. The default is for this to be “^q” (that's Control-Q). This is the binding that allows you to literally enter characters that would otherwise be interpreted as commands. For instance “Control-Q Control-F” would insert a Control-F character into the document instead of performing the command moveForward:.
Google for more info.