aboutsummaryrefslogtreecommitdiff
path: root/core/ext/key_commands.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2009-01-14 09:21:50 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2009-01-14 09:21:50 -0500
commitd51cbf71f7c2982b4e8ef9b3066bbf22c42f3b81 (patch)
tree94b194bb3cc9133fa90be8712ac011ae62834b51 /core/ext/key_commands.lua
parent25632fd3a4ed2219a7c8350dfc0b9807292445be (diff)
downloadtextadept-d51cbf71f7c2982b4e8ef9b3066bbf22c42f3b81.tar.gz
textadept-d51cbf71f7c2982b4e8ef9b3066bbf22c42f3b81.zip
Added key commands, menu items, and locale strings for running/compiling files.
Diffstat (limited to 'core/ext/key_commands.lua')
-rw-r--r--core/ext/key_commands.lua9
1 files changed, 7 insertions, 2 deletions
diff --git a/core/ext/key_commands.lua b/core/ext/key_commands.lua
index 25c7c239..21c6ec02 100644
--- a/core/ext/key_commands.lua
+++ b/core/ext/key_commands.lua
@@ -8,9 +8,9 @@ local textadept = _G.textadept
module('textadept.key_commands', package.seeall)
--[[
- C: G
+ C:
A: A C G J K L O W X Z
- CS: C D G J L Q R S T U W
+ CS: C D J L Q R S T U W
SA: A C D E G H I J K L M O Q R S T W X Z
CA: A C G H J K L O Q S T V W X Y Z
CSA: C D G H J K L O Q R S T U W X Z
@@ -185,6 +185,11 @@ local m_macro = _m.textadept.macros
keys.cam = { m_macro.toggle_record }
keys.csam = { m_macro.play }
+-- Run command.
+local m_run = _m.textadept.run
+keys.cg = { m_run.go }
+keys.csg = { m_run.compile }
+
-- Project manager commands.
local function pm_activate(text)
t.pm.entry_text = text