aboutsummaryrefslogtreecommitdiffhomepage
path: root/modules/textadept/keys.lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/textadept/keys.lua')
-rw-r--r--modules/textadept/keys.lua8
1 files changed, 5 insertions, 3 deletions
diff --git a/modules/textadept/keys.lua b/modules/textadept/keys.lua
index c365191a..0e5e69d5 100644
--- a/modules/textadept/keys.lua
+++ b/modules/textadept/keys.lua
@@ -82,6 +82,7 @@ local M = {}
-- Ctrl+Shift+R |⌘⇧R |M-^R |Compile
-- Ctrl+Shift+A |⌘⇧A |None |Set Arguments...
-- Ctrl+Shift+B |⌘⇧B |M-^B |Build
+-- Ctrl+Shift+T |⌘⇧T |M-^T |Run tests
-- Ctrl+Shift+X |⌘⇧X |M-^X |Stop
-- Ctrl+Alt+E |^⌘E |M-X |Next Error
-- Ctrl+Alt+Shift+E|^⌘⇧E |M-S-X |Previous Error
@@ -221,7 +222,7 @@ module('textadept.keys')]]
-- Windows, Linux, and BSD key bindings.
--
-- Unassigned keys (~ denotes keys reserved by the operating system):
--- c: C H I Q T ~ V Y _ ) ] } +
+-- c: C H I Q ~ V Y _ ) ] } +
-- a: aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ_ ) ] } *+-/=\n\s
-- ca: aAbBcCdD F H jJkKlLmM N qQ t xXy zZ_"'()[]{}<>* / \n\s
--
@@ -234,7 +235,7 @@ module('textadept.keys')]]
-- macOS key bindings.
--
-- Unassigned keys (~ denotes keys reserved by the operating system):
--- m: C ~H I JkK ~M p ~ tT V yY _ ) ] } + ~~\n
+-- m: C ~H I JkK ~M p ~ t V yY _ ) ] } + ~~\n
-- c: cC D gG H J K L oO qQ xXyYzZ_ ) ] } * / \n
-- cm: aAbBcC~D F ~HiIjJkKlL~MnN p q~rRsStTuUvVwWxXyYzZ_"'()[]{}<>*+-/=\t\n
--
@@ -261,7 +262,7 @@ module('textadept.keys')]]
--
-- Unassigned keys (~ denotes keys reserved by the operating system):
-- c: g~~ l~ ~
--- cm: cd g~~ k ~ q t yz
+-- cm: cd g~~ k ~ q yz
-- m: e J qQ sS vVw yY _ +
-- Note: m[befhstv] may be used by Linux/BSD GUI terminals for menu access.
--
@@ -370,6 +371,7 @@ local bindings = {
[textadept.run.compile] = {'ctrl+R', 'cmd+R', 'ctrl+meta+r'},
[textadept.run.set_arguments] = {'ctrl+A', 'cmd+A', nil},
[textadept.run.build] = {'ctrl+B', 'cmd+B', 'ctrl+meta+b'},
+ [textadept.run.test] = {'ctrl+T', 'cmd+T', 'ctrl+meta+t'},
[textadept.run.stop] = {'ctrl+X', 'cmd+X', 'ctrl+meta+x'},
[m('Tools/Next Error')] = {'ctrl+alt+e', 'ctrl+cmd+e', 'meta+x'},
[m('Tools/Previous Error')] = {'ctrl+alt+E', 'ctrl+cmd+E', 'meta+X'},