diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-15 13:39:27 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-09-15 17:24:42 -0300 |
| commit | 13d0d107a06d7ac5fb5f8e86c747e54603f51b4e (patch) | |
| tree | 6d404c6048736a093aacb1827081c9726d5906e0 /src/config.zig | |
| parent | 1d19d0ec24b924d1d2ccf2cab25199c6e6865fd7 (diff) | |
| download | pardes-13d0d107a06d7ac5fb5f8e86c747e54603f51b4e.tar.gz pardes-13d0d107a06d7ac5fb5f8e86c747e54603f51b4e.zip | |
Remember tag cursors and reserve uppercase pane navigation
Diffstat (limited to 'src/config.zig')
| -rw-r--r-- | src/config.zig | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/config.zig b/src/config.zig index 555173e4..fea22609 100644 --- a/src/config.zig +++ b/src/config.zig @@ -203,7 +203,8 @@ pub const jump_keys = [_]struct { chord: Chord, cmd: Builtin }{ .{ .chord = .{ .cp = 'i', .ctrl = true }, .cmd = .Forward }, }; -pub const topbar_down: []const Chord = &.{.{ .cp = 'j' }}; +pub const topbar_down: []const Chord = &.{ .{ .cp = 'J' }, .{ .cp = Key.down } }; +pub const topbar_up: []const Chord = &.{ .{ .cp = 'K' }, .{ .cp = Key.up } }; pub const topbar_left: []const Chord = &.{.{ .cp = 'h' }}; pub const topbar_right: []const Chord = &.{.{ .cp = 'l' }}; @@ -423,8 +424,8 @@ pub const line_end: []const Chord = &.{ .{ .cp = '$' }, .{ .cp = Key.end } }; pub const line_first_nonws: []const Chord = &.{.{ .cp = '^' }}; // Bare G does nothing; ge reaches the last line. pub const goto_line: []const Chord = &.{.{ .cp = 'G' }}; -pub const line_move_left: []const Chord = &.{.{ .cp = Key.left }}; -pub const line_move_right: []const Chord = &.{.{ .cp = Key.right }}; +pub const line_move_left: []const Chord = move_left; +pub const line_move_right: []const Chord = move_right; pub const half_page_down: []const Chord = &.{.{ .cp = 'd', .ctrl = true }}; pub const half_page_up: []const Chord = &.{.{ .cp = 'u', .ctrl = true }}; |
