Support binding 27-31.

pull/1/head
Nicholas Marriott 2008-06-04 20:01:36 +00:00
parent 7842d29673
commit 879400e1f2
2 changed files with 9 additions and 2 deletions

View File

@ -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 $

View File

@ -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])