You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Map of filenames to icon properties (icon and color)
50
50
filenames: {}
51
51
52
-
# Map of file extensions (including the dot) to icon properties
53
-
# (icon and color)
52
+
# Map of file extensions (including the dot) to icon properties (icon and color)
54
53
extensions: {}
55
54
56
55
# The number of lines you scroll by when scrolling the main window
@@ -65,15 +64,12 @@ gui:
65
64
# One of: 'margin' (default) | 'jump'
66
65
scrollOffBehavior: margin
67
66
68
-
# The number of spaces per tab; used for everything that's shown in the
69
-
# main view, but probably mostly relevant for diffs.
70
-
# Note that when using a pager, the pager has its own tab width setting,
71
-
# so you need to pass it separately in the pager command.
67
+
# The number of spaces per tab; used for everything that's shown in the main view, but probably mostly relevant for diffs.
68
+
# Note that when using a pager, the pager has its own tab width setting, so you need to pass it separately in the pager command.
72
69
tabWidth: 4
73
70
74
71
# If true, capture mouse events.
75
-
# When mouse events are captured, it's a little harder to select text: e.g.
76
-
# requiring you to hold the option key when on macOS.
72
+
# When mouse events are captured, it's a little harder to select text: e.g. requiring you to hold the option key when on macOS.
77
73
mouseEvents: true
78
74
79
75
# If true, do not show a warning when amending a commit.
@@ -85,43 +81,33 @@ gui:
85
81
# If true, do not show warning when applying/popping the stash
86
82
skipStashWarning: false
87
83
88
-
# If true, do not show a warning when attempting to commit without any staged
89
-
# files; instead stage all unstaged files.
84
+
# If true, do not show a warning when attempting to commit without any staged files; instead stage all unstaged files.
90
85
skipNoStagedFilesWarning: false
91
86
92
87
# If true, do not show a warning when rewording a commit via an external editor
93
88
skipRewordInEditorWarning: false
94
89
95
-
# Fraction of the total screen width to use for the left side section.
96
-
# You may want to pick a small number (e.g. 0.2) if you're using a narrow
97
-
# screen, so that you can see more of the main section.
90
+
# Fraction of the total screen width to use for the left side section. You may want to pick a small number (e.g. 0.2) if you're using a narrow screen, so that you can see more of the main section.
98
91
# Number from 0 to 1.0.
99
92
sidePanelWidth: 0.3333
100
93
101
-
# If true, increase the height of the focused side window; creating an
102
-
# accordion effect.
94
+
# If true, increase the height of the focused side window; creating an accordion effect.
103
95
expandFocusedSidePanel: false
104
96
105
-
# The weight of the expanded side panel, relative to the other panels.
106
-
# 2 means twice as tall as the other panels. Only relevant if
107
-
# `expandFocusedSidePanel` is true.
97
+
# The weight of the expanded side panel, relative to the other panels. 2 means
98
+
# twice as tall as the other panels. Only relevant if `expandFocusedSidePanel` is true.
108
99
expandedSidePanelWeight: 2
109
100
110
-
# Sometimes the main window is split in two (e.g. when the selected file
111
-
# has both staged and unstaged changes). This setting controls how the
112
-
# two sections are split.
101
+
# Sometimes the main window is split in two (e.g. when the selected file has both staged and unstaged changes). This setting controls how the two sections are split.
113
102
# Options are:
114
103
# - 'horizontal': split the window horizontally
115
104
# - 'vertical': split the window vertically
116
-
# - 'flexible': (default) split the window horizontally if the window is
117
-
# wide enough, otherwise split vertically
105
+
# - 'flexible': (default) split the window horizontally if the window is wide enough, otherwise split vertically
118
106
mainPanelSplitMode: flexible
119
107
120
-
# How the window is split when in half screen mode (i.e. after hitting
121
-
# '+' once).
108
+
# How the window is split when in half screen mode (i.e. after hitting '+' once).
122
109
# Possible values:
123
-
# - 'left': split the window horizontally (side panel on the left, main
124
-
# view on the right)
110
+
# - 'left': split the window horizontally (side panel on the left, main view on the right)
125
111
# - 'top': split the window vertically (side panel on top, main view below)
126
112
enlargedSideViewLocation: left
127
113
@@ -130,11 +116,10 @@ gui:
130
116
# paragraphs of markdown text.
131
117
wrapLinesInStagingView: true
132
118
133
-
# If true, hunk selection mode will be enabled by default when entering
134
-
# the staging view.
119
+
# If true, hunk selection mode will be enabled by default when entering the staging view.
# Format used when displaying time e.g. commit time.
@@ -207,15 +192,11 @@ gui:
207
192
# If true, show the '5 of 20' footer at the bottom of list views
208
193
showListFooter: true
209
194
210
-
# If true, display the files in the file views as a tree. If false,
211
-
# display the files as a flat list.
212
-
# This can be toggled from within Lazygit with the '`' key, but that will
213
-
# not change the default.
195
+
# If true, display the files in the file views as a tree. If false, display the files as a flat list.
196
+
# This can be toggled from within Lazygit with the '`' key, but that will not change the default.
214
197
showFileTree: true
215
198
216
-
# If true, add a "/" root item in the file tree representing the root of
217
-
# the repository. It is only added when necessary, i.e. when there is more
218
-
# than one item at top level.
199
+
# If true, add a "/" root item in the file tree representing the root of the repository. It is only added when necessary, i.e. when there is more than one item at top level.
219
200
showRootItemInFileTree: true
220
201
221
202
# If true, show the number of lines changed per file in the Files view
@@ -227,9 +208,7 @@ gui:
227
208
# If true, show the command log
228
209
showCommandLog: true
229
210
230
-
# If true, show the bottom line that contains keybinding info and useful
231
-
# buttons. If false, this line will be hidden except to display a loader
232
-
# for an in-progress action.
211
+
# If true, show the bottom line that contains keybinding info and useful buttons. If false, this line will be hidden except to display a loader for an in-progress action.
233
212
showBottomLine: true
234
213
235
214
# If true, show jump-to-window keybindings in window titles.
@@ -240,16 +219,13 @@ gui:
240
219
# If empty, do not show icons.
241
220
nerdFontsVersion: ""
242
221
243
-
# If true (default), file icons are shown in the file views. Only relevant
244
-
# if NerdFontsVersion is not empty.
222
+
# If true (default), file icons are shown in the file views. Only relevant if NerdFontsVersion is not empty.
245
223
showFileIcons: true
246
224
247
-
# Length of author name in (non-expanded) commits view. 2 means show
248
-
# initials only.
225
+
# Length of author name in (non-expanded) commits view. 2 means show initials only.
249
226
commitAuthorShortLength: 2
250
227
251
-
# Length of author name in expanded commits view. 2 means show
252
-
# initials only.
228
+
# Length of author name in expanded commits view. 2 means show initials only.
253
229
commitAuthorLongLength: 17
254
230
255
231
# Length of commit hash in commits view. 0 shows '*' if NF icons aren't on.
@@ -267,21 +243,18 @@ gui:
267
243
268
244
# Whether to split the main window when viewing file changes.
269
245
# One of: 'auto' | 'always'
270
-
# If 'auto', only split the main window when a file has both staged and
271
-
# unstaged changes
246
+
# If 'auto', only split the main window when a file has both staged and unstaged changes
272
247
splitDiff: auto
273
248
274
-
# Default size for focused window. Can be changed from within Lazygit
275
-
# with '+' and '_' (but this won't change the default).
249
+
# Default size for focused window. Can be changed from within Lazygit with '+' and '_' (but this won't change the default).
276
250
# One of: 'normal' (default) | 'half' | 'full'
277
251
screenMode: normal
278
252
279
253
# Window border style.
280
254
# One of 'rounded' (default) | 'single' | 'double' | 'hidden' | 'bold'
281
255
border: rounded
282
256
283
-
# If true, show a seriously epic explosion animation when nuking the
284
-
# working tree.
257
+
# If true, show a seriously epic explosion animation when nuking the working tree.
285
258
animateExplosion: true
286
259
287
260
# Whether to stack UI components on top of each other.
@@ -314,16 +287,14 @@ gui:
314
287
# If true, jump to the Files panel after applying a stash
315
288
switchToFilesAfterStashApply: true
316
289
317
-
# If true, when using the panel jump keys (default 1 through 5) and target
318
-
# panel is already active, go to next tab instead
290
+
# If true, when using the panel jump keys (default 1 through 5) and target panel is already active, go to next tab instead
319
291
switchTabsWithPanelJumpKeys: false
320
292
321
293
# Config relating to git
322
294
git:
323
295
# See https://github.com/jesseduffield/lazygit/blob/master/docs/Custom_Pagers.md
324
296
paging:
325
-
# Value of the --color arg in the git diff command. Some pagers want this
326
-
# to be set to 'always' and some want it set to 'never'
297
+
# Value of the --color arg in the git diff command. Some pagers want this to be set to 'always' and some want it set to 'never'
327
298
colorArg: always
328
299
329
300
# e.g.
@@ -335,10 +306,7 @@ git:
335
306
# e.g. 'difft --color=always'
336
307
externalDiffCommand: ""
337
308
338
-
# If true, Lazygit will use git's `diff.external` config for paging. The
339
-
# advantage over `externalDiffCommand` is that this can be configured per
# If true, Lazygit will use git's `diff.external` config for paging. The advantage over `externalDiffCommand` is that this can be configured per file type in .gitattributes; see https://git-scm.com/docs/gitattributes#_defining_an_external_diff_driver.
342
310
useExternalDiffGitConfig: false
343
311
344
312
# Config relating to committing
@@ -354,26 +322,22 @@ git:
354
322
355
323
# Config relating to merging
356
324
merging:
357
-
# If true, run merges in a subprocess so that if a commit message is
358
-
# required, Lazygit will not hang.
325
+
# If true, run merges in a subprocess so that if a commit message is required, Lazygit will not hang
359
326
# Only applicable to unix users.
360
327
manualCommit: false
361
328
362
329
# Extra args passed to `git merge`, e.g. --no-ff
363
330
args: ""
364
331
365
-
# The commit message to use for a squash merge commit. Can contain
366
-
# "{{selectedRef}}" and "{{currentBranch}}" placeholders.
332
+
# The commit message to use for a squash merge commit. Can contain "{{selectedRef}}" and "{{currentBranch}}" placeholders.
367
333
squashMergeMessage: Squash merge {{selectedRef}} into {{currentBranch}}
368
334
369
-
# list of branches that are considered 'main' branches, used when
370
-
# displaying commits
335
+
# list of branches that are considered 'main' branches, used when displaying commits
371
336
mainBranches:
372
337
- master
373
338
- main
374
339
375
-
# Prefix to use when skipping hooks. E.g. if set to 'WIP', then pre-commit
376
-
# hooks will be skipped when the commit message starts with 'WIP'
340
+
# Prefix to use when skipping hooks. E.g. if set to 'WIP', then pre-commit hooks will be skipped when the commit message starts with 'WIP'
377
341
skipHookPrefix: WIP
378
342
379
343
# If true, periodically fetch from remote
@@ -382,10 +346,7 @@ git:
382
346
# If true, periodically refresh files and submodules
383
347
autoRefresh: true
384
348
385
-
# If not "none", lazygit will automatically fast-forward local branches
386
-
# to match their upstream after fetching. Applies to branches that are not
387
-
# the currently checked out branch, and only to those that are strictly
388
-
# behind their upstream (as opposed to diverged).
349
+
# If not "none", lazygit will automatically fast-forward local branches to match their upstream after fetching. Applies to branches that are not the currently checked out branch, and only to those that are strictly behind their upstream (as opposed to diverged).
389
350
# Possible values: 'none' | 'onlyMainBranches' | 'allBranches'
390
351
autoForwardBranches: onlyMainBranches
391
352
@@ -401,22 +362,17 @@ git:
401
362
# Command used when displaying the current branch git log in the main window
# If true, git diffs are rendered with the `--ignore-all-space` flag,
410
-
# which ignores whitespace changes. Can be toggled from within Lazygit
411
-
# with `<c-w>`.
369
+
# If true, git diffs are rendered with the `--ignore-all-space` flag, which ignores whitespace changes. Can be toggled from within Lazygit with `<c-w>`.
412
370
ignoreWhitespaceInDiffView: false
413
371
414
-
# The number of lines of context to show around each diff hunk. Can be
415
-
# changed from within Lazygit with the `{` and `}` keys.
372
+
# The number of lines of context to show around each diff hunk. Can be changed from within Lazygit with the `{` and `}` keys.
416
373
diffContextSize: 3
417
374
418
-
# The threshold for considering a file to be renamed, in percent. Can be
419
-
# changed from within Lazygit with the `(` and `)` keys.
375
+
# The threshold for considering a file to be renamed, in percent. Can be changed from within Lazygit with the `(` and `)` keys.
420
376
renameSimilarityThreshold: 50
421
377
422
378
# If true, do not spawn a separate process when using GPG
@@ -441,34 +397,29 @@ git:
441
397
# Config for showing the log in the commits view
442
398
log:
443
399
# One of: 'date-order' | 'author-date-order' | 'topo-order' | 'default'
444
-
# 'topo-order' makes it easier to read the git log graph, but commits may
445
-
#not appear chronologically. See https://git-scm.com/docs/
400
+
# 'topo-order' makes it easier to read the git log graph, but commits may not
401
+
# appear chronologically. See https://git-scm.com/docs/
446
402
#
447
-
# Can be changed from within Lazygit with `Log menu -> Commit sort order`
448
-
# (`<c-l>` in the commits window by default).
403
+
# Can be changed from within Lazygit with `Log menu -> Commit sort order` (`<c-l>` in the commits window by default).
449
404
order: topo-order
450
405
451
406
# This determines whether the git graph is rendered in the commits panel
452
407
# One of 'always' | 'never' | 'when-maximised'
453
408
#
454
-
# Can be toggled from within lazygit with `Log menu -> Show git graph`
455
-
# (`<c-l>` in the commits window by default).
409
+
# Can be toggled from within lazygit with `Log menu -> Show git graph` (`<c-l>` in the commits window by default).
456
410
showGraph: always
457
411
458
-
# displays the whole git graph by default in the commits view (equivalent
459
-
# to passing the `--all` argument to `git log`)
412
+
# displays the whole git graph by default in the commits view (equivalent to passing the `--all` argument to `git log`)
460
413
showWholeGraph: false
461
414
462
415
# How branches are sorted in the local branches view.
463
416
# One of: 'date' (default) | 'recency' | 'alphabetical'
464
-
# Can be changed from within Lazygit with the Sort Order menu (`s`) in
465
-
# the branches panel.
417
+
# Can be changed from within Lazygit with the Sort Order menu (`s`) in the branches panel.
466
418
localBranchSortOrder: date
467
419
468
420
# How branches are sorted in the remote branches view.
469
421
# One of: 'date' (default) | 'alphabetical'
470
-
# Can be changed from within Lazygit with the Sort Order menu (`s`) in
471
-
# the remote branches panel.
422
+
# Can be changed from within Lazygit with the Sort Order menu (`s`) in the remote branches panel.
472
423
remoteBranchSortOrder: date
473
424
474
425
# When copying commit hashes to the clipboard, truncate them to this
@@ -496,12 +447,10 @@ refresher:
496
447
# If true, show a confirmation popup before quitting Lazygit
497
448
confirmOnQuit: false
498
449
499
-
# If true, exit Lazygit when the user presses escape in a context where
500
-
# there is nothing to cancel/close
450
+
# If true, exit Lazygit when the user presses escape in a context where there is nothing to cancel/close
501
451
quitOnTopLevelReturn: false
502
452
503
-
# Config relating to things outside of Lazygit like how files are opened,
504
-
# copying to clipboard, etc
453
+
# Config relating to things outside of Lazygit like how files are opened, copying to clipboard, etc
505
454
os:
506
455
# Command for editing a file. Should contain "{{filename}}".
507
456
edit: ""
@@ -539,10 +488,7 @@ os:
539
488
# See https://github.com/jesseduffield/lazygit/blob/master/docs/Config.md#custom-command-for-copying-to-and-pasting-from-clipboard
540
489
readFromClipboardCmd: ""
541
490
542
-
# A shell startup file containing shell aliases or shell functions. This
543
-
# will be sourced before running any shell commands, so that shell
544
-
# functions are available in the `:` command prompt or even in custom
545
-
# commands.
491
+
# A shell startup file containing shell aliases or shell functions. This will be sourced before running any shell commands, so that shell functions are available in the `:` command prompt or even in custom commands.
546
492
# See https://github.com/jesseduffield/lazygit/blob/master/docs/Config.md#using-aliases-or-functions-in-shell-commands
547
493
shellFunctionsFile: ""
548
494
@@ -557,15 +503,13 @@ customCommands: []
557
503
services: {}
558
504
559
505
# What to do when opening Lazygit outside of a git repo.
560
-
# - 'prompt': (default) ask whether to initialize a new repo or open in
561
-
# the most recent repo
506
+
# - 'prompt': (default) ask whether to initialize a new repo or open in the most recent repo
562
507
# - 'create': initialize a new repo
563
508
# - 'skip': open most recent repo
564
509
# - 'quit': exit Lazygit
565
510
notARepository: prompt
566
511
567
-
# If true, display a confirmation when subprocess terminates. This allows
568
-
# you to view the output of the subprocess before returning to Lazygit.
512
+
# If true, display a confirmation when subprocess terminates. This allows you to view the output of the subprocess before returning to Lazygit.
0 commit comments