Skip to content

Commit 47a3aae

Browse files
kuro337natecraddock
authored andcommitted
ctrl-j mapping for line-down was missing. Reference: rockorager/libvaxis#149
1 parent 1039cf7 commit 47a3aae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tui/ui.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ pub const State = struct {
253253
state.query.moveCursor(1, .right);
254254
} else if (key.matches('b', .{ .ctrl = true }) or key.matches(Key.left, .{})) {
255255
state.query.moveCursor(1, .left);
256-
} else if (key.matches(Key.down, .{}) or key.matches('n', .{ .ctrl = true })) {
256+
} else if (key.matches(Key.down, .{}) or key.matches('n', .{ .ctrl = true }) or key.matches('j', .{ .ctrl = true })) {
257257
lineDown(state, visible_rows, num_filtered - visible_rows);
258258
} else if (key.matches(Key.up, .{}) or key.matches('p', .{ .ctrl = true })) {
259259
lineUp(state);

0 commit comments

Comments
 (0)