aboutsummaryrefslogtreecommitdiff
path: root/vis.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-12-20 22:07:50 +0100
committerMarc André Tanner <mat@brain-dump.org>2016-12-20 22:08:42 +0100
commit6aeb589a8acb296b15473811f6633644786c8b61 (patch)
treefb8f956756268e0b7ad067348217094684dca4cf /vis.h
parentb4b2c80752f32c0cbf72727a684dfbb2094179b1 (diff)
downloadvis-6aeb589a8acb296b15473811f6633644786c8b61.tar.gz
vis-6aeb589a8acb296b15473811f6633644786c8b61.tar.xz
vis: improve literal insertion via <C-v> in insert mode
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 74794b6..69bef3b 100644
--- a/vis.h
+++ b/vis.h
@@ -473,6 +473,8 @@ int vis_pipe_collect(Vis *vis, Filerange *range, const char *argv[], char **out,
* following as will be processed by the input system. skips over special keys
* such as <Enter> as well as pseudo keys registered via vis_action_register. */
const char *vis_keys_next(Vis*, const char *keys);
+/* Tries to convert next symbolic key to a raw code point, returns -1 for unknown keys */
+long vis_keys_codepoint(Vis*, const char *keys);
/* vis operates as a finite state machine (FSM), feeding keys from an input
* queue (or a previously recorded macro) to key handling functions (see struct
* KeyAction) which consume the input.