aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/events.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/events.lua b/core/events.lua
index 9650dd4c..3abe257e 100644
--- a/core/events.lua
+++ b/core/events.lua
@@ -232,8 +232,10 @@ connect('view_new',
local c = _SCINTILLA.constants
-- allow redefinitions of these Scintilla key commands
- local ctrl_keys = { 'Z', 'Y', 'X', 'C', 'V', 'A', 'D' }
- local ctrl_shift_keys = { '[', ']', '/', '\\', 'L', 'T', 'U' }
+ local ctrl_keys = {
+ '[', ']', '/', '\\', 'Z', 'Y', 'X', 'C', 'V', 'A', 'L', 'T', 'D', 'U'
+ }
+ local ctrl_shift_keys = { 'L', 'T', 'U' }
for _, key in ipairs(ctrl_keys) do
buffer:clear_cmd_key(string.byte(key), c.SCMOD_CTRL)
end