diff options
author | 2009-01-14 09:21:50 -0500 | |
---|---|---|
committer | 2009-01-14 09:21:50 -0500 | |
commit | d51cbf71f7c2982b4e8ef9b3066bbf22c42f3b81 (patch) | |
tree | 94b194bb3cc9133fa90be8712ac011ae62834b51 /core/ext/key_commands_std.lua | |
parent | 25632fd3a4ed2219a7c8350dfc0b9807292445be (diff) | |
download | textadept-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_std.lua')
-rw-r--r-- | core/ext/key_commands_std.lua | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/core/ext/key_commands_std.lua b/core/ext/key_commands_std.lua index 2d7688d8..9327da18 100644 --- a/core/ext/key_commands_std.lua +++ b/core/ext/key_commands_std.lua @@ -9,9 +9,9 @@ local textadept = _G.textadept module('textadept.key_commands_std', package.seeall) --[[ - C: B D H J K L R U + C: B D H J K L U A: A B C D E F G H J K L M N P R S T U V W X Y Z - CS: A B C D F G H J K L M N O Q R T U V X Y Z + CS: A B C D F G H J K L M N O Q T U V X Y Z SA: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z CA: A B C D E F G H J K L M N O Q R S T U V W X Y Z CSA: A B C D E F 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.ci = { m_snippets.insert } |