mtm | Ncurses-based terminal multiplexer |
| download: https://git.y1.nz/archives/mtm.tar.gz | |
| Files | Log | Refs |
commit e60256e0df42577547d00bd4801fb1f922759242 parent a52066ff6e3b22f8b6472c78dfcc5fe09a4d587a Author: Rob King <jking@deadpixi.com> Date: Sat, 18 Feb 2017 21:49:23 -0600 Provide a default config.h. Diffstat:
| A | config.def.h | 25 | +++++++++++++++++++++++++ |
1 file changed, 25 insertions(+), 0 deletions(-)
diff --git a/config.def.h b/config.def.h @@ -0,0 +1,25 @@ +/* The following definitions change the keys used to send commands + * to mtm. In all cases, the value must be something that ncurses's + * getch(3) function could return. + */ + +/* The default command prefix key, when modified by cntrl. + * This can be changed at runtime using the '-c' flag. + */ +#define COMMAND_KEY 'g' + +/* The change focus keys. */ +#define MOVE_UP KEY_UP +#define MOVE_DOWN KEY_DOWN +#define MOVE_RIGHT KEY_RIGHT +#define MOVE_LEFT KEY_LEFT + +/* The split terminal keys. */ +#define SPLIT_HORIZONTAL 'h' +#define SPLIT_VERTICAL 'v' + +/* The delete terminal key. */ +#define DELETE_NODE 'w' + +/* The force redraw key. */ +#define REDRAW 'l'
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.