From 0eb0b866199938a64edbc85f2696085c5a1ba72b Mon Sep 17 00:00:00 2001 From: Ivan Ivanov Date: Wed, 23 Oct 2024 13:18:04 +1300 Subject: [PATCH] Remove the create_cursors_around conflicting keybind --- config/default.focus-config | 2 +- config/default_macos.focus-config | 2 +- src/config_migrator.jai | 5 +---- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/config/default.focus-config b/config/default.focus-config index 1f37b3eb..cec8832f 100644 --- a/config/default.focus-config +++ b/config/default.focus-config @@ -219,7 +219,7 @@ Ctrl-Shift-N create_new_file_on_the_side Alt-Shift-ArrowUp create_cursor_above Alt-Shift-ArrowDown create_cursor_below -Alt-Shift-ArrowLeft create_cursors_around + Alt-Shift-ArrowRight select_word_or_create_another_cursor Alt-A align_cursors diff --git a/config/default_macos.focus-config b/config/default_macos.focus-config index 333055f4..660e98e3 100644 --- a/config/default_macos.focus-config +++ b/config/default_macos.focus-config @@ -195,7 +195,7 @@ Cmd-Shift-N create_new_file_on_the_side Opt-Shift-ArrowUp create_cursor_above Opt-Shift-ArrowDown create_cursor_below -Opt-Shift-ArrowLeft create_cursors_around + Opt-Shift-ArrowRight select_word_or_create_another_cursor Opt-Cmd-A align_cursors diff --git a/src/config_migrator.jai b/src/config_migrator.jai index cd45f7fc..2752d027 100644 --- a/src/config_migrator.jai +++ b/src/config_migrator.jai @@ -604,9 +604,8 @@ ADDED_KEYBINDS :: Added_Keybind.[ .{ 3, "common", "go_to_previous_build_error", "Shift-F8", "Shift-F8" }, .{ 3, "common", "go_to_previous_build_error_on_the_side", "Shift-Ctrl-F8", "Shift-Cmd-F8" }, - .{ 5, "common", "jump_to_matching_bracket", "{Shift}-Ctrl-M", "{Shift}-Cmd-M" }, + .{ 5, "common", "jump_to_matching_bracket", "{Shift}-Ctrl-M", "{Shift}-Cmd-M" }, - .{ 7, "editors", "create_cursors_around", "Alt-Shift-ArrowLeft", "Opt-Shift-ArrowLeft" }, .{ 7, "editors", "change_case_cycle", "Ctrl-U", "Cmd-U" }, .{ 9, "editors", "revert_select_word_or_create_another_cursor", "Ctrl-R", "Cmd-R" }, @@ -1814,7 +1813,6 @@ Ctrl-Shift-A select_all_occurrences Alt-Shift-I add_cursors_to_line_ends Alt-Shift-Ctrl-I add_cursors_to_line_starts Alt-A align_cursors -Alt-Shift-ArrowLeft create_cursors_around Ctrl-U change_case_cycle Ctrl-R revert_select_word_or_create_another_cursor Ctrl-Y move_selection_to_next_word @@ -1896,7 +1894,6 @@ Ctrl-D select_word_or_create_another_cursor Ctrl-Shift-A select_all_occurrences # Added after migration to version [!latest!] -Alt-Shift-ArrowLeft create_cursors_around Ctrl-U change_case_cycle Ctrl-R revert_select_word_or_create_another_cursor Ctrl-Y move_selection_to_next_word