mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 01:16:18 +04:00
add :edit
and :e
as aliases for :open
(#11186)
Vim supports these, and i can't think of any reason helix would want to have a different meaning for `:edit` than `:open`. docs: https://vimhelp.org/editing.txt.html#%3Aedit
This commit is contained in:
parent
107cdf3e43
commit
b0cf86d31b
@ -2537,7 +2537,7 @@ fn read(cx: &mut compositor::Context, args: &[Cow<str>], event: PromptEvent) ->
|
|||||||
},
|
},
|
||||||
TypableCommand {
|
TypableCommand {
|
||||||
name: "open",
|
name: "open",
|
||||||
aliases: &["o"],
|
aliases: &["o", "edit", "e"],
|
||||||
doc: "Open a file from disk into the current view.",
|
doc: "Open a file from disk into the current view.",
|
||||||
fun: open,
|
fun: open,
|
||||||
signature: CommandSignature::all(completers::filename),
|
signature: CommandSignature::all(completers::filename),
|
||||||
|
Loading…
Reference in New Issue
Block a user