mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
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)
This commit is contained in:
@@ -5977,7 +5977,7 @@ insert_special(
|
||||
* Only use mod_mask for special keys, to avoid things like <S-Space>,
|
||||
* unless 'allow_modmask' is TRUE.
|
||||
*/
|
||||
#ifdef MACOS
|
||||
#ifdef MACOS_X
|
||||
/* Command-key never produces a normal key */
|
||||
if (mod_mask & MOD_MASK_CMD)
|
||||
allow_modmask = TRUE;
|
||||
@@ -8756,7 +8756,7 @@ ins_start_select(int c)
|
||||
case K_KPAGEUP:
|
||||
case K_PAGEDOWN:
|
||||
case K_KPAGEDOWN:
|
||||
# ifdef MACOS
|
||||
# ifdef MACOS_X
|
||||
case K_LEFT:
|
||||
case K_RIGHT:
|
||||
case K_UP:
|
||||
|
Reference in New Issue
Block a user