Re:Textarea, You Are A Sunken Nothing
by joelmichael on Wednesday August 11, 2010 @06:06AM
(#1594314)
If you're using Safari, you can resize the textarea, search within it, scroll the textarea by mousing over it regardless of present field focus, and use emacs key combos like Ctrl-A, E, K, and Y without any additional software.
[ Parent
| on HN ]
By editing your ~/Library/KeyBindings/DefaultKeyBinding.dict file you can set up a gigantic subset of emacs navigation keys (including almost-but-not-quite versions of C-k and C-y) in every Cocoa text widget on your computer, including Safari textareas.
Do a search for DefaultKeyBinding.dict, or just start with mine:
Ctrl + K is emacs? As far as I am aware it is available to every program on Unix through readline. See this wikipedia article: http://en.wikipedia.org/wiki/Control_key#Examples
It was originally an emacs binding. Then readline picked it up as part of its "emacs-style bindings". The name is not only cute, but also descriptive.
Re:Textarea, You Are A Sunken Nothing
by onedognight on Wednesday August 11, 2010 @10:19AM
(#1594738)
It was originally the terminal escape sequence for kill to end of line (ESC k) which is what emacs used to emit when you typed Ctrl-k.