[OS X TeX] iOS apps
scot.mcphee at gmail.com
Tue Sep 4 13:01:46 CEST 2012
On Tuesday, 4 September 2012 at 20:13 , Berend Hasselman wrote:
> On 04-09-2012, at 11:41, Scot Mcphee wrote:
> > .....
> > I do wish the editor had a few more convenience features, for an text editor, i.e. keyboard shortcuts (e.g the sort of thing you get in Emacs, although specifically I've been a vi man and never an emacs guy). Usually when I'm working with text or code I tend to not like to have to use the mouse. On the other hand I'm almost totally accustomed after all these years the keybindings from Eclipe's Java editor. IDE editors tend to have a lot of good commands, I guess the audience always expects that. For example a command to delete the entire line, delete the line from current cursor to line end, or to move a line up or down relative to the other lines, or even to replicate a whole line.
> If an editor uses the Cocoa Text system it will use a ~/Library/KeyBindings/DefaultKeyBinding.dict in which you can define your shortcuts.
> /* delete line */
> "^G" = ( "selectLine:", "delete:" );
> /* delete to beginning of line */
> "^u" = "deleteToBeginningOfLine:";
> /* duplicate current line */
> "^D" = ( "selectLine:", "copy:", "moveToBeginningOfLine:", "paste:" );
> Ctrl-K to "delete to end of line" is standard for the Cocoa textsystem.
Oh thank you I will have to investigate that.
> > But I've never really found a satisfactory text editor on the Mac that does everything I want in that regard (short of vi in a shell!). Probably should look at BBEdit now that Textmate is dead.
> Who says? There is an alpha TextMate 2 that seems to be quite actively developed with a lot of discussion on the TextMate users mailinglist.
Forgive me if I am skeptical. I guess the proof is in the pudding. Also to be honest I was never in love with Textmate the way I loved Visual Age (I am an old-time smalltalker converted to Java) or its successor, the Eclipse Java editor. Or even something like vi which I still use nearly every day for some small editing task. I tolerated Textmate for the sake of a semi-decent graphical text editor that also had a command line component - it was almost the first paid app I bought when I switched to Mac from Linux, as a conceptual replacement for gvim - but I never thought it was the world's best text editor or anything. I guess I kept it hanging around due to the "sunk cost fallacy" and sometimes it was very useful don't get me wrong, just never gave me a vibe of an app that I could love. I really ought to try BBEdit people tend to rave about that.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the macostex-archives