summaryrefslogtreecommitdiff
path: root/src/modal.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/modal.zig')
-rw-r--r--src/modal.zig4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modal.zig b/src/modal.zig
index 6bf7918f..aadaab00 100644
--- a/src/modal.zig
+++ b/src/modal.zig
@@ -111,6 +111,7 @@ pub const Normal = struct {
join_select_space,
rotate_contents_fwd,
rotate_contents_back,
+ align_selections,
indent,
unindent,
format,
@@ -266,6 +267,7 @@ pub const Normal = struct {
join_select_space,
rotate_contents_forward,
rotate_contents_backward,
+ align_selections,
indent,
unindent,
comment_toggle,
@@ -327,6 +329,7 @@ pub const Normal = struct {
.join_select_space,
.rotate_contents_forward,
.rotate_contents_backward,
+ .align_selections,
.comment_toggle,
.undo,
.redo,
@@ -565,6 +568,7 @@ pub const Normal = struct {
if (key.has(.join_select_space)) return resultAction(.{ .edit = .{ .kind = .join_select_space, .count = count } });
if (key.has(.rotate_contents_fwd)) return resultAction(.{ .edit = .{ .kind = .rotate_contents_forward, .count = count } });
if (key.has(.rotate_contents_back)) return resultAction(.{ .edit = .{ .kind = .rotate_contents_backward, .count = count } });
+ if (key.has(.align_selections)) return resultAction(.{ .edit = .{ .kind = .align_selections, .count = count } });
if (key.has(.indent)) return resultAction(.{ .edit = .{ .kind = .indent, .count = count } });
if (key.has(.unindent)) return resultAction(.{ .edit = .{ .kind = .unindent, .count = count } });
if (key.has(.format)) return resultAction(.{ .lsp = .format });