Add macos keybindings

Thanks to @mathewmariani, modifications taken from his lite-macos repository
This commit is contained in:
Francesco Abbate
2021-04-21 09:48:30 +02:00
parent f50728bf18
commit 80192573da
4 changed files with 150 additions and 9 deletions
+14
View File
@@ -0,0 +1,14 @@
local modkeys = {}
modkeys.map = {
["left ctrl"] = "ctrl",
["right ctrl"] = "ctrl",
["left shift"] = "shift",
["right shift"] = "shift",
["left alt"] = "alt",
["right alt"] = "altgr",
}
modkeys.keys = { "ctrl", "alt", "altgr", "shift" }
return modkeys