diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2017-01-06 22:10:37 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2017-01-06 22:10:37 +0100 |
| commit | 6d2d23ac62fe41dcac97b21985051cfc87e0362f (patch) | |
| tree | 6225c105737f029c9293dc87d54b0b1cd13379fd /vis.h | |
| parent | 604c866bd0c034340efaea54ebbb86b6dc6e66f4 (diff) | |
| download | vis-6d2d23ac62fe41dcac97b21985051cfc87e0362f.tar.gz vis-6d2d23ac62fe41dcac97b21985051cfc87e0362f.tar.xz | |
vis: simplify mode lookup for :map and :unmap
Diffstat (limited to 'vis.h')
| -rw-r--r-- | vis.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -169,6 +169,7 @@ enum VisMode { void vis_mode_switch(Vis*, enum VisMode); enum VisMode vis_mode_get(Vis*); +enum VisMode vis_mode_from(Vis*, const char *name); /* In the specified mode: map a given key to a binding (binding->key is ignored). * Fails if a prefix of `key' is already mapped and `force' is false. Otherwise * all such prefixes are unmapped. */ |
