Back out 13285.

This commit is contained in:
Bart Schaefer 2000-12-18 02:14:57 +00:00
parent ef13567352
commit bf23eb259c
3 changed files with 11 additions and 6 deletions

View file

@ -1,3 +1,8 @@
2000-12-17 Bart Schaefer <schaefer@zsh.org>
* Zefram: 13290: Src/Zle/zle_bindings.c, Src/Zle/zle_keymap.c:
Back out 13285.
2000-12-17 Clint Adams <schizo@debian.org>
* 13288: Src/Modules/zftp.c: cast pointers when calling

View file

@ -396,8 +396,8 @@ int vicmdbind[128] = {
/* g */ z_undefinedkey,
/* h */ z_vibackwardchar,
/* i */ z_viinsert,
/* j */ z_vidownlineorhistory,
/* k */ z_viuplineorhistory,
/* j */ z_downlineorhistory,
/* k */ z_uplineorhistory,
/* l */ z_viforwardchar,
/* m */ z_visetmark,
/* n */ z_virepeatsearch,

View file

@ -1067,12 +1067,12 @@ default_bindings(void)
* Both standard and keypad modes are supported. */
/* vi command mode: arrow keys */
bindkey(amap, "\33[A", refthingy(t_viuplineorhistory), NULL);
bindkey(amap, "\33[B", refthingy(t_vidownlineorhistory), NULL);
bindkey(amap, "\33[A", refthingy(t_uplineorhistory), NULL);
bindkey(amap, "\33[B", refthingy(t_downlineorhistory), NULL);
bindkey(amap, "\33[C", refthingy(t_viforwardchar), NULL);
bindkey(amap, "\33[D", refthingy(t_vibackwardchar), NULL);
bindkey(amap, "\33OA", refthingy(t_viuplineorhistory), NULL);
bindkey(amap, "\33OB", refthingy(t_vidownlineorhistory), NULL);
bindkey(amap, "\33OA", refthingy(t_uplineorhistory), NULL);
bindkey(amap, "\33OB", refthingy(t_downlineorhistory), NULL);
bindkey(amap, "\33OC", refthingy(t_viforwardchar), NULL);
bindkey(amap, "\33OD", refthingy(t_vibackwardchar), NULL);