vim: Add :Git (#27874)

Just adding to the existing https://zed.dev/docs/vim#ex-commands

Captial G is not used by vim commands.

Release Notes:

- N/A
This commit is contained in:
5brian
2025-04-01 15:12:36 -06:00
committed by GitHub
parent 5d1695ed1d
commit 95b963c87b
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -876,6 +876,7 @@ fn generate_commands(_: &App) -> Vec<VimCommand> {
VimCommand::str(("Ch", "at"), "chat_panel::ToggleFocus"),
VimCommand::str(("No", "tifications"), "notification_panel::ToggleFocus"),
VimCommand::str(("A", "I"), "assistant::ToggleFocus"),
VimCommand::str(("G", "it"), "git_panel::ToggleFocus"),
VimCommand::new(("noh", "lsearch"), search::buffer_search::Dismiss),
VimCommand::new(("$", ""), EndOfDocument),
VimCommand::new(("%", ""), EndOfDocument),
+1
View File
@@ -212,6 +212,7 @@ These ex commands open Zed's various panels and windows.
| Open the collaboration panel | `:C[ollab]` |
| Open the chat panel | `:Ch[at]` |
| Open the AI panel | `:A[I]` |
| Open the git panel | `:G[it]` |
| Open the notifications panel | `:No[tif]` |
| Open the feedback window | `:fe[edback]` |
| Open the diagnostics window | `:cl[ist]` |