all repos

dotfiles @ 0d3beca4fc5022279fcec149a8f7e8f27485981f

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
#: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"]

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

[aliases]
l = ["log", "-n10"]
n = ["new"]
bc = ["bookmark", "create"]
tug = ["bookmark", "move", "--from", "heads(::@- & bookmarks())", "--to", "@-"]

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