From a592b83eb7d753c4334afd89d04f378ac41dcdd8 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Sun, 15 Jul 2012 22:53:05 -0400 Subject: Changed ncurses command entry key command from M-C to M-E. --- doc/14_Appendix.md | 4 ++-- 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 |⌦
^D |Del
^D |Delete Alt+Del |^⌦ |M-Del
M-D|Delete word Ctrl+A |⌘A |M-A |Select all -Ctrl+M
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 -- cgit v1.2.3