1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-02 08:57:19 -04:00
elinks/contrib/keybind.conf
2006-05-26 23:48:39 +02:00

35 lines
956 B
Plaintext

# Example keybinding
# Copy this file to ~/.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"