Add macos keybindings
Thanks to @mathewmariani, modifications taken from his lite-macos repository
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
local modkeys = {}
|
||||
|
||||
modkeys.map = {
|
||||
["left command"] = "cmd",
|
||||
["right command"] = "cmd",
|
||||
["left ctrl"] = "ctrl",
|
||||
["right ctrl"] = "ctrl",
|
||||
["left shift"] = "shift",
|
||||
["right shift"] = "shift",
|
||||
["left option"] = "option",
|
||||
["right option"] = "option",
|
||||
["left alt"] = "alt",
|
||||
["right alt"] = "altgr",
|
||||
}
|
||||
|
||||
modkeys.keys = { "cmd", "ctrl", "alt", "option", "altgr", "shift" }
|
||||
|
||||
return modkeys
|
||||
Reference in New Issue
Block a user