diff --git a/src/tui/mode/input/flow.zig b/src/tui/mode/input/flow.zig index 0d3ae79..e31d061 100644 --- a/src/tui/mode/input/flow.zig +++ b/src/tui/mode/input/flow.zig @@ -319,6 +319,7 @@ const hints = tui.KeybindHints.initComptime(.{ .{ "add_cursors_to_line_ends", "S-A-i" }, .{ "add_cursor_up", "S-A-up" }, .{ "cancel", "esc" }, + .{ "change_theme", "C-k C-t" }, .{ "close_file", "C-w" }, .{ "close_file_without_saving", "C-S-w" }, .{ "copy", "C-c" }, @@ -335,22 +336,20 @@ const hints = tui.KeybindHints.initComptime(.{ .{ "dupe_up", "S-A-d" }, .{ "enable_fast_scroll", "hold Ctrl" }, .{ "enable_jump_mode", "hold Alt" }, - .{ "find_in_files", "C-S-f" }, - .{ "find", "C-f" }, - .{ "goto", "C-g" }, - .{ "move_to_char", "C-b, C-t" }, // true/false - .{ "open_file", "C-o" }, .{ "filter", "A-s" }, // self.cmd("filter", command.fmt(.{"sort"})), // .{ "filter", "S-A-s" }, // self.cmd("filter", command.fmt(.{ "sort", "-u" })), + .{ "find", "C-f" }, + .{ "find_in_files", "C-S-f" }, .{ "format", "S-A-f" }, + .{ "goto", "C-g" }, + .{ "goto_declaration", "A-F12" }, .{ "goto_definition", "F12" }, .{ "goto_implementation", "C-F12" }, - .{ "goto_declaration", "A-F12" }, - .{ "goto_type_definition", "A-S-F12" }, .{ "goto_next_file_or_diagnostic", "A-n" }, .{ "goto_next_match", "C-n, F3" }, .{ "goto_prev_file_or_diagnostic", "A-p" }, .{ "goto_prev_match", "C-p, S-F3" }, + .{ "goto_type_definition", "A-S-F12" }, .{ "gutter_mode_next", "A-F10" }, .{ "indent", "tab" }, .{ "insert_line", "A-enter" }, @@ -372,10 +371,12 @@ const hints = tui.KeybindHints.initComptime(.{ .{ "move_scroll_page_up", "C-pgup" }, .{ "move_scroll_right", "S-A-right" }, .{ "move_scroll_up", "C-up" }, + .{ "move_to_char", "C-b, C-t" }, // true/false .{ "move_up", "up" }, .{ "move_word_left", "C-left, A-b" }, .{ "move_word_right", "C-right, A-f" }, .{ "open_command_palette", "C-S-p, S-A-p" }, + .{ "open_file", "C-o" }, .{ "open_recent", "C-e" }, .{ "open_recent_project", "C-r" }, .{ "paste", "A-v" }, @@ -403,7 +404,6 @@ const hints = tui.KeybindHints.initComptime(.{ .{ "select_right", "S-right" }, .{ "select_scroll_down", "C-S-down" }, .{ "select_scroll_up", "C-S-up" }, - .{ "change_theme", "C-k C-t" }, .{ "select_up", "S-up" }, .{ "select_word_left", "C-S-left" }, .{ "select_word_right", "C-S-right" },