mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-27 19:31:46 +00:00
Allow using macOS specific modifier key names in the config file
cmd and option can now be used instead of super and alt respectively.
This commit is contained in:
parent
0c4804db79
commit
fe1b056371
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue