From 1e0064e58b2d03f34a36b0908325e9660362fc57 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Sat, 13 Dec 2014 19:34:11 +0100 Subject: 33956: document key binding changes and remove ^X binding --- Src/Zle/zle_bindings.c | 2 +- Src/Zle/zle_keymap.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'Src/Zle') diff --git a/Src/Zle/zle_bindings.c b/Src/Zle/zle_bindings.c index e3337d032..2ae8c8764 100644 --- a/Src/Zle/zle_bindings.c +++ b/Src/Zle/zle_bindings.c @@ -278,7 +278,7 @@ int viinsbind[32] = { /* ^U */ z_vikillline, /* ^V */ z_viquotedinsert, /* ^W */ z_vibackwardkillword, - /* ^X */ z_selfinsert, + /* ^X */ z_undefinedkey, /* ^Y */ z_selfinsert, /* ^Z */ z_selfinsert, /* ^[ */ z_vicmdmode, diff --git a/Src/Zle/zle_keymap.c b/Src/Zle/zle_keymap.c index afba592a7..be02f3aab 100644 --- a/Src/Zle/zle_keymap.c +++ b/Src/Zle/zle_keymap.c @@ -1373,6 +1373,7 @@ default_bindings(void) bindkey(amap, "gE", refthingy(t_vibackwardblankwordend), NULL); bindkey(amap, "gg", refthingy(t_beginningofbufferorhistory), NULL); bindkey(amap, "g~", refthingy(t_vioperswapcase), NULL); + bindkey(amap, "g~~", NULL, "g~g~"); /* emacs mode: arrow keys */ add_cursor_key(emap, TCUPCURSOR, t_uplineorhistory, 'A'); -- cgit 1.4.1