diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-01-13 10:12:38 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-01-13 21:38:20 +0100 |
| commit | d81c8d760848899dccd6f1a7e47cedb8c3afb0bf (patch) | |
| tree | 3ae0e1b45639968f9b55c1f80cd94f8134544774 /vis.h | |
| parent | 2c0d472e87625000c71626fc965e7d1060f4ac7d (diff) | |
| download | vis-d81c8d760848899dccd6f1a7e47cedb8c3afb0bf.tar.gz vis-d81c8d760848899dccd6f1a7e47cedb8c3afb0bf.tar.xz | |
vis: add infrastructure to support per window key bindings
Diffstat (limited to 'vis.h')
| -rw-r--r-- | vis.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -134,8 +134,10 @@ void vis_mode_switch(Vis*, enum VisMode); /* in the specified mode: map a given key to a binding (binding->key is ignored), * fails if key is already mapped */ bool vis_mode_map(Vis*, enum VisMode, const char *key, const KeyBinding*); +bool vis_window_mode_map(Win*, enum VisMode, const char *key, const KeyBinding*); /* in the specified mode: unmap a given key, fails if the key is not currently mapped */ bool vis_mode_unmap(Vis*, enum VisMode, const char *key); +bool vis_window_mode_unmap(Win*, enum VisMode, const char *key); /* get the current mode's status line indicator */ const char *vis_mode_status(Vis*); /* associates the special pseudo key <keyaction->name> with the given key action. |
