forked from rkd77/elinks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkeybind.conf
34 lines (27 loc) · 963 Bytes
/
keybind.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Example keybinding
# Copy this file to ~/.config/elinks/ and use include "keybind.conf" in
# "elinks.conf" to include it.
# vi-like navigation keys
bind "main" "j" = "move-link-next"
bind "main" "k" = "move-link-prev"
bind "main" "h" = "history-move-back"
bind "main" "l" = "link-follow"
bind "main" "g" = "move-document-start"
bind "main" "G" = "move-document-end"
# Keys close to the above
bind "main" "i" = "scroll-up"
bind "main" "m" = "scroll-down"
bind "main" "o" = "goto-url"
bind "main" "O" = "goto-url-current"
# Netscape-like, just for the hell of it
bind "main" "Alt-o" = "goto-url"
# Emacs-like paging keys
# Ctrl prefixed keys must be capital :-(
bind "main" "Alt-v" = "move-page-up"
bind "main" "Ctrl-V" = "move-page-down"
# Emacs-like editing keys
bind "edit" "Ctrl-B" = "left"
bind "edit" "Ctrl-F" = "right"
# Analogous to goto_line_cmd in my Jed and Emacs setups
bind "main" "Alt-g" = "goto-url"
bind "main" "Alt-G" = "goto-url-current"