vim: Add ctrl-^ (#28648)

Alias for Ctrl-6: https://neovim.io/doc/user/editing.html#CTRL-%5E

Also removed Ctrl-6 from the ProjectPanel context, iiuc, it shouldn't
have any effect there

Release Notes:

- vim: Added `ctrl-^` as an alias for `ctrl-6` in the default vim keymap
This commit is contained in:
5brian 2025-04-17 17:54:18 -04:00 committed by GitHub
parent d93141bded
commit 80a2f71d8e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -190,7 +190,8 @@
"ctrl-w g shift-d": "editor::GoToTypeDefinitionSplit", "ctrl-w g shift-d": "editor::GoToTypeDefinitionSplit",
"ctrl-w space": "editor::OpenExcerptsSplit", "ctrl-w space": "editor::OpenExcerptsSplit",
"ctrl-w g space": "editor::OpenExcerptsSplit", "ctrl-w g space": "editor::OpenExcerptsSplit",
"ctrl-6": "pane::AlternateFile" "ctrl-6": "pane::AlternateFile",
"ctrl-^": "pane::AlternateFile"
} }
}, },
{ {
@ -786,8 +787,7 @@
"{": "project_panel::SelectPrevDirectory", "{": "project_panel::SelectPrevDirectory",
"shift-g": "menu::SelectLast", "shift-g": "menu::SelectLast",
"g g": "menu::SelectFirst", "g g": "menu::SelectFirst",
"-": "project_panel::SelectParent", "-": "project_panel::SelectParent"
"ctrl-6": "pane::AlternateFile"
} }
}, },
{ {