From 6aeb589a8acb296b15473811f6633644786c8b61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Tue, 20 Dec 2016 22:07:50 +0100 Subject: vis: improve literal insertion via in insert mode --- vis.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vis.h') 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 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. -- cgit v1.2.3