aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/vim.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/vim.h')
-rw-r--r--src/nvim/vim.h10
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).
*/