diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-06-04 20:01:36 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-06-04 20:01:36 +0000 |
commit | 879400e1f2d2d31c7ad733a6f43c424f89826209 (patch) | |
tree | 9f0a5bd20e47fc2f72f868b5d6de3a35f54af04b | |
parent | 7842d2967383f119dbbcc3967caebee5407e939b (diff) |
Support binding 27-31.
-rw-r--r-- | CHANGES | 4 | ||||
-rw-r--r-- | key-string.c | 7 |
2 files changed, 9 insertions, 2 deletions
@@ -1,5 +1,7 @@ 04 June 2008 +* Add some vi(1) key bindings in copy mode, and support binding ^[, ^\, ^] + ^^ and ^_. Both from/prompted by Will Maier. * setw monitor-activity and set status without arguments now toggle the current value; suggested by merdely. * New command set-window-option (alias setw) to set the single current window @@ -401,4 +403,4 @@ (including mutt, emacs). No status bar yet and no key remapping or other customisation. -$Id: CHANGES,v 1.108 2008-06-04 18:34:56 nicm Exp $ +$Id: CHANGES,v 1.109 2008-06-04 20:01:35 nicm Exp $ diff --git a/key-string.c b/key-string.c index 73952512..e2d03a2f 100644 --- a/key-string.c +++ b/key-string.c @@ -1,4 +1,4 @@ -/* $Id: key-string.c,v 1.4 2007-11-09 17:09:34 nicm Exp $ */ +/* $Id: key-string.c,v 1.5 2008-06-04 20:01:36 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -201,6 +201,11 @@ struct { { "^X", 24 }, { "^Y", 25 }, { "^Z", 26 }, + { "^[", 27 }, + { "^\\", 28 }, + { "^]", 29 }, + { "^^", 30 }, + { "^_", 31 } }; #define NKEYSTRINGS (sizeof key_string_table / sizeof key_string_table[0]) |