dotfiles/dot_config/jj/config.toml
2025-01-07 18:41:54 -08:00

30 lines
681 B
TOML

[user]
name = "Barak Michener"
email = "me@barakmich.com"
[ui]
editor = "nvim"
#default-command = ["log", "--reversed"]
default-command = ["util", "exec", "--", "bash", "-c", "jj log --reversed --no-pager && jj diff -s"]
diff.format = "git"
[revset-aliases]
'nearby(x)' = 'descendants(ancestors(@, x))::'
[revsets]
log = "nearby(8) | @..main@origin | main@origin::@ | @:: | visible_heads() ~ bookmarks()"
[colors]
"diff token" = { underline = false }
[git]
push-bookmark-prefix = "barakmich/"
[aliases]
bm = ["bookmark", "move", "--to"]
"bm." = ["bookmark", "move", "--to", "@"]
pull = ["git", "fetch"]
fetch = ["git", "fetch"]
push = ["git", "push"]
d = ["describe", "-m"]