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 :options, :map (#27798)

5brian27cafe5567bb
diff --git a/crates/vim/src/command.rs b/crates/vim/src/command.rs
index 5989b1e8ed9..4abb2b1ffaa 100644
--- a/crates/vim/src/command.rs
+++ b/crates/vim/src/command.rs
@@ -882,6 +882,8 @@ fn generate_commands(_: &App) -> Vec<VimCommand> {
.bang(editor::actions::ReloadFile),
VimCommand::new(("ex", ""), editor::actions::ReloadFile).bang(editor::actions::ReloadFile),
VimCommand::new(("cpp", "link"), editor::actions::CopyPermalinkToLine).range(act_on_range),
+ VimCommand::str(("opt", "ions"), "zed::OpenDefaultSettings"),
+ VimCommand::str(("map", ""), "vim::OpenDefaultKeymap"),
]
}