aboutsummaryrefslogtreecommitdiff
path: root/files/.config/lazygit/config.yml
blob: 9baa7703bb57a95ea00bd56cf307aa24f3add58f (plain) (blame)
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
46
47
---
gui:
  scrollHeight: 4
  nerdFontsVersion: "3"
  theme:
    lightTheme: true
  animateExplosion: false
  spinner:
    frames: ['⠋', '⠙', '⠹', '⠸', '⠼', '⠴', '⠦', '⠧', '⠇', '⠏']
    rate: 100
git:
  paging:
    colorArg: always
    pager: diff-so-fancy
  # Do not spawn a separate process when using GPG
  # https://github.com/jesseduffield/lazygit/discussions/3605#discussioncomment-9567079
  overrideGpg: true
notARepository: skip
keybinding:
  commits:
    moveDownCommit: '<c-n>'
    moveUpCommit: '<c-p>'
customCommands:
  - key: '<c-d>'
    description: 'Show Difftastic for current commit'
    context: 'subCommits'
    command: 'git dshow "{{.SelectedLocalCommit.Sha}}"'
    subprocess: true
  - key: '<c-d>'
    description: 'Show difft of current commit'
    context: 'files'
    command: 'git dft -- {{.SelectedFile.Name | quote}}'
    subprocess: true
  - key: '<c-d>'
    description: 'Show difft of current commit'
    context: 'commitFiles'
    command: 'git dshow "{{.SelectedLocalCommit.Sha}}" -- {{.SelectedCommitFile.Name | quote}}'
    subprocess: true
  - key: '<c-d>'
    description: 'Show difft of current commit'
    context: 'commits'
    command: 'git dshow "{{.SelectedLocalCommit.Sha}}"'
    subprocess: true
  - key: 'I'
    description: 'Open in idea'
    context: 'files'
    command: 'idea {{.SelectedFile.Name | quote}}'