aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/keys.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2018-02-24 22:25:07 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2018-02-24 22:25:07 -0500
commit66ffc4b9c294218402c0c7aed59d5b4442092d5c (patch)
tree8d7de49a51f6b7a8f3b2578f1eb1fd0036c8c00f /modules/textadept/keys.lua
parent20b58d60c083e55117401bb8816f59f2711fc5b7 (diff)
downloadtextadept-66ffc4b9c294218402c0c7aed59d5b4442092d5c.tar.gz
textadept-66ffc4b9c294218402c0c7aed59d5b4442092d5c.zip
Terminal key sequence for Ctrl+Space is now 'c ' instead of 'c@'.
Diffstat (limited to 'modules/textadept/keys.lua')
-rw-r--r--modules/textadept/keys.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/textadept/keys.lua b/modules/textadept/keys.lua
index 12a8f3b0..066ba335 100644
--- a/modules/textadept/keys.lua
+++ b/modules/textadept/keys.lua
@@ -247,7 +247,7 @@ module('textadept.keys')]]
-- Key bindings available depend on your implementation of curses.
--
-- For ncurses (Linux, Mac OSX, BSD):
--- * The only Control keys recognized are 'ca'-'cz', 'c@', 'c\\', 'c]', 'c^',
+-- * The only Control keys recognized are 'ca'-'cz', 'c ', 'c\\', 'c]', 'c^',
-- and 'c_'.
-- * Control+Shift and Control+Meta+Shift keys are not recognized.
-- * Modifiers for function keys F1-F12 are not recognized.
@@ -403,8 +403,7 @@ keys['\t'] = textadept.snippets._insert
keys['s\t'] = textadept.snippets._previous
keys.esc = textadept.snippets._cancel_current
-- Other.
-keys[not OSX and ((GUI or WIN32) and 'c ' or 'c@')
- or 'aesc'] = m_tools[_L['_Complete Symbol']][2]
+keys[not OSX and 'c ' or 'aesc'] = m_tools[_L['_Complete Symbol']][2]
keys[GUI and 'ch' or 'mh'] = textadept.editing.show_documentation
if CURSES then keys.mH = keys.mh end -- mh is used by some GUI terminals
keys[not OSX and (GUI and 'ci' or 'mI') or 'mi'] = m_tools[_L['Show St_yle']][2]