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

5brian created

https://neovim.io/doc/user/windows.html#%3Abuffers

Not exactly the same, but i think the zed equivalent would be the tab
switcher

Release Notes:

- vim: Added `:ls` and `:buffers`

Change summary

crates/vim/src/command.rs | 2 ++
1 file changed, 2 insertions(+)

Detailed changes

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),