-
Notifications
You must be signed in to change notification settings - Fork 0
/
.jjconfig.toml
45 lines (40 loc) · 1.12 KB
/
.jjconfig.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[user]
name = "Rain"
email = "rain@sunshowers.io"
[ui]
default-command = "sl"
#diff.tool = ["difft", "--color=always", "$left", "$right"]
[aliases]
a = ["describe", "@-"]
aa = ["amend"]
bc = ["bookmark", "create", "-r", "@-"]
bd = ["bookmark", "delete"]
bs = ["bookmark", "set", "-r", "@-"]
bt = ["bookmark", "track"]
gf = ["git", "fetch"]
gfm = ["git", "fetch", "--remote", "mine"]
gp = ["git", "push"]
gpm = ["git", "push", "--remote", "mine"]
n = ["next"]
p = ["prev"]
r = ["rebase", "-d", "main", "--skip-emptied"]
s = ["show", "@-"]
sl = ["log", "-r", "open()"]
slog = ["log", "-r", "open()", "-T", "builtin_log_detailed"]
sq = ["squash"]
"sq-" = ["squash", "-r", "@-"]
[revsets]
#log = 'open()'
[revset-aliases]
# See https://github.com/martinvonz/jj/blob/main/docs/revsets.md
'uninterested()' = '::remote_bookmarks() | tags()'
'spr_branches()' = 'remote_bookmarks(glob:"sunshowers/spr/*")'
'mine()' = 'author("rain@") | author("rain1@")'
'interested()' = 'mine() ~ uninterested()'
'open()' = '''
ancestors(interested(), 3)
| tracked_remote_bookmarks()
| ancestors(@, 3)
'''
[templates]
log = 'builtin_log_comfortable'