diff options
-rw-r--r-- | doc/14_Appendix.md | 2 | ||||
-rw-r--r-- | modules/textadept/keys.lua | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/doc/14_Appendix.md b/doc/14_Appendix.md index 0d21dd4b..703231b2 100644 --- a/doc/14_Appendix.md +++ b/doc/14_Appendix.md @@ -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-E |Command entry +Ctrl+E |⌘E |M-C |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 4cc75d8e..e3d7eaed 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: c J qQ sS u vVw xXyYzZ* +-- m: e J qQ sS u vVw xXyYzZ* -- Note: m[befhstv] may be used by GUI terminals. -- -- CTRL = 'c' (Control ^) @@ -268,7 +268,8 @@ end keys[not OSX and 'cj' or 'mj'] = m_editing.goto_line -- Tools. -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'] = 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 |