diff options
-rw-r--r-- | modules/cpp/commands.lua | 4 | ||||
-rw-r--r-- | modules/lua/commands.lua | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/modules/cpp/commands.lua b/modules/cpp/commands.lua index db4197c5..2a47407d 100644 --- a/modules/cpp/commands.lua +++ b/modules/cpp/commands.lua @@ -9,7 +9,9 @@ local keys = _G.keys if type(keys) == 'table' then local m_editing = _m.textadept.editing keys.cpp = { - al = { textadept.io.open, _HOME..'/modules/cpp/init.lua' }, + al = { + m = { textadept.io.open, _HOME..'/modules/cpp/init.lua' }, + }, ['s\n'] = { function() buffer:line_end() buffer:add_text(';') diff --git a/modules/lua/commands.lua b/modules/lua/commands.lua index 1b4ff90e..24d0ef8d 100644 --- a/modules/lua/commands.lua +++ b/modules/lua/commands.lua @@ -74,9 +74,9 @@ local keys = _G.keys if type(keys) == 'table' then local m_editing = _m.textadept.editing keys.lua = { - al = { textadept.io.open, _HOME..'/modules/lua/init.lua' }, - ac = { - g = { goto_required } + al = { + m = { textadept.io.open, _HOME..'/modules/lua/init.lua' }, + g = { goto_required }, }, ['s\n'] = { try_to_autocomplete_end }, cg = { run }, |