Mercurial > vim
diff src/vim.h @ 12457:dfb8254aa735 v8.0.1108
patch 8.0.1108: cannot specify mappings for the terminal window
commit https://github.com/vim/vim/commit/69fbc9e1dab176f345719436cd89d854df0a2abd
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Sep 14 20:37:57 2017 +0200
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)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 14 Sep 2017 20:45:05 +0200 |
parents | a7eca57d35ee |
children | 68d7bc045dbe |
line wrap: on
line diff
--- a/src/vim.h +++ b/src/vim.h @@ -716,9 +716,10 @@ extern int (*dyn_libintl_putenv)(const c #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