forked from mirrors/jj
docs: document configuration of aliases
This commit is contained in:
parent
d4ed8f32b3
commit
772d6c47dd
1 changed files with 8 additions and 0 deletions
|
@ -68,6 +68,14 @@ a `$`):
|
|||
|
||||
`less -FRX` is the default pager in the absence of any other setting.
|
||||
|
||||
## Aliases
|
||||
|
||||
You can define aliases for commands, including their arguments. For example:
|
||||
|
||||
# `jj l` shows commits on the working-copy commit's (anonymous) branch
|
||||
# compared to the `main` branch
|
||||
aliases.l = ["log", "-r", "(main..@): | (main..@)-"]
|
||||
|
||||
## Editor
|
||||
|
||||
The default editor is set via `ui.editor`, though there are several places to
|
||||
|
|
Loading…
Reference in a new issue