feat: add command to add cursors to all line ends
This commit is contained in:
parent
8f8d4b6145
commit
4585c5af62
6 changed files with 34 additions and 0 deletions
|
@ -155,6 +155,7 @@ fn mapPress(self: *Self, keypress: u32, egc: u32, modifiers: u32) tp.result {
|
|||
'F' => self.cmd("filter", command.fmt(.{ "zig", "fmt", "--stdin" })),
|
||||
'S' => self.cmd("filter", command.fmt(.{ "sort", "-u" })),
|
||||
'V' => self.cmd("paste", .{}),
|
||||
'I' => self.cmd("add_cursors_to_line_ends", .{}),
|
||||
key.LEFT => self.cmd("move_scroll_left", .{}),
|
||||
key.RIGHT => self.cmd("move_scroll_right", .{}),
|
||||
else => {},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue