aboutsummaryrefslogtreecommitdiff
path: root/editor.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2015-09-19 16:11:59 +0200
committerMarc André Tanner <mat@brain-dump.org>2015-10-05 16:29:52 +0200
commit97947adeca4b81a2da0fc5506df46b6e68a86074 (patch)
tree69855d798b698cf93b8cc66846b018ca591fc89b /editor.h
parent5c5fd62add1244586afa77d51e6c30f354138030 (diff)
downloadvis-97947adeca4b81a2da0fc5506df46b6e68a86074.tar.gz
vis-97947adeca4b81a2da0fc5506df46b6e68a86074.tar.xz
vis: add rudimentary support for key aliases
This will eventually be exposed via a :map style command.
Diffstat (limited to 'editor.h')
-rw-r--r--editor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor.h b/editor.h
index 3b555bf..7719f3d 100644
--- a/editor.h
+++ b/editor.h
@@ -33,6 +33,7 @@ typedef struct {
/* returns a pointer to the first not consumed character in keys
* or NULL if not enough input was available to complete the command */
const Arg arg;
+ const char *alias;
} KeyBinding;
typedef struct Mode Mode;