diff --git a/crates/vim/src/command.rs b/crates/vim/src/command.rs index 839a0392d4..4c4d6b5175 100644 --- a/crates/vim/src/command.rs +++ b/crates/vim/src/command.rs @@ -1067,6 +1067,7 @@ fn generate_commands(_: &App) -> Vec { ) }), VimCommand::new(("reg", "isters"), ToggleRegistersView).bang(ToggleRegistersView), + VimCommand::new(("di", "splay"), ToggleRegistersView).bang(ToggleRegistersView), VimCommand::new(("marks", ""), ToggleMarksView).bang(ToggleMarksView), VimCommand::new(("delm", "arks"), ArgumentRequired) .bang(DeleteMarks::AllLocal) @@ -1085,6 +1086,7 @@ fn generate_commands(_: &App) -> Vec { VimCommand::str(("No", "tifications"), "notification_panel::ToggleFocus"), VimCommand::str(("A", "I"), "agent::ToggleFocus"), VimCommand::str(("G", "it"), "git_panel::ToggleFocus"), + VimCommand::str(("D", "ebug"), "debug_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 3d3a1bac01..a1c79b531d 100644 --- a/docs/src/vim.md +++ b/docs/src/vim.md @@ -288,6 +288,7 @@ These ex commands open Zed's various panels and windows. | Open the chat panel | `:Ch[at]` | | Open the AI panel | `:A[I]` | | Open the git panel | `:G[it]` | +| Open the debug panel | `:D[ebug]` | | Open the notifications panel | `:No[tif]` | | Open the feedback window | `:fe[edback]` | | Open the diagnostics window | `:cl[ist]` |