Skip to content

Commit

Permalink
ctrl-j mapping for line-down was missing. Reference: rockorager/libva…
Browse files Browse the repository at this point in the history
  • Loading branch information
kuro337 committed Jan 17, 2025
1 parent f8ba4a4 commit 1b418e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tui/ui.zig
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ pub const State = struct {
state.query.moveCursor(1, .right);
} else if (key.matches('b', .{ .ctrl = true }) or key.matches(Key.left, .{})) {
state.query.moveCursor(1, .left);
} else if (key.matches(Key.down, .{}) or key.matches('n', .{ .ctrl = true })) {
} else if (key.matches(Key.down, .{}) or key.matches('n', .{ .ctrl = true }) or key.matches('j', .{ .ctrl = true })) {
lineDown(state, visible_rows, num_filtered - visible_rows);
} else if (key.matches(Key.up, .{}) or key.matches('p', .{ .ctrl = true })) {
lineUp(state);
Expand Down

0 comments on commit 1b418e8

Please sign in to comment.