From 23ea7333a7a88e13dee7c0c27b94afe7af3016cc Mon Sep 17 00:00:00 2001 From: CJ van den Berg Date: Thu, 30 Oct 2025 09:36:10 +0100 Subject: [PATCH] refactor: remove obsolete vim mode delete_line placeholder --- src/tui/mode/vim.zig | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/tui/mode/vim.zig b/src/tui/mode/vim.zig index 9cefd76..38eacbe 100644 --- a/src/tui/mode/vim.zig +++ b/src/tui/mode/vim.zig @@ -140,19 +140,4 @@ const cmds_ = struct { } pub const copy_line_meta: Meta = .{ .description = "Copies the current line" }; - - pub fn delete_line(self: *void, ctx: Ctx) Result { - _ = self; // autofix - _ = ctx; // autofix - //TODO - return undefined; - //try self.move_begin(ctx); - //const b = try self.buf_for_update(); - //var root = try self.delete_to(move_cursor_end, b.root, b.allocator); - //root = try self.delete_to(move_cursor_right, b.root, b.allocator); - //try self.delete_forward(ctx); - //try self.update_buf(root); - //self.clamp(); - } - pub const delete_line_meta: Meta = .{ .description = "Delete the current line without copying" }; };