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:
jyn 2024-07-15 15:39:05 -04:00 committed by GitHub
parent 107cdf3e43
commit b0cf86d31b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2537,7 +2537,7 @@ pub const TYPABLE_COMMAND_LIST: &[TypableCommand] = &[
},
TypableCommand {
name: "open",
aliases: &["o"],
aliases: &["o", "edit", "e"],
doc: "Open a file from disk into the current view.",
fun: open,
signature: CommandSignature::all(completers::filename),