all repos

dotfiles @ 2ba451b1ab8f41258754e389730549d479d12aa4

my dotfiles

config/jj/config.toml (view raw)

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
#:schema https://jj-vcs.github.io/jj/latest/config-schema.json

[user]
name = "Olexandr Smirnov"
email = "olexsmir@gmail.com"

[ui]
default-command = "l"
editor = "nvim"
pager = "delta"
diff-formatter = ":git"
merge-editor = ["nvim", "-d"]

[signing]
backend = "ssh"
key = "~/.ssh/id_ed25519.pub"

[git]
sign-on-push = true
auto-local-bookmark = true

[aliases]
d = ["diff"]
l = ["log", "-r", "ancestors(reachable(@, mutable()), 3)"]
llog = ["log", "-T", "builtin_log_detailed"]
n = ["new"]
push = ["git", "push"]
tug = ["bookmark", "move", "--from", "heads(::@- & bookmarks())", "--to", "@-"]

[templates]
draft_commit_description = '''
concat(
  coalesce(description, default_commit_description, "\n"),
  "JJ: ignore-rest\n",
  diff.git(),
)
'''

[template-aliases]
"format_timestamp(timestamp)" = "timestamp.ago()"