diff --git a/src/keybind/dynamic/keybind.zig b/src/keybind/dynamic/keybind.zig index 886ab12..4b966f2 100644 --- a/src/keybind/dynamic/keybind.zig +++ b/src/keybind/dynamic/keybind.zig @@ -33,11 +33,11 @@ pub const mode = struct { pub const palette = Handler("flow", "palette"); }; pub const mini = struct { - pub const goto = Handler("mini", "goto"); - pub const move_to_char = Handler("mini", "move_to_char"); - pub const file_browser = Handler("mini", "file_browser"); - pub const find_in_files = Handler("mini", "find_in_files"); - pub const find = Handler("mini", "find"); + pub const goto = Handler("flow", "mini/goto"); + pub const move_to_char = Handler("flow", "mini/move_to_char"); + pub const file_browser = Handler("flow", "mini/file_browser"); + pub const find_in_files = Handler("flow", "mini/find_in_files"); + pub const find = Handler("flow", "mini/find"); }; }; diff --git a/src/keybind/dynamic/keybindings.json b/src/keybind/dynamic/keybindings.json index baedfb1..7b434db 100644 --- a/src/keybind/dynamic/keybindings.json +++ b/src/keybind/dynamic/keybindings.json @@ -233,6 +233,51 @@ ["", "palette_menu_activate"], ["", "overlay_delete_backwards"] ] + }, + "mini/goto": { + "on_match_failure": "insert", + "bindings": [ + ["", "quit"], + ["", "mini_mode_reset"], + ["", "mini_mode_cancel"], + ["", "mini_mode_cancel"], + ["", "scroll_view_center"], + ["", "mini_mode_cancel"], + + ["", "mini_mode_cancel"], + ["", "exit_mini_mode"], + ["", "mini_mode_delete_backwards"], + ["0", "mini_mode_insert_code_point", "0"], + ["1", "mini_mode_insert_code_point", "1"], + ["2", "mini_mode_insert_code_point", "2"], + ["3", "mini_mode_insert_code_point", "3"], + ["4", "mini_mode_insert_code_point", "4"], + ["5", "mini_mode_insert_code_point", "5"], + ["6", "mini_mode_insert_code_point", "6"], + ["7", "mini_mode_insert_code_point", "7"], + ["8", "mini_mode_insert_code_point", "8"], + ["9", "mini_mode_insert_code_point", "9"] + ] + }, + "mini/move_to_char": { + "on_match_failure": "insert", + "bindings": [ + ] + }, + "mini/file_browser": { + "on_match_failure": "insert", + "bindings": [ + ] + }, + "mini/find_in_files": { + "on_match_failure": "insert", + "bindings": [ + ] + }, + "mini/find": { + "on_match_failure": "insert", + "bindings": [ + ] } }, "vim": {