diff options
author | 2012-07-15 22:53:05 -0400 | |
---|---|---|
committer | 2012-07-15 22:53:05 -0400 | |
commit | a592b83eb7d753c4334afd89d04f378ac41dcdd8 (patch) | |
tree | d5ee94dd6a0cc2850cc5b0b965d0bf475ad7d7d3 | |
parent | 4c3f68a1c7216393968c695176096d2dbc245e2a (diff) | |
download | textadept-a592b83eb7d753c4334afd89d04f378ac41dcdd8.tar.gz textadept-a592b83eb7d753c4334afd89d04f378ac41dcdd8.zip |
Changed ncurses command entry key command from M-C to M-E.
-rw-r--r-- | doc/14_Appendix.md | 4 | ||||
-rw-r--r-- | modules/textadept/keys.lua | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/doc/14_Appendix.md b/doc/14_Appendix.md index df0298e3..0d21dd4b 100644 --- a/doc/14_Appendix.md +++ b/doc/14_Appendix.md @@ -26,7 +26,7 @@ Ctrl+D |⌘D |None |Duplicate line Del |⌦<br/>^D |Del<br/>^D |Delete Alt+Del |^⌦ |M-Del<br/>M-D|Delete word Ctrl+A |⌘A |M-A |Select all -Ctrl+M<br/>Ctrl+] |^M |M-M |Match brace +Ctrl+M |^M |M-M |Match brace Ctrl+Enter |^⎋ |M-Enter |Complete word Ctrl+Alt+Shift+H |⌘⇧H |None |Highlight word Ctrl+/ |^/ |M-/ |Toggle block comment @@ -69,7 +69,7 @@ Ctrl+Alt+G |^⌘G |None |Goto next file found Ctrl+Alt+Shift+G |^⌘⇧G|None |Goto previous file found Ctrl+J |⌘J |^J |Jump to line **Tools** |||| -Ctrl+E |⌘E |M-C |Command entry +Ctrl+E |⌘E |M-E |Command entry Ctrl+Shift+E |⌘⇧E |M-S-C |Select command Ctrl+R |⌘R |^R |Run Ctrl+Shift+R |⌘⇧R |M-^R |Compile diff --git a/modules/textadept/keys.lua b/modules/textadept/keys.lua index e3d7eaed..4cc75d8e 100644 --- a/modules/textadept/keys.lua +++ b/modules/textadept/keys.lua @@ -158,7 +158,7 @@ local utils = M.utils -- Unassigned keys (~ denotes keys reserved by the operating system): -- c: g~~ ~ ^] -- cm: bcd g~~ k ~ pq t v xyz --- m: e J qQ sS u vVw xXyYzZ* +-- m: c J qQ sS u vVw xXyYzZ* -- Note: m[befhstv] may be used by GUI terminals. -- -- CTRL = 'c' (Control ^) @@ -268,8 +268,7 @@ end keys[not OSX and 'cj' or 'mj'] = m_editing.goto_line -- Tools. -keys[not OSX and (not NCURSES and 'ce' or 'mc') - or 'me'] = gui.command_entry.focus +keys[not OSX and not NCURSES and 'ce' or 'me'] = gui.command_entry.focus keys[not OSX and (not NCURSES and 'cE' or 'mC') or 'mE'] = utils.select_command keys[not OSX and 'cr' or 'mr'] = m_textadept.run.run |