aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/textadept/keys.lua2
-rw-r--r--modules/textadept/menu.lua3
2 files changed, 3 insertions, 2 deletions
diff --git a/modules/textadept/keys.lua b/modules/textadept/keys.lua
index a8ae30d9..eae664c8 100644
--- a/modules/textadept/keys.lua
+++ b/modules/textadept/keys.lua
@@ -403,7 +403,7 @@ keys[not OSX and not CURSES and 'c/' or 'm/'] = editing.block_comment
keys.ct = editing.transpose_chars
keys[not OSX and (not CURSES and 'cJ' or 'mj') or 'cj'] = editing.join_lines
keys[not OSX and (not CURSES and 'c|' or 'c\\')
- or 'm|'] = {ui.command_entry.enter_mode, 'filter_through'}
+ or 'm|'] = {ui.command_entry.enter_mode, 'filter_through', 'bash'}
-- Select.
keys[not CURSES and 'cM' or 'mM'] = {editing.match_brace, 'select'}
keys[not OSX and not CURSES and 'c<'
diff --git a/modules/textadept/menu.lua b/modules/textadept/menu.lua
index 500136ce..3e66ed27 100644
--- a/modules/textadept/menu.lua
+++ b/modules/textadept/menu.lua
@@ -58,7 +58,8 @@ local menubar = {
{_L['Toggle _Block Comment'], editing.block_comment},
{_L['T_ranspose Characters'], editing.transpose_chars},
{_L['_Join Lines'], editing.join_lines},
- {_L['_Filter Through'], {ui.command_entry.enter_mode, 'filter_through'}},
+ {_L['_Filter Through'],
+ {ui.command_entry.enter_mode, 'filter_through', 'bash'}},
{ title = _L['_Select'],
{_L['Select to _Matching Brace'], {editing.match_brace, 'select'}},
{_L['Select between _XML Tags'], {editing.select_enclosed, '>', '<'}},