aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/keys.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2010-06-15 13:21:56 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2010-06-15 13:21:56 -0400
commitf3bb9601ac824c2ff8fa12e37029bb15177c6583 (patch)
treeed7b79ef8f121b513230f1be29c78bc8a125d27e /modules/textadept/keys.lua
parent6169e7d42c434ef6a01b199e0f2729a25b389e43 (diff)
downloadtextadept-f3bb9601ac824c2ff8fa12e37029bb15177c6583.tar.gz
textadept-f3bb9601ac824c2ff8fa12e37029bb15177c6583.zip
Removed user_dofile() of keys and snippets.
Diffstat (limited to 'modules/textadept/keys.lua')
-rw-r--r--modules/textadept/keys.lua9
1 files changed, 3 insertions, 6 deletions
diff --git a/modules/textadept/keys.lua b/modules/textadept/keys.lua
index 187f227c..0d65f76a 100644
--- a/modules/textadept/keys.lua
+++ b/modules/textadept/keys.lua
@@ -108,10 +108,9 @@ module('_m.textadept.keys', package.seeall)
--
-- ## Configuration
--
--- It is not recommended to edit Textadept's `modules/textadept/keys.lua`. You
--- can either override or add to default key commands in your
--- `~/.textadept/keys.lua` or `require` a separate module in your
--- `~/.textadept/init.lua` instead of `modules/textadept/keys`.
+-- It is not recommended to edit Textadept's `modules/textadept/keys.lua`.
+-- Instead you can modify `_G.keys` from within your `~/.textadept/init.lua` or
+-- from a file `require`d by your `init.lua`.
-- Windows and Linux key commands are listed in the first block.
-- Mac OSX key commands are listed in the second block.
@@ -483,8 +482,6 @@ end
-- @name _G.keys
_G.keys = _M
-user_dofile('keys.lua') -- load user key commands
-
-- Do not edit below this line.
-- optimize for speed