aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/keys.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2020-07-13 14:30:36 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2020-07-13 14:30:36 -0400
commit1e278dce5dab93b73a3699aa2cc54fa6db11f34f (patch)
treec3b58e90f15b2443e74d1cceb0749a94bb7a5d3c /modules/textadept/keys.lua
parentde57ae800e07e36e21741ff8983f64ed24ff16f9 (diff)
downloadtextadept-1e278dce5dab93b73a3699aa2cc54fa6db11f34f.tar.gz
textadept-1e278dce5dab93b73a3699aa2cc54fa6db11f34f.zip
Auto-highlight all occurrences of selected words and find results.
This supercedes `textadept.editing.highlight_word()`, which has been removed. Changed the color of word highlights in themes.
Diffstat (limited to 'modules/textadept/keys.lua')
-rw-r--r--modules/textadept/keys.lua6
1 files changed, 2 insertions, 4 deletions
diff --git a/modules/textadept/keys.lua b/modules/textadept/keys.lua
index 938cb0af..f70a7027 100644
--- a/modules/textadept/keys.lua
+++ b/modules/textadept/keys.lua
@@ -38,7 +38,6 @@ local M = {}
-- Ctrl+A |⌘A |M-A |Select all
-- Ctrl+M |^M |M-M |Match brace
-- Ctrl+Enter |^Esc |M-Enter^(‡) |Complete word
--- Ctrl+Alt+Shift+H |⌘⇧H |None |Highlight word
-- Ctrl+/ |^/ |M-/ |Toggle block comment
-- Ctrl+T |^T |^T |Transpose characters
-- Ctrl+Shift+J |^J |M-J |Join lines
@@ -222,7 +221,7 @@ module('textadept.keys')]]
-- Unassigned keys (~ denotes keys reserved by the operating system):
-- c: C H I p Q T ~ V Y _ ) ] } +
-- a: aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ_ ) ] } *+-/=\n\s
--- ca: aAbBcCdD F jJkKlLmM N qQ t xXy zZ_"'()[]{}<>* / \s
+-- ca: aAbBcCdD F H jJkKlLmM N qQ t xXy zZ_"'()[]{}<>* / \s
--
-- c = 'ctrl' (Control ^)
-- a = 'alt' (Alt)
@@ -233,7 +232,7 @@ module('textadept.keys')]]
-- Mac OSX key bindings.
--
-- Unassigned keys (~ denotes keys reserved by the operating system):
--- m: C ~ I JkK ~M p ~ tT V yY _ ) ] } + ~~\n
+-- m: C ~H I JkK ~M p ~ tT V yY _ ) ] } + ~~\n
-- c: cC D gG H J K L oO qQ xXyYzZ_ ) ] } * /
-- cm: aAbBcC~D F ~HiIjJkKlL~MnN p q~rRsStTuUvVwWxXyYzZ_"'()[]{}<>*+-/=\t\n
--
@@ -313,7 +312,6 @@ local bindings = {
[m_edit[_L['Match Brace']][2]] = {'ctrl+m', 'ctrl+m', 'meta+m'},
[m_edit[_L['Complete Word']][2]] =
{'ctrl+\n', 'ctrl+esc', {'ctrl+meta+j', 'ctrl+\n'}},
- [textadept.editing.highlight_word] = {'ctrl+alt+H', 'cmd+H', nil},
[textadept.editing.block_comment] = {'ctrl+/', 'ctrl+/', 'meta+/'},
[textadept.editing.transpose_chars] = {'ctrl+t', 'ctrl+t', 'ctrl+t'},
[textadept.editing.join_lines] = {'ctrl+J', 'ctrl+j', 'meta+j'},