[TxMt] Re: Transpose chars and transpose words

Jacob Rus jacobolus at gmail.com
Mon Feb 12 00:18:08 UTC 2007

Juan <juanfc at ...> writes:

> I have been using different approaches to Transpose chars and  
> transpose words in AlphaX for a long time.
> The usual way is really annoying, it swaps the chars around the  
> cursor.  In the Cocoa (emacs-like) version it is also not symmetric:  
> if you do it two times the result is not the original (!)
> Usually you notice you made a mistake after you have written the  
> chars.  It is annoying to need to position yourself between the last  
> two chars to swap them.
> The approach I use (and many Alpha users) is
> transpose the last really chars, though spaces or parenthesis, etc  
> could be in between the cursor and the last two chars!

You should just make a macro for this (it's trivial!), or even a binding that
will work in all cocoa apps, if you want.  A command is overkill.


More information about the textmate mailing list