Re:ITerm 2
by bostonvaulter2 on Sunday January 23, 2011 @05:26AM
(#2132188)
You should use ctrl-a instead. Then you don't need to take your hands away fr the main part of the keyboard
[ Parent
| on HN ]
Re:ITerm 2
by GeneralMaximus on Sunday January 23, 2011 @12:49PM
(#2132887)
Also, C-A, C-E, C-K, C-F, C-B, C-P, C-N, C-Y and a few other readline keybindings work in all standard Cocoa text controls.
Yes, this is wonderful. Recently, I've been using emacs as my primary editor and because of muscle memory accidentally used the movement commands in, e.g. composing a new email in Gmail. It worked! C-a (beginning of line), C-e (end of line), C-n (down a line), C-p (up a line) in particular are especially useful. I just used C-p and C-n in composing this comment.
C-k / C-y is weird in Gmail, though. Anyone know why? Try replying to an email, C-k'ing a line, going to the top, and C-y. I can't make heads or tails of the gibberish that ensues!