add_accesskey_to_string: Add the Alt modifier to the string, too.
[elinks.git] / contrib / keybind.conf
bloba5270c38313e3aad199ae4501cc42f48d2bc3e53
1 # Example keybinding
3 # Copy this file to ~/.elinks/ and use include "keybind.conf" in
4 # "elinks.conf" to include it.
6 # vi-like navigation keys
7 bind "main" "j" = "move-link-next"
8 bind "main" "k" = "move-link-prev"
9 bind "main" "h" = "history-move-back"
10 bind "main" "l" = "link-follow"
11 bind "main" "g" = "move-document-start"
12 bind "main" "G" = "move-document-end"
14 # Keys close to the above
15 bind "main" "i" = "scroll-up"
16 bind "main" "m" = "scroll-down"
17 bind "main" "o" = "goto-url"
18 bind "main" "O" = "goto-url-current"
20 # Netscape-like, just for the hell of it
21 bind "main" "Alt-o" = "goto-url"
23 # Emacs-like paging keys
24 # Ctrl prefixed keys must be capital :-(
25 bind "main" "Alt-v" = "move-page-up"
26 bind "main" "Ctrl-V" = "move-page-down"
28 # Emacs-like editing keys
29 bind "edit" "Ctrl-B" = "left"
30 bind "edit" "Ctrl-F" = "right"
32 # Analogous to goto_line_cmd in my Jed and Emacs setups
33 bind "main" "Alt-g" = "goto-url"
34 bind "main" "Alt-G" = "goto-url-current"