diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2015-03-25 22:08:14 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2015-03-25 22:08:14 -0300 |
commit | a6e53a3797a93fe060f807fe2e4c6361854b6c97 (patch) | |
tree | b684785ba9c769491e6ebdac8e21495cf22dbdd3 /src/nvim/vim.h | |
parent | d2d99454e63c0e6649fddd52bbd9a10d27c2e347 (diff) | |
parent | 2aa2513b8e023a0d7bd2071299f0ea59a4d4ce25 (diff) | |
download | rneovim-a6e53a3797a93fe060f807fe2e4c6361854b6c97.tar.gz rneovim-a6e53a3797a93fe060f807fe2e4c6361854b6c97.tar.bz2 rneovim-a6e53a3797a93fe060f807fe2e4c6361854b6c97.zip |
Merge PR #2076 'Builtin terminal emulation'
Diffstat (limited to 'src/nvim/vim.h')
-rw-r--r-- | src/nvim/vim.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/nvim/vim.h b/src/nvim/vim.h index 410c2602c8..12b73843f8 100644 --- a/src/nvim/vim.h +++ b/src/nvim/vim.h @@ -112,9 +112,10 @@ Error: configure did not run properly.Check auto/config.log. #define SHOWMATCH (0x700 + INSERT) /* show matching paren */ #define CONFIRM 0x800 /* ":confirm" prompt */ #define SELECTMODE 0x1000 /* Select mode, only for mappings */ +#define TERM_FOCUS 0x2000 // Terminal focus 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 | TERM_FOCUS) /* directions */ #define FORWARD 1 @@ -321,11 +322,6 @@ enum { #define fnamencmp(x, y, n) vim_fnamencmp((char_u *)(x), (char_u *)(y), \ (size_t)(n)) -#ifndef EINTR -# define read_eintr(fd, buf, count) read((fd), (buf), (count)) -# define write_eintr(fd, buf, count) write((fd), (buf), (count)) -#endif - /* * Enums need a typecast to be used as array index (for Ultrix). */ |