aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/keys.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2013-06-21 15:00:56 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2013-06-21 15:00:56 -0400
commit9c40b6e33237b137c46530a25a3560f4b56bc682 (patch)
tree30a7a586a3525f180aa3c9b2001154aba6a14602 /modules/textadept/keys.lua
parent004bb689fcd3b945f0ca724ed73f9e1215f6ec34 (diff)
downloadtextadept-9c40b6e33237b137c46530a25a3560f4b56bc682.tar.gz
textadept-9c40b6e33237b137c46530a25a3560f4b56bc682.zip
Remove theme selection since it does not persist.
Encourage calling `gui.set_theme()` from *~/.textadept/init.lua* instead.
Diffstat (limited to 'modules/textadept/keys.lua')
-rw-r--r--modules/textadept/keys.lua6
1 files changed, 2 insertions, 4 deletions
diff --git a/modules/textadept/keys.lua b/modules/textadept/keys.lua
index 3470e499..810d6ee0 100644
--- a/modules/textadept/keys.lua
+++ b/modules/textadept/keys.lua
@@ -136,7 +136,6 @@ local M = {}
-- Ctrl+= |⌘= |N/A |Zoom in
-- Ctrl+- |⌘- |N/A |Zoom out
-- Ctrl+0 |⌘0 |N/A |Reset zoom
--- Ctrl+Shift+T |⌘⇧T |None |Select theme...
-- **Help**| | |
-- F1 |F1 |None|Open manual
-- Shift+F1|⇧F1 |None|Open LuaDoc
@@ -301,7 +300,7 @@ local OSX, CURSES, c = OSX, CURSES, _SCINTILLA.constants
-- Windows and Linux key bindings.
--
-- Unassigned keys (~ denotes keys reserved by the operating system):
--- c: A B C H p Q ~ V X Y _ ) ] } +
+-- c: A B C H p Q T ~ V X Y _ ) ] } +
-- a: aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ_ ) ] } *+-/=\n\s
-- ca: aAbBcCdD F jJkKlLmM N PqQ t xXy zZ_"'()[]{}<>* / \s
--
@@ -316,7 +315,7 @@ local OSX, CURSES, c = OSX, CURSES, _SCINTILLA.constants
-- Mac OSX key bindings.
--
-- Unassigned keys (~ denotes keys reserved by the operating system):
--- m: A B C ~ JkK ~M p ~ t U V XyY _ ) ] } + ~~\n
+-- m: A B C ~ JkK ~M p ~ tT U V XyY _ ) ] } + ~~\n
-- c: cC D gG H J K L oO qQ xXyYzZ_ ) ] } * /
-- cm: aAbBcC~D F ~HiIjJkKlL~MnN pPq~rRsStTuUvVwWxXyYzZ_"'()[]{}<>*+-/=\t\n
--
@@ -548,7 +547,6 @@ end
keys[not OSX and not CURSES and 'c=' or 'm='] = buffer.zoom_in
keys[not OSX and not CURSES and 'c-' or 'm-'] = buffer.zoom_out
keys[not OSX and not CURSES and 'c0' or 'm0'] = utils.reset_zoom
-if not CURSES then keys[not OSX and 'cT' or 'mT'] = gui.set_theme end
-- Help.
if not CURSES then