2024-01-15 19:26:48 +00:00
|
|
|
#
|
|
|
|
|
# !! DO NOT EDIT !!
|
|
|
|
|
# !! This file is managed by configz !!
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
[ui]
|
|
|
|
|
# name and email, e.g.
|
|
|
|
|
username = {{ data.user_name }} <{{ data.email }}>
|
|
|
|
|
|
|
|
|
|
# Don't let the sl cli colors interfere with the delta colors. The diff
|
|
|
|
|
# highlighting dose not work well when the two colors are conflicting each
|
|
|
|
|
# other.
|
|
|
|
|
#
|
|
|
|
|
# uncomment to disable color in command output
|
|
|
|
|
# (see 'sl help color' for details)
|
|
|
|
|
color = never
|
|
|
|
|
|
|
|
|
|
# uncomment to disable command output pagination
|
|
|
|
|
# (see 'sl help pager' for details)
|
|
|
|
|
#paginate = always
|
|
|
|
|
|
2024-03-02 18:08:43 +00:00
|
|
|
logtemplate = ' {graphnode} {ifeq(phase, "public", "\033[31m", "\033[34m")}{node|short}\033[0m {truncatelonglines(desc|firstline, 80)} \033[32m({date|age}) \033[34;1m<{author|person}>{if(github_pull_request_number, " \033[31mPR #{github_pull_request_number}")}\033[0m{if(bookmarks, " [{bookmarks}]")}\n'
|
|
|
|
|
|
2024-01-15 19:26:48 +00:00
|
|
|
# User delta as the pager so that the diff is highlighted nicely.in the
|
|
|
|
|
# terminal. This give a better diff coloring than the built in sl pager, also
|
|
|
|
|
# keeps things looking the same as git so I can keep the familiarity when
|
|
|
|
|
# switching between git and sl.
|
|
|
|
|
[pager]
|
|
|
|
|
pager = delta
|
2024-01-29 20:20:41 +00:00
|
|
|
|
|
|
|
|
[merge-tools]
|
|
|
|
|
nvim_diff.executable = nvim
|
2024-06-14 17:08:19 +00:00
|
|
|
nvim_diff.args = -d $base $local $other
|
2024-01-29 20:20:41 +00:00
|
|
|
nvim_diff.priority = 1
|
2024-11-28 17:58:57 +00:00
|
|
|
|
|
|
|
|
[revsetalias]
|
|
|
|
|
# Diff between two revs. This is the same as `<rev>...<rev>`, unlike `a::b`
|
|
|
|
|
# this is equivalent to `a..b` in git.
|
|
|
|
|
ddd(a, b) = ancestor(a, b)::b
|