Changes in keys.c [ce56149:3004c9f]
Legend:
- Unmodified
- Added
- Removed
-
keys.c
rce56149 r3004c9f 50 50 51 51 BIND_CMD("LEFT", "edit:move-left", ""); 52 BIND_CMD("M-[ D", "edit:move-left", "");53 52 BIND_CMD("C-b", "edit:move-left", ""); 54 53 BIND_CMD("RIGHT", "edit:move-right", ""); 55 BIND_CMD("M-[ C", "edit:move-right", "");56 54 BIND_CMD("C-f", "edit:move-right", ""); 57 55 … … 67 65 BIND_CMD("M-DELETE", "edit:delete-prev-word", ""); 68 66 BIND_CMD("M-d", "edit:delete-next-word", ""); 69 BIND_CMD("M-DC", "edit:delete-next-word", "");70 67 BIND_CMD("M-[ 3 ; 3 ~", "edit:delete-next-word", ""); 71 68 72 69 BIND_CMD("C-h", "edit:delete-prev-char", ""); 73 70 BIND_CMD("BACKSPACE", "edit:delete-prev-char", ""); 71 BIND_CMD("DC", "edit:delete-prev-char", ""); 74 72 BIND_CMD("DELETE", "edit:delete-prev-char", ""); 75 BIND_CMD("C-d", "edit:delete-next-char", "");76 BIND_CMD("DC", "edit:delete-next-char", "");77 73 78 74 BIND_CMD("C-k", "edit:delete-to-line-end", ""); … … 83 79 84 80 BIND_CMD("C-l", "( edit:recenter ; redisplay )", ""); 81 82 BIND_CMD("C-d", "edit:delete-next-char", ""); 85 83 86 84 … … 95 93 96 94 BIND_CMD("UP", "editmulti:move-up-line", ""); 97 BIND_CMD("M-[ A", "editmulti:move-up-line", "");98 95 BIND_CMD("C-p", "editmulti:move-up-line", ""); 99 96 BIND_CMD("DOWN", "editmulti:move-down-line", ""); 100 BIND_CMD("M-[ B", "editmulti:move-down-line", "");101 97 BIND_CMD("C-n", "editmulti:move-down-line", ""); 102 98 … … 124 120 125 121 BIND_CMD("UP", "edit:history-prev", ""); 126 BIND_CMD("M-[ A", "edit:history-prev", "");127 122 BIND_CMD("C-p", "edit:history-prev", ""); 128 123 BIND_CMD("M-p", "edit:history-prev", ""); 129 124 130 125 BIND_CMD("DOWN", "edit:history-next", ""); 131 BIND_CMD("M-[ B", "edit:history-next", "");132 126 BIND_CMD("C-n", "edit:history-next", ""); 133 127 BIND_CMD("M-n", "edit:history-next", ""); … … 172 166 BIND_CMD("LF", "popless:scroll-down-line", ""); 173 167 BIND_CMD("DOWN", "popless:scroll-down-line", ""); 174 BIND_CMD("M-[ B", "popless:scroll-down-line", "");175 168 BIND_CMD("C-n", "popless:scroll-down-line", ""); 176 169 177 170 BIND_CMD("UP", "popless:scroll-up-line", ""); 178 BIND_CMD("M-[ A", "popless:scroll-up-line", "");179 171 BIND_CMD("C-h", "popless:scroll-up-line", ""); 180 172 BIND_CMD("C-p", "popless:scroll-up-line", ""); … … 184 176 185 177 BIND_CMD("RIGHT", "popless:scroll-right 10", "scrolls right"); 186 BIND_CMD("M-[ C", "popless:scroll-right 10", "scrolls right");187 178 BIND_CMD("LEFT", "popless:scroll-left 10", "scrolls left"); 188 BIND_CMD("M-[ D", "popless:scroll-left 10", "scrolls left");189 179 190 180 BIND_CMD("HOME", "popless:scroll-to-top", ""); … … 242 232 BIND_CMD("M-[ D", "recv:shiftleft", ""); 243 233 BIND_CMD("RIGHT", "recv:shiftright",""); 244 BIND_CMD("M-[ C", "recv:shift right","");234 BIND_CMD("M-[ C", "recv:shiftleft", ""); 245 235 BIND_CMD("DOWN", "recv:next", ""); 246 236 BIND_CMD("C-n", "recv:next", ""); … … 292 282 BIND_CMD("M-r", "reply -e", "reply to the current message, but allow editing of recipient"); 293 283 BIND_CMD("M-R", "reply -e sender", "reply to sender of the current message, but allow editing of recipient"); 284 285 BIND_CMD("w", "openurl", "open a URL using a webbrowser"); 294 286 295 287 BIND_CMD("W", "start-command webzephyr ", "start a webzephyr command"); … … 310 302 /****************************************************************/ 311 303 312 void owl_keys_recwin_prealways( owl_input j) {304 void owl_keys_recwin_prealways(int j) { 313 305 /* Clear the message line on subsequent key presses */ 314 306 owl_function_makemsg(""); 315 307 } 316 308 317 void owl_keys_editwin_default( owl_input j) {309 void owl_keys_editwin_default(int j) { 318 310 owl_editwin *e; 319 311 if (NULL != (e=owl_global_get_typwin(&g))) { 320 312 owl_editwin_process_char(e, j); 321 313 } 322 314 } 323 315 324 void owl_keys_editwin_postalways( owl_input j) {316 void owl_keys_editwin_postalways(int j) { 325 317 owl_editwin *e; 326 318 if (NULL != (e=owl_global_get_typwin(&g))) { 327 319 owl_editwin_post_process_char(e, j); 328 } 320 } 329 321 owl_global_set_needrefresh(&g); 330 322 } 331 323 332 void owl_keys_popless_postalways( owl_input j) {324 void owl_keys_popless_postalways(int j) { 333 325 owl_viewwin *v = owl_global_get_viewwin(&g); 334 326 owl_popwin *pw = owl_global_get_popwin(&g); … … 339 331 } 340 332 341 void owl_keys_default_invalid( owl_input j) {342 if (j .ch==ERR) return;343 if (j .ch==410) return;333 void owl_keys_default_invalid(int j) { 334 if (j==ERR) return; 335 if (j==410) return; 344 336 owl_keyhandler_invalidkey(owl_global_get_keyhandler(&g)); 345 337 }
Note: See TracChangeset
for help on using the changeset viewer.