vim: Fix :ex, :exit (#27755)
`:exit` should be `:exi[t]` instead of `:ex[it]`, `:ex` has different command - https://neovim.io/doc/user/editing.html#%3Aex - https://neovim.io/doc/user/editing.html#%3Aexit Changes: - Add `:ex` same as `:edit` - Change `:ex[it]` to `:exi[t]` Release Notes: - N/A
This commit is contained in:
parent
01a2c8eb01
commit
17aecfde6f
1 changed files with 2 additions and 1 deletions
|
@ -714,7 +714,7 @@ fn generate_commands(_: &App) -> Vec<VimCommand> {
|
||||||
close_pinned: true,
|
close_pinned: true,
|
||||||
}),
|
}),
|
||||||
VimCommand::new(
|
VimCommand::new(
|
||||||
("ex", "it"),
|
("exi", "t"),
|
||||||
workspace::CloseActiveItem {
|
workspace::CloseActiveItem {
|
||||||
save_intent: Some(SaveIntent::SaveAll),
|
save_intent: Some(SaveIntent::SaveAll),
|
||||||
close_pinned: false,
|
close_pinned: false,
|
||||||
|
@ -880,6 +880,7 @@ fn generate_commands(_: &App) -> Vec<VimCommand> {
|
||||||
VimCommand::new(("0", ""), StartOfDocument),
|
VimCommand::new(("0", ""), StartOfDocument),
|
||||||
VimCommand::new(("e", "dit"), editor::actions::ReloadFile)
|
VimCommand::new(("e", "dit"), editor::actions::ReloadFile)
|
||||||
.bang(editor::actions::ReloadFile),
|
.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::new(("cpp", "link"), editor::actions::CopyPermalinkToLine).range(act_on_range),
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue