feat: add beam and underline cursors to helix modes
This commit is contained in:
parent
4b97564f29
commit
da7a2d2330
3 changed files with 3 additions and 0 deletions
|
@ -35,6 +35,7 @@ pub fn create(a: Allocator) !tui.Mode {
|
||||||
.name = "INS",
|
.name = "INS",
|
||||||
.description = "helix",
|
.description = "helix",
|
||||||
.line_numbers = if (tui.current().config.vim_insert_gutter_line_numbers_relative) .relative else .absolute,
|
.line_numbers = if (tui.current().config.vim_insert_gutter_line_numbers_relative) .relative else .absolute,
|
||||||
|
.cursor_shape = .beam,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -37,6 +37,7 @@ pub fn create(a: Allocator) !tui.Mode {
|
||||||
.description = "helix",
|
.description = "helix",
|
||||||
.line_numbers = if (tui.current().config.vim_normal_gutter_line_numbers_relative) .relative else .absolute,
|
.line_numbers = if (tui.current().config.vim_normal_gutter_line_numbers_relative) .relative else .absolute,
|
||||||
.keybind_hints = &hints,
|
.keybind_hints = &hints,
|
||||||
|
.cursor_shape = .block,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -37,6 +37,7 @@ pub fn create(a: Allocator) !tui.Mode {
|
||||||
.description = "helix",
|
.description = "helix",
|
||||||
.line_numbers = if (tui.current().config.vim_visual_gutter_line_numbers_relative) .relative else .absolute,
|
.line_numbers = if (tui.current().config.vim_visual_gutter_line_numbers_relative) .relative else .absolute,
|
||||||
.keybind_hints = &hints,
|
.keybind_hints = &hints,
|
||||||
|
.cursor_shape = .underline,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue