From c83387e378f72b303d692d951da841b581b3d453 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Fri, 11 Jun 2010 00:00:30 -0400 Subject: Renamed textadept.key_commands to keys; core/ext/key_commands.lua --- core/ext/key_commands.lua | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'core/ext') diff --git a/core/ext/key_commands.lua b/core/ext/key_commands.lua index bed228dd..297cb3a8 100644 --- a/core/ext/key_commands.lua +++ b/core/ext/key_commands.lua @@ -6,7 +6,7 @@ local locale = _G.locale --- -- Manages and defines key commands in Textadept. -- This set of key commands is pretty standard among other text editors. -module('textadept.key_commands', package.seeall) +module('keys', package.seeall) -- Markdown: -- ## Overview @@ -124,13 +124,7 @@ local SHIFT = 's'..ADD local ALT = 'a'..ADD -- end settings ---- --- Global container that holds all key commands. --- @class table --- @name _G.keys -_G.keys = {} - -local keys = _G.keys +local keys = keys local b, v = 'buffer', 'view' local t = textadept -- cgit v1.2.3