Skip to content

Commit

Permalink
add :edit and :e as aliases for :open (#11186)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jyn514 authored Jul 15, 2024
1 parent 107cdf3 commit b0cf86d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helix-term/src/commands/typed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit b0cf86d

Please sign in to comment.