diff --git a/crates/vim/src/command.rs b/crates/vim/src/command.rs index b8ec1faf7f..9245701bf3 100644 --- a/crates/vim/src/command.rs +++ b/crates/vim/src/command.rs @@ -876,6 +876,7 @@ fn generate_commands(_: &App) -> Vec { 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), diff --git a/docs/src/vim.md b/docs/src/vim.md index 994387386f..815ebe79ca 100644 --- a/docs/src/vim.md +++ b/docs/src/vim.md @@ -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]` |