diff options
Diffstat (limited to 'src/config.zig')
| -rw-r--r-- | src/config.zig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/config.zig b/src/config.zig index 3eedf707..a14ed797 100644 --- a/src/config.zig +++ b/src/config.zig @@ -356,6 +356,9 @@ pub const command_line: []const Chord = &.{.{ .cp = ':' }}; pub const search: []const Chord = &.{.{ .cp = '/' }}; pub const search_next: []const Chord = &.{.{ .cp = 'n' }}; pub const search_prev: []const Chord = &.{.{ .cp = 'N' }}; +/// Helix `|`: in body normal mode, pipe every file selection through one +/// command typed in the pane's visible tag-tail input. +pub const pipe_selection: []const Chord = &.{.{ .cp = '|' }}; /// Enter on an armed search input runs it; `escape` (PART 3) abandons it. pub const search_submit: []const Chord = &.{.{ .cp = Key.enter }}; @@ -574,6 +577,10 @@ pub const symbol_marker = " WsSymbols /"; /// the one input that previews as you type (pardes.zig, previewSelRegex). pub const select_marker = " Select /"; pub const split_marker = " Split /"; +/// The `|` prompt is not an executable tag word: the marker only makes the +/// pending shell filter visible, and everything after it is preserved as the +/// exact command passed to `/bin/sh -c`. +pub const pipe_marker = " |"; /// Output-buffer names (acme's +Errors). Cosmetic now, and deliberately so: a /// buffer is DERIVED from the command that opened it (output_pane.traits), and |
