From f9cb3d98dc4b1246da7b71b2f5892667c0d64699 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Thu, 21 Jun 2012 13:37:36 -0400 Subject: Changed 'Quit' key command to 'Ctrl+Q' on Windows and Linux. --- doc/14_Appendix.md | 2 +- modules/textadept/keys.lua | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/14_Appendix.md b/doc/14_Appendix.md index 61ad842d..fb9f51b4 100644 --- a/doc/14_Appendix.md +++ b/doc/14_Appendix.md @@ -15,7 +15,7 @@ Ctrl+W |⌘W |Close file Ctrl+Shift+W|⌘⇧W |Close all files None |None|Load session... None |None|Load session... -Alt+Q |⌘Q |Quit +Ctrl+Q |⌘Q |Quit **Edit** ||| Ctrl+Z
Alt+Backspace|⌘Z |Undo Ctrl+Y
Ctrl+Shift+Z |⌘⇧Z |Redo diff --git a/modules/textadept/keys.lua b/modules/textadept/keys.lua index a16995e7..df39cd7a 100644 --- a/modules/textadept/keys.lua +++ b/modules/textadept/keys.lua @@ -110,8 +110,8 @@ local utils = M.utils Windows and Linux menu key commands. Unassigned keys (~ denotes keys reserved by the operating system): - c: A B C H p qQ ~ V X Y ) ] } * \n - a: aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpP QrRsStTuUvVwWxXyYzZ_ ) ] } *+-/=~~\n\s + c: A B C H p Q ~ V X Y ) ] } * \n + a: aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ_ ) ] } *+-/=~~\n\s ca: aAbBcCdDeE F jJkKlLmM N PqQ t xXy zZ_"'()[]{}<>* / ~~ \s CTRL = 'c' (Control ^) @@ -149,7 +149,7 @@ keys[not OSX and 'cw' or 'mw'] = buffer.close keys[not OSX and 'cW' or 'mW'] = io.close_all -- TODO: m_textadept.sessions.prompt_load -- TODO: m_textadept.sessions.prompt_save -keys[not OSX and 'aq' or 'mq'] = quit +keys[not OSX and 'cq' or 'mq'] = quit -- Edit. keys[not OSX and 'cz' or 'mz'] = buffer.undo -- cgit v1.2.3