diff options
author | 2017-11-10 19:55:22 -0500 | |
---|---|---|
committer | 2017-11-10 19:55:22 -0500 | |
commit | 14d1c301791a77dc7afce20d4d68c3a34c414f21 (patch) | |
tree | 388e9fd0df61741ca28d3270dd43cd797fd47421 /modules/textadept/keys.lua | |
parent | 80e568c5e95b103ded1e19985f73a864b739cf04 (diff) | |
download | textadept-14d1c301791a77dc7afce20d4d68c3a34c414f21.tar.gz textadept-14d1c301791a77dc7afce20d4d68c3a34c414f21.zip |
Removed redundant "Select in delimiter" menus and keys.
They can be auto-detected now.
Diffstat (limited to 'modules/textadept/keys.lua')
-rw-r--r-- | modules/textadept/keys.lua | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/modules/textadept/keys.lua b/modules/textadept/keys.lua index bd389775..c6713377 100644 --- a/modules/textadept/keys.lua +++ b/modules/textadept/keys.lua @@ -41,14 +41,9 @@ local M = {} -- Ctrl+T |^T |^T |Transpose characters -- Ctrl+Shift+J |^J |M-J |Join lines -- Ctrl+| |⌘| |^\ |Filter text through --- Ctrl+Shift+M |^⇧M |M-S-M |Select to matching brace +-- Ctrl+Shift+M |^⇧M |M-S-M |Select between delimiters -- Ctrl+< |⌘< |M-< |Select between XML tags -- Ctrl+> |⌘> |None |Select in XML tag --- Ctrl+" |⌘" |M-" |Select in double quotes --- Ctrl+' |⌘' |M-' |Select in single quotes --- Ctrl+( |⌘( |M-( |Select in parentheses --- Ctrl+[ |⌘[ |M-[ |Select in brackets --- Ctrl+{ |⌘{ |M-{ |Select in braces -- Ctrl+Shift+D |⌘⇧D |M-S-W |Select word -- Ctrl+Shift+N |⌘⇧N |M-S-N |Select line -- Ctrl+Shift+P |⌘⇧P |M-S-P |Select paragraph @@ -316,19 +311,12 @@ keys[not OSX and (GUI and 'c|' or 'c\\') or 'm|'] = m_edit[_L['_Filter Through']][2] -- Select. local m_sel = m_edit[_L['_Select']] -keys[GUI and 'cM' or 'mM'] = m_sel[_L['Select to _Matching Brace']][2] +keys[GUI and 'cM' or 'mM'] = m_sel[_L['Select between _Matching Delimiters']][2] keys[not OSX and GUI and 'c<' or 'm<'] = m_sel[_L['Select between _XML Tags']][2] if GUI then keys[not OSX and 'c>' or 'm>'] = m_sel[_L['Select in XML _Tag']][2] end -keys[not OSX and GUI and "c'" - or "m'"] = m_sel[_L['Select in _Single Quotes']][2] -keys[not OSX and GUI and 'c"' - or 'm"'] = m_sel[_L['Select in _Double Quotes']][2] -keys[not OSX and GUI and 'c(' or 'm('] = m_sel[_L['Select in _Parentheses']][2] -keys[not OSX and GUI and 'c[' or 'm['] = m_sel[_L['Select in _Brackets']][2] -keys[not OSX and GUI and 'c{' or 'm{'] = m_sel[_L['Select in B_races']][2] keys[not OSX and (GUI and 'cD' or 'mW') or 'mD'] = textadept.editing.select_word keys[not OSX and GUI and 'cN' or 'mN'] = textadept.editing.select_line keys[not OSX and GUI and 'cP' or 'mP'] = textadept.editing.select_paragraph |