Mercurial > vim
comparison src/keymap.h @ 12716:351cf7c67bbe v8.0.1236
patch 8.0.1236: Mac features are confusing
commit https://github.com/vim/vim/commit/d057301b1f28736f094affa17b190244ad56e8d9
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Oct 28 21:11:06 2017 +0200
patch 8.0.1236: Mac features are confusing
Problem: Mac features are confusing.
Solution: Make feature names more consistent, add "osxdarwin". Rename
feature flags, cleanup Mac code. (Kazunobu Kuriyama, closes #2178)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 28 Oct 2017 21:15:35 +0200 |
parents | 1a6daa73590a |
children | ebb4f6c93598 |
comparison
equal
deleted
inserted
replaced
12715:279ec0abb4ac | 12716:351cf7c67bbe |
---|---|
477 #define MOD_MASK_ALT 0x08 /* aka META */ | 477 #define MOD_MASK_ALT 0x08 /* aka META */ |
478 #define MOD_MASK_META 0x10 /* META when it's different from ALT */ | 478 #define MOD_MASK_META 0x10 /* META when it's different from ALT */ |
479 #define MOD_MASK_2CLICK 0x20 /* use MOD_MASK_MULTI_CLICK */ | 479 #define MOD_MASK_2CLICK 0x20 /* use MOD_MASK_MULTI_CLICK */ |
480 #define MOD_MASK_3CLICK 0x40 /* use MOD_MASK_MULTI_CLICK */ | 480 #define MOD_MASK_3CLICK 0x40 /* use MOD_MASK_MULTI_CLICK */ |
481 #define MOD_MASK_4CLICK 0x60 /* use MOD_MASK_MULTI_CLICK */ | 481 #define MOD_MASK_4CLICK 0x60 /* use MOD_MASK_MULTI_CLICK */ |
482 #ifdef MACOS | 482 #ifdef MACOS_X |
483 # define MOD_MASK_CMD 0x80 | 483 # define MOD_MASK_CMD 0x80 |
484 #endif | 484 #endif |
485 | 485 |
486 #define MOD_MASK_MULTI_CLICK (MOD_MASK_2CLICK|MOD_MASK_3CLICK|MOD_MASK_4CLICK) | 486 #define MOD_MASK_MULTI_CLICK (MOD_MASK_2CLICK|MOD_MASK_3CLICK|MOD_MASK_4CLICK) |
487 | 487 |