aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/ext/key_commands.lua10
1 files changed, 2 insertions, 8 deletions
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