summaryrefslogtreecommitdiff
path: root/src/vim.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-05-30 21:52:54 +0200
committerBram Moolenaar <Bram@vim.org>2020-05-30 21:52:54 +0200
commitebe9d34aa07037cff2188a8dd424ee1f59cbb0bf (patch)
tree6e92c722c69a459f6537148ac8579c0fa4f27b85 /src/vim.h
parent363d6148dfc2cc17fb0d286c7a36c305f56f5813 (diff)
downloadvim-git-ebe9d34aa07037cff2188a8dd424ee1f59cbb0bf.tar.gz
patch 8.2.0855: GUI tests fail because the test doesn't use a modifierv8.2.0855
Problem: GUI tests fail because the test doesn't use a modifier. Solution: Add "\{xxx}" to be able to encode a modifier.
Diffstat (limited to 'src/vim.h')
-rw-r--r--src/vim.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/vim.h b/src/vim.h
index 68cf943f9..4fc982ab6 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -2661,4 +2661,11 @@ long elapsed(DWORD start_tick);
#define EVAL_EVALUATE 1 // when missing don't actually evaluate
#define EVAL_CONSTANT 2 // when not a constant return FAIL
+// Flags for find_special_key()
+#define FSK_KEYCODE 0x01 // prefer key code, e.g. K_DEL instead of DEL
+#define FSK_KEEP_X_KEY 0x02 // don't translate xHome to Home key
+#define FSK_IN_STRING 0x04 // TRUE in string, double quote is escaped
+#define FSK_SIMPLIFY 0x08 // simplify <C-H> and <A-x>
+#define FSK_CURLY 0x10 // {C-x} instead of <C-x>
+
#endif // VIM__H