Hosaka - Sane key bindings for Google Chrome
Hosaka provides a set of Unix-like traditional keybindings for text editing in chrome.
- ^U -> Delete from cursor to start of line.
- ^W -> Delete word before the cursor.
- ^H -> Delete char before the cursor. (Not implemented, not sure if it is worth the trouble.)
- A -> Move cursor to start of line.
- ^E -> Move cursor to end of line.
Extras:
Hosaka disables the mapping of Backspace to the Back Button which is so annoying when triggered by accident during text editing.
Hosaka also maps the Tab key to real tabs in text areas, thanks to Russ Cox for the suggestion!
TODO
- Should work in textareas. (Done)
- Somehow work in the address bar / omni bar (this is not technically possible yet).
- Implement ^H (but not sure if it is worth it…)
- Acme style mouse chording.
- Tab should insert literal tabs (perhaps with a modifier like Shift?), suggested by Russ Cox. See also the FireFox extension ‘Tabinta’. (Done, but there should be a way to either enable or alternatively trigger the previous function of moving to next form element.)
- Alternative shortcuts to close window and display page source.
Source
Get the latest source from Mercurial:
hg clone http://hg.cat-v.org/hosaka/
See also
- http://unix-kb.cat-v.org - A site dedicated to document how to enable Unix style keybindings in other environments.