mtm | Ncurses-based terminal multiplexer |
| download: https://git.y1.nz/archives/mtm.tar.gz | |
| Files | Log | Refs |
commit 07bf3844229ad8172fc7bcbf4ff32b4b12440d53 parent e60256e0df42577547d00bd4801fb1f922759242 Author: Rob King <jking@deadpixi.com> Date: Sat, 18 Feb 2017 21:50:31 -0600 Document the config.h process. Diffstat:
| M | README.rst | 3 | +++ |
| D | config.h | 25 | ------------------------- |
2 files changed, 3 insertions(+), 25 deletions(-)
diff --git a/README.rst b/README.rst @@ -39,6 +39,9 @@ Installation and configuration is fairly simple: Other curses implementations might work, but have not been tested. - Edit the variables at the top of the Makefile if you need to (you probably don't). +- If you want to change the default keybindings, copy `config.def.h` + to `config.h` and edit the copy. Otherwise the build process will + use the default. - Run `make`. - Run `make install` if desired. diff --git a/config.h b/config.h @@ -1,25 +0,0 @@ -/* 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.