mirror of
https://github.com/rkd77/elinks.git
synced 2024-10-08 05:04:16 -04:00
182 lines
4.6 KiB
Plaintext
182 lines
4.6 KiB
Plaintext
|
# Template for a elinks.conf file
|
||
|
#
|
||
|
# This file was contributed by David Mediavilla
|
||
|
# <r96x6a79yki40001@sneakemail.com>. Note that it's not up-to-date now, as
|
||
|
# some more keyboard actions were added in ELinks. So, if you don't see your
|
||
|
# faviourite action here, don't panic yet and try to look it up in
|
||
|
# src/config/kbdbind.c.
|
||
|
#
|
||
|
####
|
||
|
#
|
||
|
# Simple HOWTO for keybinding by Peter Wang:
|
||
|
#
|
||
|
# Create a `elinks.conf' file wherever your `elinks.conf' usually goes.
|
||
|
#
|
||
|
# Binding is done with a statement like so:
|
||
|
#
|
||
|
# bind "KEYMAP" "KEYSTROKE" = "ACTION"
|
||
|
#
|
||
|
# where:
|
||
|
#
|
||
|
# - keymap is "main" or "edit"
|
||
|
#
|
||
|
# - keystroke is a case sensitive key, which you can prefix with
|
||
|
# "Ctrl-" or "Alt-"
|
||
|
#
|
||
|
# DME: I read that with Ctrl- the key must be uppercase
|
||
|
#
|
||
|
# - action is one of the things you find in `kbdbind.c' (`parse_act'
|
||
|
# function). You'll need to grep around the source to see what
|
||
|
# each one does, or guess, or ask.
|
||
|
#
|
||
|
####
|
||
|
#
|
||
|
# List of possible actions from Links 0.96 / kbdbind.c
|
||
|
#
|
||
|
# add-bookmark
|
||
|
# auto-complete
|
||
|
# back
|
||
|
# backspace
|
||
|
# bookmark-manager
|
||
|
# copy-clipboard
|
||
|
# cut-clipboard
|
||
|
# delete
|
||
|
# document-info
|
||
|
# down
|
||
|
# download
|
||
|
# end
|
||
|
# enter
|
||
|
# file-menu
|
||
|
# find-next
|
||
|
# find-next-back
|
||
|
# goto-url
|
||
|
# goto-url-current
|
||
|
# goto-url-current-link
|
||
|
# header-info
|
||
|
# home
|
||
|
# kill-to-bol
|
||
|
# kill-to-eol
|
||
|
# left
|
||
|
# menu
|
||
|
# next-frame
|
||
|
# open-new-window
|
||
|
# open-link-in-new-window
|
||
|
# page-down
|
||
|
# page-up
|
||
|
# paste-clipboard
|
||
|
# previous-frame
|
||
|
# quit
|
||
|
# reload
|
||
|
# right
|
||
|
# scroll-down
|
||
|
# scroll-left
|
||
|
# scroll-right
|
||
|
# scroll-up
|
||
|
# search
|
||
|
# search-back
|
||
|
# toggle-display-images
|
||
|
# toggle-display-tables
|
||
|
# toggle-html-plain
|
||
|
# up
|
||
|
# view-image
|
||
|
# zoom-frame
|
||
|
|
||
|
# The available keys are:
|
||
|
# 0-9, A-Z, Enter, Backspace, Tab, Escape, Left, Right, Up, Down,
|
||
|
# Insert, Delete, Home, End, PageUp, PageDown, F1-F12
|
||
|
|
||
|
# Default main keymap from Links 0.96
|
||
|
#
|
||
|
#bind "main" "PageDown" = "page-down"
|
||
|
#bind "main" " " = "page-down"
|
||
|
#
|
||
|
# DME: I understand this as space bar but I don't know how
|
||
|
# to symbolize spacebar in elinks.conf
|
||
|
#
|
||
|
#bind "main" "Ctrl-F" = "page-down"
|
||
|
#bind "main" "PageUp" = "page-up"
|
||
|
#bind "main" "b" = "page-up"
|
||
|
#bind "main" "B" = "page-up"
|
||
|
#bind "main" "Ctrl-B" = "page-up"
|
||
|
#bind "main" "Down" = "down"
|
||
|
#bind "main" "Up" = "up"
|
||
|
#bind "main" "Ctrl-Insert" = "copy-clipboard"
|
||
|
#bind "main" "Ctrl-C" = "copy-clipboard"
|
||
|
#bind "main" "Insert" = "scroll-up"
|
||
|
#bind "main" "Ctrl-P" = "scroll-up"
|
||
|
#bind "main" "Delete" = "scroll-down"
|
||
|
#bind "main" "Ctrl-N" = "scroll-down"
|
||
|
#bind "main" "[" = "scroll-left"
|
||
|
#bind "main" "]" = "scroll-right"
|
||
|
#bind "main" "Home" = "home"
|
||
|
#bind "main" "Ctrl+A" = "home"
|
||
|
#bind "main" "End" = "end"
|
||
|
#bind "main" "Ctrl-E" = "end"
|
||
|
#bind "main" "Right" = "enter"
|
||
|
#bind "main" "Enter" = "enter"
|
||
|
#bind "main" "Left" = "back"
|
||
|
#bind "main" "d" = "download"
|
||
|
#bind "main" "D" = "download"
|
||
|
#bind "main" "/" = "search"
|
||
|
#bind "main" "?" = "search-back"
|
||
|
#bind "main" "n" = "find-next"
|
||
|
#bind "main" "N" = "find-next-back"
|
||
|
#bind "main" "f" = "zoom-frame"
|
||
|
#bind "main" "F" = "zoom-frame"
|
||
|
#bind "main" "Ctrl-R" = "reload"
|
||
|
#bind "main" "g" = "goto-url"
|
||
|
#bind "main" "G" = "goto-url-current"
|
||
|
#bind "main" "a" = "add-bookmark"
|
||
|
#bind "main" "A" = "add-bookmark"
|
||
|
#bind "main" "s" = "bookmark-manager"
|
||
|
#bind "main" "S" = "bookmark-manager"
|
||
|
#bind "main" "q" = "quit"
|
||
|
#bind "main" "Q" = "really-quit"
|
||
|
#bind "main" "=" = "document-info"
|
||
|
#bind "main" "|" = "header-info"
|
||
|
#bind "main" "\" = "toggle-html-plain"
|
||
|
#bind "main" "*" = "toggle-display-images"
|
||
|
#bind "main" "Tab" = "next-frame"
|
||
|
#bind "main" "Esc" = "menu"
|
||
|
#bind "main" "F9" = "menu"
|
||
|
#bind "main" "F10" = "file-menu"
|
||
|
|
||
|
# Default edit keymap from Links 0.96
|
||
|
#
|
||
|
#bind "edit" "Left" = "left"
|
||
|
#bind "edit" "Right" = "right"
|
||
|
#bind "edit" "home" = "home"
|
||
|
#bind "edit" "Ctrl-A" = "home"
|
||
|
#bind "edit" "Up" = "Up"
|
||
|
#bind "edit" "Down" = "down"
|
||
|
#bind "edit" "End" = "end"
|
||
|
#bind "edit" "Ctrl-E" = "end"
|
||
|
#bind "edit" "Ctrl-Insert" = "copy-clipboard"
|
||
|
#bind "edit" "Ctrl-B" = "copy-clipboard"
|
||
|
#bind "edit" "Ctrl-X" = "cut-clipboard"
|
||
|
#bind "edit" "Ctrl-V" = "paste-clipboard"
|
||
|
#bind "edit" "Enter" = "enter"
|
||
|
#bind "edit" "Backspace" = "backspace"
|
||
|
#bind "edit" "Ctrl-H" = "backspace"
|
||
|
#bind "edit" "Delete" = "delete"
|
||
|
#bind "edit" "Ctrl-D" = "delete"
|
||
|
#bind "edit" "Ctrl-U" = "kill-to-bol"
|
||
|
#bind "edit" "Ctrl-K" = "kill-to-eol"
|
||
|
#bind "edit" "Ctrl-W" = "auto-complete"
|
||
|
|
||
|
# Default menu keymap from Links 0.96
|
||
|
#
|
||
|
#bind "menu" "Left" = "left"
|
||
|
#bind "menu" "Right" = "right"
|
||
|
#bind "menu" "Home" = "home"
|
||
|
#bind "menu" "Ctrl-A" = "home"
|
||
|
#bind "menu" "Up" = "up"
|
||
|
#bind "menu" "Down" = "down"
|
||
|
#bind "menu" "End" = "end"
|
||
|
#bind "menu" "Ctrl-E" = "end"
|
||
|
#bind "menu" "Enter" = "enter"
|
||
|
#bind "menu" "PageDown" = "page-down"
|
||
|
#bind "menu" "Ctrl-F" = "page-down"
|
||
|
#bind "menu" "PageUp" = "page-up"
|
||
|
#bind "menu" "Ctrl-B" = "page-up"
|