aboutsummaryrefslogtreecommitdiff
path: root/vis.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-09-25 11:38:00 +0200
committerMarc André Tanner <mat@brain-dump.org>2016-09-25 11:53:12 +0200
commit98bca99b2aeffb55b8aee765a7a6de13bdac4506 (patch)
treebaac1176c389563b82135e08a9d90f0391cb7cc4 /vis.h
parentc3bbd835fca0ba184f191b270d9aebfc2466be82 (diff)
downloadvis-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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/vis.h b/vis.h
index a9ffb90..142123a 100644
--- a/vis.h
+++ b/vis.h
@@ -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,