diff options
author | 2012-11-19 23:53:30 -0500 | |
---|---|---|
committer | 2012-11-19 23:53:30 -0500 | |
commit | 5f98f4e9afdc411dd492d103ff7e26c258d9b935 (patch) | |
tree | a774d8090f3e6fcbe017b9d1d65307b6da2a8e50 /modules/textadept/keys.lua | |
parent | 9cdaf41a724dd0d739611c698e92f4421a2fbafc (diff) | |
download | textadept-5f98f4e9afdc411dd492d103ff7e26c258d9b935.tar.gz textadept-5f98f4e9afdc411dd492d103ff7e26c258d9b935.zip |
Rewrote LuaDoc.
Diffstat (limited to 'modules/textadept/keys.lua')
-rw-r--r-- | modules/textadept/keys.lua | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/modules/textadept/keys.lua b/modules/textadept/keys.lua index c6263f16..7f4bf8b7 100644 --- a/modules/textadept/keys.lua +++ b/modules/textadept/keys.lua @@ -5,8 +5,9 @@ local M = {} --[[ This comment is for LuaDoc. --- -- Defines key commands for Textadept. --- This set of key commands is pretty standard among other text editors. --- This module should be `require`d last, but before `_M.textadept.menu`. +-- This set of key commands is pretty standard among other text editors. If +-- applicable, load this module second to last in your *~/.textadept/init.lua*, +-- before `_M.textadept.menu`. -- -- ## Key Bindings -- @@ -25,7 +26,7 @@ local M = {} -- None |None |None |Load session... -- Ctrl+Q |⌘Q |^Q |Quit -- **Edit** | | | --- Ctrl+Z<br/>Alt+Backspace|⌘Z |^Z |Undo +-- Ctrl+Z<br/>Alt+Bksp |⌘Z |^Z |Undo -- Ctrl+Y<br/>Ctrl+Shift+Z |⌘⇧Z |^Y |Redo -- Ctrl+X<br/>Shift+Del |⌘X<br/>⇧⌦|^X |Cut -- Ctrl+C<br/>Ctrl+Ins |⌘C |^C |Copy @@ -113,14 +114,15 @@ local M = {} -- None |None |None |UTF-8 encoding -- None |None |None |ASCII encoding -- None |None |None |ISO-8859-1 encoding +-- None |None |None |MacRoman encoding -- None |None |None |UTF-16 encoding -- Ctrl+Shift+L |⌘⇧L |M-S-L |Select lexer... -- F5 |F5 |^L<br/>F5 |Refresh syntax highlighting -- **View** | | | -- Ctrl+Alt+N |^⌥⇥ |N/A |Next view -- Ctrl+Alt+P |^⌥⇧⇥ |N/A |Previous view --- Ctrl+Alt+S<br/>Ctrl+Alt+H|^S |N/A |Split view horizontal --- Ctrl+Alt+V |^V |N/A |Split view vertical +-- Ctrl+Alt+S<br/>Ctrl+Alt+H|^S |N/A |Split view horizontally +-- Ctrl+Alt+V |^V |N/A |Split view vertically -- Ctrl+Alt+W |^W |N/A |Unsplit view -- Ctrl+Alt+Shift+W |^⇧W |N/A |Unsplit all views -- Ctrl+Alt++<br/>Ctrl+Alt+=|^+<br/>^=|N/A |Grow view |