diff options
Diffstat (limited to 'core/ext/key_commands_std.lua')
-rw-r--r-- | core/ext/key_commands_std.lua | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/core/ext/key_commands_std.lua b/core/ext/key_commands_std.lua index 499305f6..2d7688d8 100644 --- a/core/ext/key_commands_std.lua +++ b/core/ext/key_commands_std.lua @@ -1,5 +1,7 @@ -- Copyright 2007-2009 Mitchell mitchell<att>caladbolg.net. See LICENSE. +local textadept = _G.textadept + --- -- Defines the key commands used by the Textadept key command manager. -- For non-ascii keys, see textadept.keys for string aliases. @@ -15,12 +17,7 @@ module('textadept.key_commands_std', package.seeall) 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 ]]-- ---- --- Global container that holds all key commands. --- @class table --- @name keys -_G.keys = {} -local keys = keys +local keys = _G.keys keys.clear_sequence = 'esc' |