summaryrefslogtreecommitdiff
path: root/src/config.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-28 16:20:24 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:15 -0300
commit3992e9def8692710590deacbc20bd925e0f8d64a (patch)
treeab47f821d993903fedef10425eda547e26ae82b8 /src/config.zig
parent06fe2290db7d0eb654b9a908358942cfde298e29 (diff)
downloadpardes-3992e9def8692710590deacbc20bd925e0f8d64a.tar.gz
pardes-3992e9def8692710590deacbc20bd925e0f8d64a.zip
Q records keys into a register and q types them again; . repeats the last insert
Macro.zig keeps keys to be typed again. Q records into @ (or "<reg>) in helix's key notation until the next Q; q replays a register's keys count times through the modal handling, where Esc does not hop panes and Enter, Tab and Space neither look, execute nor open the leader. . replays the normal command that entered the last insert session once and what was typed in it count times (helix repeat_last_insert). a at the end of the text now adds the newline helix's append_mode does, which a terminal's text does not. helix-golf's invert_dictionary passes. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/config.zig')
-rw-r--r--src/config.zig3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config.zig b/src/config.zig
index 91665b14..bc053176 100644
--- a/src/config.zig
+++ b/src/config.zig
@@ -267,6 +267,9 @@ pub const pipe_selection_to: []const Chord = &.{.{ .cp = '|', .alt = true }};
pub const insert_output: []const Chord = &.{.{ .cp = '!' }};
pub const append_output: []const Chord = &.{.{ .cp = '!', .alt = true }};
pub const keep_pipe: []const Chord = &.{.{ .cp = '$' }};
+pub const macro_record: []const Chord = &.{.{ .cp = 'Q' }};
+pub const macro_replay: []const Chord = &.{.{ .cp = 'q' }};
+pub const repeat_insert: []const Chord = &.{.{ .cp = '.' }};
// Armed inputs are parsed from their distinct, nonempty tag markers.
pub const pipe_marker_to = " |-";
pub const pipe_marker_insert = " !";