6 ms·
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 k
by joelmichael 16y ago
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.
- X-Istence 16y agoCtrl + 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 http://en.wikipedia.org/wiki/Control_key#Examples
- sophacles 16y agoIt 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.
- onedognight 16y agoIt 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.
- pohl 16y agoShould be "ESC k was originally...", right?
- jcdreads 16y agoBy 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 http://dl.dropbox.com/u/5431919/DefaultKeyBinding.dict