Add netrw bindings for vim (#7757)
This is now possible after #7647 Release Notes: - Added vim bindings for project panel ([#4270](https://github.com/zed-industries/zed/issues/4270)).
This commit is contained in:
parent
65a1938e52
commit
8e52cf1495
4 changed files with 50 additions and 1 deletions
|
@ -20,13 +20,16 @@ collections.workspace = true
|
|||
command_palette.workspace = true
|
||||
# HACK: We're only depending on `copilot` here for `CommandPaletteFilter`. See the attached comment on that type.
|
||||
copilot.workspace = true
|
||||
project_panel.workspace = true
|
||||
diagnostics.workspace = true
|
||||
editor.workspace = true
|
||||
gpui.workspace = true
|
||||
itertools = "0.10"
|
||||
language.workspace = true
|
||||
log.workspace = true
|
||||
nvim-rs = { git = "https://github.com/KillTheMule/nvim-rs", branch = "master", features = ["use_tokio"], optional = true }
|
||||
nvim-rs = { git = "https://github.com/KillTheMule/nvim-rs", branch = "master", features = [
|
||||
"use_tokio",
|
||||
], optional = true }
|
||||
regex.workspace = true
|
||||
search.workspace = true
|
||||
serde.workspace = true
|
||||
|
|
|
@ -233,6 +233,23 @@ pub fn command_interceptor(mut query: &str, _: &AppContext) -> Option<CommandInt
|
|||
"sor" | "sor " | "sort" | "sort " => ("sort", SortLinesCaseSensitive.boxed_clone()),
|
||||
"sor i" | "sort i" => ("sort i", SortLinesCaseInsensitive.boxed_clone()),
|
||||
|
||||
// Explore, etc.
|
||||
"E" | "Ex" | "Exp" | "Expl" | "Explo" | "Explor" | "Explore" => {
|
||||
("Explore", project_panel::ToggleFocus.boxed_clone())
|
||||
}
|
||||
"H" | "He" | "Hex" | "Hexp" | "Hexpl" | "Hexplo" | "Hexplor" | "Hexplore" => {
|
||||
("Hexplore", project_panel::ToggleFocus.boxed_clone())
|
||||
}
|
||||
"L" | "Le" | "Lex" | "Lexp" | "Lexpl" | "Lexplo" | "Lexplor" | "Lexplore" => {
|
||||
("Lexplore", project_panel::ToggleFocus.boxed_clone())
|
||||
}
|
||||
"S" | "Se" | "Sex" | "Sexp" | "Sexpl" | "Sexplo" | "Sexplor" | "Sexplore" => {
|
||||
("Sexplore", project_panel::ToggleFocus.boxed_clone())
|
||||
}
|
||||
"Ve" | "Vex" | "Vexp" | "Vexpl" | "Vexplo" | "Vexplor" | "Vexplore" => {
|
||||
("Vexplore", project_panel::ToggleFocus.boxed_clone())
|
||||
}
|
||||
|
||||
// goto (other ranges handled under _ => )
|
||||
"$" => ("$", EndOfDocument.boxed_clone()),
|
||||
"%" => ("%", EndOfDocument.boxed_clone()),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue