Merge branch 'master' into zig-0.14
This commit is contained in:
commit
c41cd07085
7 changed files with 54 additions and 36 deletions
|
@ -40,6 +40,7 @@
|
|||
["V", ["enter_mode", "visual line"], ["select_line_vim"]],
|
||||
|
||||
["n", "goto_next_match"],
|
||||
["N", "goto_prev_match"],
|
||||
["0", "move_begin"],
|
||||
["^", "smart_move_begin"],
|
||||
["$", "move_end"],
|
||||
|
|
|
@ -78,7 +78,7 @@ pub const Mode = struct {
|
|||
|
||||
mode: []const u8,
|
||||
name: []const u8 = "",
|
||||
line_numbers: LineNumbers = .absolute,
|
||||
line_numbers: LineNumbers = .inherit,
|
||||
keybind_hints: *const KeybindHints,
|
||||
cursor_shape: ?CursorShape = null,
|
||||
selection_style: SelectionStyle,
|
||||
|
@ -365,7 +365,7 @@ const BindingSet = struct {
|
|||
syntax: KeySyntax = .flow,
|
||||
on_match_failure: OnMatchFailure = .ignore,
|
||||
name: []const u8,
|
||||
line_numbers: LineNumbers = .absolute,
|
||||
line_numbers: LineNumbers = .inherit,
|
||||
cursor_shape: ?CursorShape = null,
|
||||
selection_style: SelectionStyle,
|
||||
insert_command: []const u8 = "",
|
||||
|
@ -383,7 +383,7 @@ const BindingSet = struct {
|
|||
syntax: KeySyntax = .flow,
|
||||
on_match_failure: OnMatchFailure = .insert,
|
||||
name: ?[]const u8 = null,
|
||||
line_numbers: LineNumbers = .absolute,
|
||||
line_numbers: LineNumbers = .inherit,
|
||||
cursor: ?CursorShape = null,
|
||||
inherit: ?[]const u8 = null,
|
||||
selection: ?SelectionStyle = null,
|
||||
|
@ -663,6 +663,7 @@ const BindingSet = struct {
|
|||
};
|
||||
|
||||
pub const LineNumbers = enum {
|
||||
inherit,
|
||||
absolute,
|
||||
relative,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue