From d51cbf71f7c2982b4e8ef9b3066bbf22c42f3b81 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Wed, 14 Jan 2009 09:21:50 -0500 Subject: Added key commands, menu items, and locale strings for running/compiling files. --- core/ext/key_commands_mac.lua | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'core/ext/key_commands_mac.lua') diff --git a/core/ext/key_commands_mac.lua b/core/ext/key_commands_mac.lua index 2e8e82b2..a3e92f1b 100644 --- a/core/ext/key_commands_mac.lua +++ b/core/ext/key_commands_mac.lua @@ -9,9 +9,9 @@ local textadept = _G.textadept module('textadept.key_commands_mac', package.seeall) --[[ - C: J L R U W X Z + C: J L U W X Z A: B D E H J K L U - CS: C D G H I J K L M O Q R S T U V W X Y Z + CS: C D G H I J K L M O Q S T U V W X Y Z SA: A B C D F H J K L M N O Q R T U V X CA: A C E G J K L M N O Q R S T U V W X Y Z CSA: A C D E G H J K L M N O P Q R S T U V W X Y Z @@ -99,6 +99,10 @@ keys.cg = { m_editing.goto_line } -- Tools keys['f2'] = { t.command_entry.focus } +-- Run +local m_run = _m.textadept.run +keys.cr = { m_run.go } +keys.csr = { m_run.compile } -- Snippets local m_snippets = _m.textadept.lsnippets keys.ai = { m_snippets.insert } -- cgit v1.2.3