aboutsummaryrefslogtreecommitdiff
path: root/core/keys.lua
diff options
context:
space:
mode:
authormitchell <70453897+orbitalquark@users.noreply.github.com>2020-09-13 18:20:00 -0400
committermitchell <70453897+orbitalquark@users.noreply.github.com>2020-09-13 18:20:00 -0400
commitc436febaf7f7b7605bf61777931e97831d956d83 (patch)
tree4cfdb384668a0275b42e245eba8c05fa6c40f8cf /core/keys.lua
parent75041aa1e1651841073473399397bcbfc10b0134 (diff)
downloadtextadept-c436febaf7f7b7605bf61777931e97831d956d83.tar.gz
textadept-c436febaf7f7b7605bf61777931e97831d956d83.zip
Lots of documentation updates.
Updated header id generation, anchors, links, and header levels. Added dedicated book page and support data. Removed extra module autocompletion and documentation from Lua module. Removed GPG signing and verification, as everything is built and distributed on GitHub. Removed all release links prior to 10.8 since there is no point in uploading the relevant files to GitHub.
Diffstat (limited to 'core/keys.lua')
-rw-r--r--core/keys.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/keys.lua b/core/keys.lua
index 8d03c284..b20244a6 100644
--- a/core/keys.lua
+++ b/core/keys.lua
@@ -6,7 +6,7 @@ local M = {}
---
-- Manages key bindings in Textadept.
--
--- ## Overview
+-- ### Overview
--
-- Define key bindings in the global `keys` table in key-value pairs. Each pair
-- consists of either a string key sequence and its associated command, a string
@@ -24,7 +24,7 @@ local M = {}
-- autocompletion, but fall back to word autocompletion if the first command
-- fails.)
--
--- ## Key Sequences
+-- ### Key Sequences
--
-- Key sequences are strings built from an ordered combination of modifier keys
-- and the key's inserted character. Modifier keys are "Control", "Shift", and
@@ -53,7 +53,7 @@ local M = {}
-- *core/keys.lua* causes Textadept to print key sequences to standard out
-- (stdout) for inspection.
--
--- ## Commands
+-- ### Commands
--
-- A command bound to a key sequence is simply a Lua function. For example:
--
@@ -63,7 +63,7 @@ local M = {}
--
-- Textadept handles [`buffer`]() references properly in static contexts.
--
--- ## Modes
+-- ### Modes
--
-- Modes are groups of key bindings such that when a key [mode](#keys.mode) is
-- active, Textadept ignores all key bindings defined outside the mode until the
@@ -89,7 +89,7 @@ local M = {}
-- **Warning**: When creating a mode, be sure to define a way to exit the mode,
-- otherwise you will probably have to restart Textadept.
--
--- ## Key Chains
+-- ### Key Chains
--
-- Key chains are a powerful concept. They allow you to assign multiple key
-- bindings to one key sequence. By default, the `Esc` key cancels a key chain,