aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/key_commands.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2007-08-09 14:26:34 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2007-08-09 14:26:34 -0400
commit5da76d004a633de15830ca3ca1e694a91110cc73 (patch)
tree6a36d0f4b886ab4870807aa11b33801f34a19ec9 /modules/textadept/key_commands.lua
parent91407194760539859d5f3a88d142c4f893c111d3 (diff)
downloadtextadept-5da76d004a633de15830ca3ca1e694a91110cc73.tar.gz
textadept-5da76d004a633de15830ca3ca1e694a91110cc73.zip
Renamed modules global to _m.
Diffstat (limited to 'modules/textadept/key_commands.lua')
-rw-r--r--modules/textadept/key_commands.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/textadept/key_commands.lua b/modules/textadept/key_commands.lua
index 82672e78..55f038e4 100644
--- a/modules/textadept/key_commands.lua
+++ b/modules/textadept/key_commands.lua
@@ -2,7 +2,7 @@
---
-- Defines the key commands used by the Textadept key command manager.
-module('modules.textadept.key_commands', package.seeall)
+module('_m.textadept.key_commands', package.seeall)
--[[
C: G Q
@@ -63,13 +63,13 @@ keys.csae = { 'line_end_rect_extend', b }
keys.csav = { 'page_down_rect_extend', b }
keys.csay = { 'page_up_rect_extend', b }
-local m_snippets = modules.textadept.snippets
+local m_snippets = _m.textadept.snippets
keys.ci = { m_snippets.insert }
keys.csi = { m_snippets.cancel_current }
keys.cai = { m_snippets.list }
keys.ai = { m_snippets.show_scope }
-local m_editing = modules.textadept.editing
+local m_editing = _m.textadept.editing
keys.cm = { m_editing.match_brace }
keys.csm = { m_editing.match_brace, 'select' }
keys['c '] = { m_editing.autocomplete_word, '%w_' }
@@ -116,7 +116,7 @@ keys.as = { -- select in...
g = { m_editing.grow_selection, 1 },
}
-local m_mlines = modules.textadept.mlines
+local m_mlines = _m.textadept.mlines
keys.am = {
a = { m_mlines.add },
sa = { m_mlines.add_multiple },