I find TextMate's behavior when unindenting (text shift left or cmd-[) text slightly annoying. Often times the cursor is pretty much at the end of a line when I decide to unindent. If I need to unindent a couple of steps, the cursor jumps down one line when the end of line crosses the cursor position. To prevent this from happening I always have to move to the beginning of the line before unindenting. I'd prefer the cursor to simply stay on the line I'm unindenting (Xcode works this way) no matter which column the cursor is positioned in.
Does anyone know if it is possible to modify/extend/whatever TextMate to behave like Xcode in this respect?
Thanks in advance
On 2 Mar 2009, at 16:37, Eric Sean Conner wrote:
[...] Does anyone know if it is possible to modify/extend/whatever TextMate to behave like Xcode in this respect?
The only workaround would be to record a macro that e.g. does “Select → Line” then “Shift Left” and bind it to ⌘[.
On Mar 2, 2009, at 10:37 AM, Eric Sean Conner wrote:
Often times the cursor is pretty much at the end of a line when I decide to unindent. If I need to unindent a couple of steps, the cursor jumps down one line when the end of line crosses the cursor position.
Interesting, I never noticed that before. If you put the cursor at the end of the line, then unindent, the cursor moves to the next line!
Does anyone know if it is possible to modify/extend/whatever TextMate to behave like Xcode in this respect?
Looks like a bug to me. I would file a report at http://ticket.macromates.com/new
Trevor