aboutsummaryrefslogtreecommitdiff
path: root/macmodkeys.lua
diff options
context:
space:
mode:
authorrxi <rxi@users.noreply.github.com>2020-04-23 20:49:37 +0100
committerrxi <rxi@users.noreply.github.com>2020-04-23 20:49:37 +0100
commit676f04945010aeb2ae71325bf2d1d6f336a5e162 (patch)
tree31b2e18df5e84fbc731840e5f1b28c974eea868a /macmodkeys.lua
parent9049e189d49440939192874d54af15a21eebbafb (diff)
downloadlite-xl-plugins-676f04945010aeb2ae71325bf2d1d6f336a5e162.tar.gz
lite-xl-plugins-676f04945010aeb2ae71325bf2d1d6f336a5e162.zip
Moved all plugins to `plugins` dir
Diffstat (limited to 'macmodkeys.lua')
-rw-r--r--macmodkeys.lua18
1 files changed, 0 insertions, 18 deletions
diff --git a/macmodkeys.lua b/macmodkeys.lua
deleted file mode 100644
index 69028ab..0000000
--- a/macmodkeys.lua
+++ /dev/null
@@ -1,18 +0,0 @@
-local keymap = require "core.keymap"
-
-local on_key_pressed = keymap.on_key_pressed
-local on_key_released = keymap.on_key_released
-
-local function remap_key(k)
- return k:gsub("command", "ctrl")
- :gsub("option", "alt")
-end
-
-function keymap.on_key_pressed(k)
- return on_key_pressed(remap_key(k))
-end
-
-function keymap.on_key_released(k)
- return on_key_released(remap_key(k))
-end
-