diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-09-25 11:38:00 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-09-25 11:53:12 +0200 |
| commit | 98bca99b2aeffb55b8aee765a7a6de13bdac4506 (patch) | |
| tree | baac1176c389563b82135e08a9d90f0391cb7cc4 /vis.h | |
| parent | c3bbd835fca0ba184f191b270d9aebfc2466be82 (diff) | |
| download | vis-98bca99b2aeffb55b8aee765a7a6de13bdac4506.tar.gz vis-98bca99b2aeffb55b8aee765a7a6de13bdac4506.tar.xz | |
vis: disable language map for replacement character of `r` command
The character following the `r` command in normal mode should be
treated as regular input given in insert/replace mode, that is no
tranformation should be applied. Temporarily disable the language
map for this reason.
Close #382
Diffstat (limited to 'vis.h')
| -rw-r--r-- | vis.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -171,6 +171,8 @@ bool vis_action_register(Vis*, const KeyAction*); /* add a key mapping which is applied for all modes except insert/replace * before any key bindings are evaluated */ bool vis_keymap_add(Vis*, const char *key, const char *mapping); +/* disable the keymap for the next key press */ +void vis_keymap_disable(Vis*); enum VisOperator { VIS_OP_DELETE, |
