aboutsummaryrefslogtreecommitdiff
path: root/core/ext/key_commands.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2008-12-21 18:33:29 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2008-12-21 18:33:29 -0500
commit33106e9428174330cb94a47f4826cd5c22e97144 (patch)
tree4574e9cdafd2bb9f783580ba26d268be78b0e012 /core/ext/key_commands.lua
parente01136849a2dd6cf2c40b50d0d7ca565c24e8ed9 (diff)
downloadtextadept-33106e9428174330cb94a47f4826cd5c22e97144.tar.gz
textadept-33106e9428174330cb94a47f4826cd5c22e97144.zip
Finally added ability to quit Textadept from Lua.
Diffstat (limited to 'core/ext/key_commands.lua')
-rw-r--r--core/ext/key_commands.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/ext/key_commands.lua b/core/ext/key_commands.lua
index f9c108db..3bbbe1a2 100644
--- a/core/ext/key_commands.lua
+++ b/core/ext/key_commands.lua
@@ -7,7 +7,7 @@ module('textadept.key_commands', package.seeall)
--[[
C: G
- A: A C G J K L O Q W X Z
+ A: A C G J K L O W X Z
CS: C D G 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
@@ -37,6 +37,7 @@ keys.co = { 'save', b }
keys.cso = { 'save_as', b }
keys.cx = { 'close', b }
keys.csx = { t.io.close_all }
+keys.aq = { t.quit }
keys.cz = { 'undo', b }
keys.csz = { 'redo', b }
keys.cs = { t.find.focus } -- find/replace