diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/._M.luadoc | 12 | ||||
-rw-r--r-- | core/keys.lua | 6 |
2 files changed, 9 insertions, 9 deletions
diff --git a/core/._M.luadoc b/core/._M.luadoc index afbe5779..d637da3c 100644 --- a/core/._M.luadoc +++ b/core/._M.luadoc @@ -97,7 +97,7 @@ -- Additional editing features for the language can be useful. For example, a -- C++ module might have a feature to add a ';' to the end of the current line -- and insert a new line. This command could be bound to the `Shift+Enter` (`⇧↩` --- on macOS | `S-Enter` in curses) key for easy access: +-- on macOS | `S-Enter` in the terminal version) key for easy access: -- -- keys.cpp = { -- ['s\n'] = function() @@ -108,11 +108,11 @@ -- } -- -- When defining key bindings for other commands, you may make use of a `Ctrl+L` --- (`⌘L` on macOS | `M-L` in curses) keychain. Traditionally this prefix has --- been reserved for use by language modules (although neither Textadept nor its --- modules utilize it at the moment). Users may define this keychain for new or --- existing modules and it will not conflict with any default key bindings. --- For example: +-- (`⌘L` on macOS | `M-L` in the terminal version) keychain. Traditionally this +-- prefix has been reserved for use by language modules (although neither +-- Textadept nor its modules utilize it at the moment). Users may define this +-- keychain for new or existing modules and it will not conflict with any +-- default key bindings. For example: -- -- keys.lua[CURSES and 'meta+l' or OSX and 'cmd+l' or 'ctrl+l'] = { -- ... diff --git a/core/keys.lua b/core/keys.lua index 16c2053e..ecf98eaa 100644 --- a/core/keys.lua +++ b/core/keys.lua @@ -28,9 +28,9 @@ local M = {} -- -- Key sequences are strings built from an ordered combination of modifier keys -- and the key's inserted character. Modifier keys are "Control", "Shift", and --- "Alt" on Windows, Linux, BSD, and in curses. On macOS they are "Control" --- (`^`), "Alt/Option" (`⌥`), "Command" (`⌘`), and "Shift" (`⇧`). These --- modifiers have the following string representations: +-- "Alt" on Windows, Linux, BSD, and in the terminal version. On macOS they are +-- "Control" (`^`), "Alt/Option" (`⌥`), "Command" (`⌘`), and "Shift" (`⇧`). +-- These modifiers have the following string representations: -- -- Modifier | Linux / Win32 | macOS | Terminal | -- ---------|---------------|-----------|-----------| |