Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

vim: Add :ls, :buffers (#27797)

5brian051483200d54
diff --git a/crates/vim/src/command.rs b/crates/vim/src/command.rs
index 4abb2b1ffaa..ba6b4bb6a55 100644
--- a/crates/vim/src/command.rs
+++ b/crates/vim/src/command.rs
@@ -795,6 +795,8 @@ fn generate_commands(_: &App) -> Vec<VimCommand> {
VimCommand::new(("bf", "irst"), workspace::ActivateItem(0)),
VimCommand::new(("br", "ewind"), workspace::ActivateItem(0)),
VimCommand::new(("bl", "ast"), workspace::ActivateLastItem),
+ VimCommand::str(("buffers", ""), "tab_switcher::Toggle"),
+ VimCommand::str(("ls", ""), "tab_switcher::Toggle"),
VimCommand::new(("new", ""), workspace::NewFileSplitHorizontal),
VimCommand::new(("vne", "w"), workspace::NewFileSplitVertical),
VimCommand::new(("tabe", "dit"), workspace::NewFile),