From 5f98f4e9afdc411dd492d103ff7e26c258d9b935 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Mon, 19 Nov 2012 23:53:30 -0500 Subject: Rewrote LuaDoc. --- modules/textadept/keys.lua | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'modules/textadept/keys.lua') 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
Alt+Backspace|⌘Z |^Z |Undo +-- Ctrl+Z
Alt+Bksp |⌘Z |^Z |Undo -- Ctrl+Y
Ctrl+Shift+Z |⌘⇧Z |^Y |Redo -- Ctrl+X
Shift+Del |⌘X
⇧⌦|^X |Cut -- Ctrl+C
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
F5 |Refresh syntax highlighting -- **View** | | | -- Ctrl+Alt+N |^⌥⇥ |N/A |Next view -- Ctrl+Alt+P |^⌥⇧⇥ |N/A |Previous view --- Ctrl+Alt+S
Ctrl+Alt+H|^S |N/A |Split view horizontal --- Ctrl+Alt+V |^V |N/A |Split view vertical +-- Ctrl+Alt+S
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++
Ctrl+Alt+=|^+
^=|N/A |Grow view -- cgit v1.2.3