vim: Add :ls, :buffers (#27797)
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`
This commit is contained in:
parent
27cafe5567
commit
051483200d
1 changed files with 2 additions and 0 deletions
|
@ -795,6 +795,8 @@ fn generate_commands(_: &App) -> Vec<VimCommand> {
|
||||||
VimCommand::new(("bf", "irst"), workspace::ActivateItem(0)),
|
VimCommand::new(("bf", "irst"), workspace::ActivateItem(0)),
|
||||||
VimCommand::new(("br", "ewind"), workspace::ActivateItem(0)),
|
VimCommand::new(("br", "ewind"), workspace::ActivateItem(0)),
|
||||||
VimCommand::new(("bl", "ast"), workspace::ActivateLastItem),
|
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(("new", ""), workspace::NewFileSplitHorizontal),
|
||||||
VimCommand::new(("vne", "w"), workspace::NewFileSplitVertical),
|
VimCommand::new(("vne", "w"), workspace::NewFileSplitVertical),
|
||||||
VimCommand::new(("tabe", "dit"), workspace::NewFile),
|
VimCommand::new(("tabe", "dit"), workspace::NewFile),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue