Branch: refs/heads/master Author: Frank Lanitz frank@frank.uvena.de Committer: GitHub noreply@github.com Date: Wed, 29 Sep 2021 17:11:26 UTC Commit: d4f704dc88dbb20535c007f11d9aa7174da0b4e7 https://github.com/geany/geany-plugins/commit/d4f704dc88dbb20535c007f11d9aa7...
Log Message: ----------- Merge pull request #1099 from techee/vimode_ignore_cmd_key
vimode: ignore key-presses containing command on macOS
Modified Paths: -------------- vimode/src/keypress.c
Modified: vimode/src/keypress.c 4 lines changed, 2 insertions(+), 2 deletions(-) =================================================================== @@ -25,8 +25,8 @@ KeyPress *kp_from_event_key(GdkEventKey *ev) { KeyPress *kp;
- /* ignore keypresses containing Alt - no Vim command uses it */ - if (ev->state & GDK_MOD1_MASK) + /* ignore keypresses containing Alt and Command on macOS - no Vim command uses them */ + if (ev->state & (GDK_MOD1_MASK | GDK_MOD2_MASK)) return NULL;
switch (ev->keyval)
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
plugins-commits@lists.geany.org