Wednesday, 2. May 2007, 20:46:30
For quite some time I have been using my own
Emacs Keyboard Bindings in Opera. Time to
share (v 0.1).
The basic idea is to have frequently used bindings quickly accessible by one-key bindings in both the browser and the mailer, and reserve simple prefixes for subgroups of actions, more complex prefixes for more rarely used bindings. Models have been
Emacs itself, some text browsers (and
emacs-w3m) and some mail readers (and
Gnus). Not all the functionality could be mapped one-to-one, and not everything I have chosen to map directly.
I follow the Emacs convention for key combinations and sequences, but use
Ctrl and
Alt instead of
C and
M. Keys that are to pressed simultaneously are connected with a dash (
-), and keys following each other are to be pressed in sequence.
BrowsingFor the basic browsing functionality the following bindings are available:
g prompt for a URL
c copy URL of document
u copy URL of selected link
e edit URL of document
E edit URL of selected link
h go to homepage
n go forward
b go back
r reload
a add URL of document to bookmarks
s subscribe to feed
EditingIn editing context I use Emacs bindings (including
Ctrl-w for
cutting, and not for closing the active tab, as the binding in the default configuration does):
Ctrl-w cut
Alt-w copy
Ctrl-k cut to end of line
Ctrl-y paste
Shift-ins paste PRIMARY (mouse selection)
Ctrl-u clear
Ctrl-_ undo
MailThe main bindings in mail view are simple and straight-forward:
Shift-g retrieve new mail
n next mail
p previous mail
k mark mail as read
m compose new mail
r reply to mail
Ctrl-c Ctrl-c send message
And last but not least,
Ctrl-x Ctrl-s save
Ctrl-x Ctrl-c quit Opera
A more complete
list of bindings is also available with
Ctrl-h b.
Note:Due to Opera's handling of bindings, it might be that you need to fix some of the shortcuts: they are commented in the INI file. The commented out version is what the binding is supposed to be, and you might need to adapt this to your keyboard layout. One example:
Ctrl-_ is the binding for
undo, but on a US keyboard layout you'll need the following in your INI file:
- ctrl shift=Undo
Enjoy - and feedback welcome!
Update:Some updates in mail bindings, and other small fixes.
Update 2:Some more minor fixes, and you can now also get it from the
opera keyboard setups section in the community.
Update 3:A few more minor fixes and some more bindings (thanks petteri).
2007-05-22