ftp: ftp didn't handle filenames with spaces.
[elinks.git] / contrib / keybind-full.conf
blob50924e6b10d992ae80bdb1529f82c27ba8742274
1 # Template for a elinks.conf file
3 # This file was contributed by David Mediavilla
4 # <r96x6a79yki40001@sneakemail.com>. Note that it's not up-to-date now, as
5 # some more keyboard actions were added in ELinks. So, if you don't see your
6 # faviourite action here, don't panic yet and try to look it up in
7 # src/config/kbdbind.c.
9 ####
11 # Simple HOWTO for keybinding by Peter Wang:
13 # Create a `elinks.conf' file wherever your `elinks.conf' usually goes.
14
15 # Binding is done with a statement like so:
17 #    bind "KEYMAP" "KEYSTROKE" = "ACTION"
19 # where:  
20 #        
21 # - keymap is "main" or "edit"
23 # - keystroke is a case sensitive key, which you can prefix with
24 # "Ctrl-" or "Alt-"
25
26 # DME: I read that with Ctrl- the key must be uppercase
28 # - action is one of the things you find in `kbdbind.c' (`parse_act'
29 # function).  You'll need to grep around the source to see what
30 # each one does, or guess, or ask.
32 ####
34 # List of possible actions from Links 0.96 / kbdbind.c
36 # add-bookmark
37 # auto-complete
38 # back
39 # backspace
40 # bookmark-manager
41 # copy-clipboard
42 # cut-clipboard
43 # delete
44 # document-info
45 # down
46 # download
47 # end
48 # enter
49 # file-menu
50 # find-next
51 # find-next-back
52 # goto-url
53 # goto-url-current
54 # goto-url-current-link
55 # header-info
56 # home
57 # kill-to-bol
58 # kill-to-eol
59 # left
60 # menu
61 # next-frame
62 # open-new-window
63 # open-link-in-new-window
64 # page-down
65 # page-up
66 # paste-clipboard
67 # previous-frame
68 # quit
69 # reload
70 # right
71 # scroll-down
72 # scroll-left
73 # scroll-right
74 # scroll-up
75 # search
76 # search-back
77 # toggle-display-images
78 # toggle-display-tables
79 # toggle-html-plain
80 # up
81 # view-image
82 # zoom-frame
84 # The available keys are:
85 # 0-9, A-Z, Enter, Backspace, Tab, Escape, Left, Right, Up, Down,
86 # Insert, Delete, Home, End, PageUp, PageDown, F1-F12
88 # Default main keymap from Links 0.96
89
90 #bind "main" "PageDown" = "page-down"
91 #bind "main" " "        = "page-down"
92
93 # DME: I understand this as space bar but I don't know how
94 # to symbolize spacebar in elinks.conf
95
96 #bind "main" "Ctrl-F"   = "page-down"
97 #bind "main" "PageUp"   = "page-up"
98 #bind "main" "b"        = "page-up"
99 #bind "main" "B"        = "page-up"
100 #bind "main" "Ctrl-B"   = "page-up"
101 #bind "main" "Down"     = "down"
102 #bind "main" "Up"       = "up"
103 #bind "main" "Ctrl-Insert"      = "copy-clipboard"
104 #bind "main" "Ctrl-C"   = "copy-clipboard"
105 #bind "main" "Insert"   = "scroll-up"
106 #bind "main" "Ctrl-P"   = "scroll-up"
107 #bind "main" "Delete"   = "scroll-down"
108 #bind "main" "Ctrl-N"   = "scroll-down"
109 #bind "main" "["        = "scroll-left"
110 #bind "main" "]"        = "scroll-right"
111 #bind "main" "Home"     = "home"
112 #bind "main" "Ctrl+A"   = "home"
113 #bind "main" "End"      = "end"
114 #bind "main" "Ctrl-E"   = "end"
115 #bind "main" "Right"    = "enter"
116 #bind "main" "Enter"    = "enter"
117 #bind "main" "Left"     = "back"
118 #bind "main" "d"        = "download"
119 #bind "main" "D"        = "download"
120 #bind "main" "/"        = "search"
121 #bind "main" "?"        = "search-back"
122 #bind "main" "n"        = "find-next"
123 #bind "main" "N"        = "find-next-back"
124 #bind "main" "f"        = "zoom-frame"
125 #bind "main" "F"        = "zoom-frame"
126 #bind "main" "Ctrl-R"   = "reload"
127 #bind "main" "g"        = "goto-url"
128 #bind "main" "G"        = "goto-url-current"
129 #bind "main" "a"        = "add-bookmark"
130 #bind "main" "A"        = "add-bookmark"
131 #bind "main" "s"        = "bookmark-manager"
132 #bind "main" "S"        = "bookmark-manager"
133 #bind "main" "q"        = "quit"
134 #bind "main" "Q"        = "really-quit"
135 #bind "main" "="        = "document-info"
136 #bind "main" "|"        = "header-info"
137 #bind "main" "\"        = "toggle-html-plain"
138 #bind "main" "*"        = "toggle-display-images"
139 #bind "main" "Tab"      = "next-frame"
140 #bind "main" "Esc"      = "menu"
141 #bind "main" "F9"       = "menu"
142 #bind "main" "F10"      = "file-menu"
144 # Default edit keymap from Links 0.96
146 #bind "edit" "Left"     = "left"
147 #bind "edit" "Right"    = "right"
148 #bind "edit" "home"     = "home"
149 #bind "edit" "Ctrl-A"   = "home"
150 #bind "edit" "Up"       = "Up"
151 #bind "edit" "Down"     = "down"
152 #bind "edit" "End"      = "end"
153 #bind "edit" "Ctrl-E"   = "end"
154 #bind "edit" "Ctrl-Insert"      = "copy-clipboard"
155 #bind "edit" "Ctrl-B"   = "copy-clipboard"
156 #bind "edit" "Ctrl-X"   = "cut-clipboard"
157 #bind "edit" "Ctrl-V"   = "paste-clipboard"
158 #bind "edit" "Enter"    = "enter"
159 #bind "edit" "Backspace"        = "backspace"
160 #bind "edit" "Ctrl-H"   = "backspace"
161 #bind "edit" "Delete"   = "delete"
162 #bind "edit" "Ctrl-D"   = "delete"
163 #bind "edit" "Ctrl-U"   = "kill-to-bol"
164 #bind "edit" "Ctrl-K"   = "kill-to-eol"
165 #bind "edit" "Ctrl-W"   = "auto-complete"
167 # Default menu keymap from Links 0.96
169 #bind "menu" "Left"     = "left"
170 #bind "menu" "Right"    = "right"
171 #bind "menu" "Home"     = "home"
172 #bind "menu" "Ctrl-A"   = "home"
173 #bind "menu" "Up"       = "up"
174 #bind "menu" "Down"     = "down"
175 #bind "menu" "End"      = "end"
176 #bind "menu" "Ctrl-E"   = "end"
177 #bind "menu" "Enter"    = "enter"
178 #bind "menu" "PageDown" = "page-down"
179 #bind "menu" "Ctrl-F"   = "page-down"
180 #bind "menu" "PageUp"   = "page-up"
181 #bind "menu" "Ctrl-B"   = "page-up"