From fe1b056371c0a4ac2e89d3bddaeb85fd4a61d143 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 3 Jan 2018 08:59:36 +0530 Subject: [PATCH] Allow using macOS specific modifier key names in the config file cmd and option can now be used instead of super and alt respectively. --- kitty/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/config.py b/kitty/config.py index 703a0aaf2..1bcaf5378 100644 --- a/kitty/config.py +++ b/kitty/config.py @@ -51,7 +51,7 @@ def to_bool(x): def parse_mods(parts): def map_mod(m): - return {'CTRL': 'CONTROL', 'CMD': 'CONTROL'}.get(m, m) + return {'CTRL': 'CONTROL', 'CMD': 'SUPER', 'OPTION': 'ALT'}.get(m, m) mods = 0 for m in parts: