Mercurial > vim
comparison src/structs.h @ 14952:405309f9dd13 v8.1.0487
patch 8.1.0487: no menus specifically for the terminal window
commit https://github.com/vim/vim/commit/4c5d815256099b50eca2ec5bf8f9aaa67a890211
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Oct 19 22:36:53 2018 +0200
patch 8.1.0487: no menus specifically for the terminal window
Problem: No menus specifically for the terminal window.
Solution: Add :tlmenu. (Yee Cheng Chin, closes https://github.com/vim/vim/issues/3439) Add a menu test.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 19 Oct 2018 22:45:07 +0200 |
parents | 9c030bc201a6 |
children | 67e3103d6e18 |
comparison
equal
deleted
inserted
replaced
14951:6adb462db592 | 14952:405309f9dd13 |
---|---|
3099 #define MENU_INDEX_VISUAL 1 | 3099 #define MENU_INDEX_VISUAL 1 |
3100 #define MENU_INDEX_SELECT 2 | 3100 #define MENU_INDEX_SELECT 2 |
3101 #define MENU_INDEX_OP_PENDING 3 | 3101 #define MENU_INDEX_OP_PENDING 3 |
3102 #define MENU_INDEX_INSERT 4 | 3102 #define MENU_INDEX_INSERT 4 |
3103 #define MENU_INDEX_CMDLINE 5 | 3103 #define MENU_INDEX_CMDLINE 5 |
3104 #define MENU_INDEX_TIP 6 | 3104 #define MENU_INDEX_TERMINAL 6 |
3105 #define MENU_MODES 7 | 3105 #define MENU_INDEX_TIP 7 |
3106 #define MENU_MODES 8 | |
3106 | 3107 |
3107 /* Menu modes */ | 3108 /* Menu modes */ |
3108 #define MENU_NORMAL_MODE (1 << MENU_INDEX_NORMAL) | 3109 #define MENU_NORMAL_MODE (1 << MENU_INDEX_NORMAL) |
3109 #define MENU_VISUAL_MODE (1 << MENU_INDEX_VISUAL) | 3110 #define MENU_VISUAL_MODE (1 << MENU_INDEX_VISUAL) |
3110 #define MENU_SELECT_MODE (1 << MENU_INDEX_SELECT) | 3111 #define MENU_SELECT_MODE (1 << MENU_INDEX_SELECT) |
3111 #define MENU_OP_PENDING_MODE (1 << MENU_INDEX_OP_PENDING) | 3112 #define MENU_OP_PENDING_MODE (1 << MENU_INDEX_OP_PENDING) |
3112 #define MENU_INSERT_MODE (1 << MENU_INDEX_INSERT) | 3113 #define MENU_INSERT_MODE (1 << MENU_INDEX_INSERT) |
3113 #define MENU_CMDLINE_MODE (1 << MENU_INDEX_CMDLINE) | 3114 #define MENU_CMDLINE_MODE (1 << MENU_INDEX_CMDLINE) |
3115 #define MENU_TERMINAL_MODE (1 << MENU_INDEX_TERMINAL) | |
3114 #define MENU_TIP_MODE (1 << MENU_INDEX_TIP) | 3116 #define MENU_TIP_MODE (1 << MENU_INDEX_TIP) |
3115 #define MENU_ALL_MODES ((1 << MENU_INDEX_TIP) - 1) | 3117 #define MENU_ALL_MODES ((1 << MENU_INDEX_TIP) - 1) |
3116 /*note MENU_INDEX_TIP is not a 'real' mode*/ | 3118 /*note MENU_INDEX_TIP is not a 'real' mode*/ |
3117 | 3119 |
3118 /* Start a menu name with this to not include it on the main menu bar */ | 3120 /* Start a menu name with this to not include it on the main menu bar */ |