0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

patch 8.0.1108: cannot specify mappings for the terminal window

Problem:    Cannot specify mappings for the terminal window.
Solution:   Add the :tmap command and associated code.  (Jacob Askeland,
            closes #2073)
This commit is contained in:
Bram Moolenaar
2017-09-14 20:37:57 +02:00
parent 38baa3e634
commit 69fbc9e1da
14 changed files with 126 additions and 36 deletions

View File

@@ -716,9 +716,10 @@ extern int (*dyn_libintl_putenv)(const char *envstring);
#define SHOWMATCH (0x700 + INSERT) /* show matching paren */
#define CONFIRM 0x800 /* ":confirm" prompt */
#define SELECTMODE 0x1000 /* Select mode, only for mappings */
#define TERMINAL 0x2000 /* Terminal mode */
#define MAP_ALL_MODES (0x3f | SELECTMODE) /* all mode bits used for
* mapping */
/* all mode bits used for mapping */
#define MAP_ALL_MODES (0x3f | SELECTMODE | TERMINAL)
/* directions */
#define FORWARD 1