Changeset 50f8932 for keys.c


Ignore:
Timestamp:
Jan 10, 2009, 6:17:55 PM (13 years ago)
Author:
Geoffrey Thomas <geofft@mit.edu>
Branches:
master, debian, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
e9708d2
Parents:
db1af5fa
git-author:
Geoffrey Thomas <geofft@mit.edu> (01/10/09 18:16:21)
git-committer:
Geoffrey Thomas <geofft@mit.edu> (01/10/09 18:17:55)
Message:
keys: Map Esc-A/B/C/D like arrow keys everywhere.

M-[ A and M-[ B were mapped the same as UP and DOWN in one place. Extend this
to all places UP, DOWN, LEFT, and RIGHT occur.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • keys.c

    r8e5935d r50f8932  
    5050
    5151  BIND_CMD("LEFT",        "edit:move-left", "");
     52  BIND_CMD("M-[ D",       "edit:move-left", "");
    5253  BIND_CMD("C-b",         "edit:move-left", "");
    5354  BIND_CMD("RIGHT",       "edit:move-right", "");
     55  BIND_CMD("M-[ C",       "edit:move-right", "");
    5456  BIND_CMD("C-f",         "edit:move-right", "");
    5557
     
    9395
    9496  BIND_CMD("UP",      "editmulti:move-up-line", "");
     97  BIND_CMD("M-[ A",   "editmulti:move-up-line", "");
    9598  BIND_CMD("C-p",     "editmulti:move-up-line", "");
    9699  BIND_CMD("DOWN",    "editmulti:move-down-line", "");
     100  BIND_CMD("M-[ B",   "editmulti:move-down-line", "");
    97101  BIND_CMD("C-n",     "editmulti:move-down-line", "");
    98102
     
    120124
    121125  BIND_CMD("UP",          "edit:history-prev", "");
     126  BIND_CMD("M-[ A",       "edit:history-prev", "");
    122127  BIND_CMD("C-p",         "edit:history-prev", "");
    123128  BIND_CMD("M-p",         "edit:history-prev", "");
    124129
    125130  BIND_CMD("DOWN",        "edit:history-next", "");
     131  BIND_CMD("M-[ B",       "edit:history-next", "");
    126132  BIND_CMD("C-n",         "edit:history-next", "");
    127133  BIND_CMD("M-n",         "edit:history-next", "");
     
    166172  BIND_CMD("LF",          "popless:scroll-down-line", "");
    167173  BIND_CMD("DOWN",        "popless:scroll-down-line", "");
     174  BIND_CMD("M-[ B",       "popless:scroll-down-line", "");
    168175  BIND_CMD("C-n",         "popless:scroll-down-line", "");
    169176
    170177  BIND_CMD("UP",          "popless:scroll-up-line", "");
     178  BIND_CMD("M-[ A",       "popless:scroll-up-line", "");
    171179  BIND_CMD("C-h",         "popless:scroll-up-line", "");
    172180  BIND_CMD("C-p",         "popless:scroll-up-line", "");
     
    176184
    177185  BIND_CMD("RIGHT",       "popless:scroll-right 10", "scrolls right");
     186  BIND_CMD("M-[ C",       "popless:scroll-right 10", "scrolls right");
    178187  BIND_CMD("LEFT",        "popless:scroll-left  10", "scrolls left");
     188  BIND_CMD("M-[ D",       "popless:scroll-left  10", "scrolls left");
    179189
    180190  BIND_CMD("HOME",        "popless:scroll-to-top", "");
     
    232242  BIND_CMD("M-[ D",  "recv:shiftleft", "");
    233243  BIND_CMD("RIGHT",  "recv:shiftright","");
    234   BIND_CMD("M-[ C",  "recv:shiftleft", "");
     244  BIND_CMD("M-[ C",  "recv:shiftright","");
    235245  BIND_CMD("DOWN",   "recv:next",      "");
    236246  BIND_CMD("C-n",    "recv:next",      "");
Note: See TracChangeset for help on using the changeset viewer.