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