I don't know if this is what you're looking for but over at
subtleGradient they have a TextGlyphs bundle. You can check it out
using subversion or you can use the copy I'm attaching. The address
for the subtleGradient SVN repository is:
Hope that helps!
UNC - Chapel Hill
School of Library and Information Science (SILS)
AIM: Zippi Bat
On 11/29/06, Kevin Ballard <kevin(a)sb.org> wrote:
Why do you want to type control codes directly? It's a lot safer to use
Bash even has a string quote form $'string', which supports escapes, and an
escape \cx which stands for the control-x character. This means you can
represent the ^[ character as $'\c['.
On Nov 29, 2006, at 4:17 PM, Jacob Rus wrote:
Rob McBroom wrote:
For shell init scripts and various other purposes, I'd like to be able to
"type" characters like ⌃[ or ⌃G. You know, the kind of thing you would
precede with ⌃V in the Terminal. It seems that Cocoa has a key binding for
this (NSQuotedKeystrokeBinding, which is ⌃Q by default), but it is used for
another purpose in Textmate. Has the functionality been remapped or do I
need to try to define it for Textmate myself? It doesn't seem to be set…
I'm pretty sure TextMate's text control doesn't support that, but you can
rob@kendra ~> defaults read com.macromates.Textmate
2006-11-29 14:47:10.910 defaults
The domain/default pair of (com.macromates.Textmate,
NSQuotedKeystrokeBinding) does not exist
On a related note, I'd like to be able to "see" these characters as well,
perhaps toggle them of and on (with ⌥⌘I ideally). Texmate is better than
most Cocoa apps, as it seems to display a space in place of such characters
instead of nothing at all, but I'd like to know what that space represents.
Has anyone tried enabling [NSTextShowsControlCharacters]
in Textmate? I'm guessing there would be undesired side-effects.
Did you try showing invisibles? I believe these show up as different from
spaces or tabs, but I don't remember exactly what they look like.
In any case, you should be able to copy/paste them into a textmate control
from another window, or make a command to insert them, something that takes
the previous letter ("[" for instance), and turns it into the control
For new threads USE THIS: textmate(a)lists.macromates.com
(threading gets destroyed and the universe will collapse if you don't)