Skip to content

Instantly share code, notes, and snippets.

@jtprogru
Created June 20, 2023 16:57
Show Gist options
  • Save jtprogru/17db05333e3db8b66ab343458eeefd4a to your computer and use it in GitHub Desktop.
Save jtprogru/17db05333e3db8b66ab343458eeefd4a to your computer and use it in GitHub Desktop.
gui:
authorColors:
"*": "#11aaff" # use red for all
"Michael Savin": "#00ff00" # use green for me
"jtprogru": "#00ff00" # use green for me
scrollHeight: 2 # how many lines you scroll by
scrollPastBottom: true # enable scrolling past the bottom
sidePanelWidth: 0.33 # number from 0 to 1
mainPanelSplitMode: "flexible" # one of 'horizontal' | 'flexible' | 'vertical'
language: "en" # one of 'auto' | 'en' | 'zh' | 'pl' | 'nl' | 'ja' | 'ko'
timeFormat: "2006-01-02 15:04:05 +0300" # '02 Jan 06 15:04 MST' # https://pkg.go.dev/time#Time.Format
commitLength:
show: true
mouseEvents: true
skipUnstageLineWarning: false
skipStashWarning: false
showFileTree: true # for rendering changes files in a tree format
showListFooter: true # for seeing the '5 of 20' message in list panels
showRandomTip: false
showBottomLine: true # for hiding the bottom information line (unless it has important information to tell you)
showCommandLog: true
showIcons: true
commandLogSize: 8
# splitDiff: "always" # one of 'auto' | 'always'
skipRewordInEditorWarning: false # for skipping the confirmation before launching the reword editor
git:
paging:
colorArg: always
log:
# one of date-order, author-date-order, topo-order or default.
# topo-order makes it easier to read the git log graph, but commits may not
# appear chronologically. See https://git-scm.com/docs/git-log#_commit_ordering
order: "topo-order"
# one of always, never, when-maximised
# this determines whether the git graph is rendered in the commits panel
showGraph: "always"
# displays the whole git graph by default in the commits panel (equivalent to passing the `--all` argument to `git log`)
showWholeGraph: true
branchLogCmd: "git log --graph --color=always --abbrev-commit --decorate --date=short --pretty=full --oneline {{branchName}} --"
allBranchesLogCmd: "git log --graph --all --color=always --abbrev-commit --decorate --date=short --pretty=full"
diffContextSize: 2 # how many lines of context are shown around a change in diffs
os:
edit: "nvim {{filename}}"
editAtLine: "nvim --line={{line}} {{filename}}"
editAtLineAndWait: "nvim --block --line={{line}} {{filename}}"
editInTerminal: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment