News for hackers. Stuff that matters.
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.
Re:Textarea, You Are A Sunken Nothing by jcdreads on Wednesday August 11, 2010 @08:28AM (#1594472)
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:

http://dl.dropbox.com/u/5431919/DefaultKeyBinding.dict

Re:Textarea, You Are A Sunken Nothing by X-Istence on Wednesday August 11, 2010 @06:23AM (#1594333)
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
Re:Textarea, You Are A Sunken Nothing by sophacles on Wednesday August 11, 2010 @08:55AM (#1594524)
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.
Re:Textarea, You Are A Sunken Nothing by pohl on Wednesday August 11, 2010 @11:47AM (#1595005)
Should be "ESC k was originally...", right?