vim: change cursor shape when only one cursor
In vim mode, change the cursor shape depending on the mode. This is only applicable if `enable_terminal_cursor` is set to true and there is only one cursor in the editor.
This commit is contained in:
parent
b115d55097
commit
d4b7a6ab9b
6 changed files with 14 additions and 2 deletions
|
@ -717,6 +717,7 @@ pub const Mode = struct {
|
|||
description: []const u8,
|
||||
line_numbers: enum { absolute, relative } = .absolute,
|
||||
keybind_hints: ?*const KeybindHints = null,
|
||||
cursor_shape: renderer.CursorShape = .block,
|
||||
|
||||
fn deinit(self: *Mode) void {
|
||||
self.handler.deinit();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue