[nvim] add lazygit integration

This commit is contained in:
Marco Thomas
2022-12-06 11:32:44 +01:00
parent 013c4722f1
commit a702646ffc
5 changed files with 246 additions and 32 deletions

View File

@@ -0,0 +1,229 @@
gui:
authorColors: { '*': 'blue' }
branchColors: {}
scrollHeight: 2
scrollPastBottom: true
mouseEvents: true
skipUnstageLineWarning: false
skipStashWarning: false
sidePanelWidth: 0.3333
expandFocusedSidePanel: false
mainPanelSplitMode: flexible
language: auto
timeFormat: 02 Jan 06 15:04 MST
theme:
activeBorderColor:
- green
- bold
inactiveBorderColor:
- default
optionsTextColor:
- blue
selectedLineBgColor:
- #000000
selectedRangeBgColor:
- blue
cherryPickedCommitBgColor:
- cyan
cherryPickedCommitFgColor:
- blue
unstagedChangesColor:
- red
commitLength:
show: true
skipNoStagedFilesWarning: false
showListFooter: true
showFileTree: true
showRandomTip: true
showCommandLog: false
showBottomLine: false
showIcons: false
commandLogSize: 8
splitDiff: auto
git:
paging:
colorArg: always
pager: ""
useConfig: false
commit:
signOff: false
merging:
manualCommit: false
args: ""
skipHookPrefix: WIP
autoFetch: true
autoRefresh: true
branchLogCmd: git log --graph --color=always --abbrev-commit --decorate --date=relative --pretty=medium {{branchName}} --
allBranchesLogCmd: git log --graph --all --color=always --abbrev-commit --decorate --date=relative --pretty=medium
overrideGpg: false
disableForcePushing: false
commitPrefixes: {}
parseEmoji: false
log:
order: topo-order
showGraph: when-maximised
showWholeGraph: false
diffContextSize: 3
update:
method: prompt
days: 14
refresher:
refreshInterval: 10
fetchInterval: 60
reporting: undetermined
splashUpdatesIndex: 0
confirmOnQuit: false
quitOnTopLevelReturn: false
keybinding:
universal:
quit: q
quit-alt1: <c-c>
return: <esc>
quitWithoutChangingDirectory: Q
togglePanel: <tab>
prevItem: <up>
nextItem: <down>
prevItem-alt: k
nextItem-alt: j
prevPage: ','
nextPage: .
scrollLeft: H
scrollRight: L
gotoTop: <
gotoBottom: '>'
prevBlock: <left>
nextBlock: <right>
prevBlock-alt: h
nextBlock-alt: l
nextBlock-alt2: <tab>
prevBlock-alt2: <backtab>
jumpToBlock:
- "1"
- "2"
- "3"
- "4"
- "5"
nextMatch: "n"
prevMatch: "N"
startSearch: /
optionMenu: x
optionMenu-alt1: '?'
select: <space>
goInto: <enter>
confirm: <enter>
confirm-alt1: "y"
remove: d
new: "n"
edit: e
openFile: o
scrollUpMain: <pgup>
scrollDownMain: <pgdown>
scrollUpMain-alt1: K
scrollDownMain-alt1: J
scrollUpMain-alt2: <c-u>
scrollDownMain-alt2: <c-d>
executeCustomCommand: ':'
createRebaseOptionsMenu: m
pushFiles: P
pullFiles: p
refresh: R
createPatchOptionsMenu: <c-p>
nextTab: ']'
prevTab: '['
nextScreenMode: +
prevScreenMode: _
undo: z
redo: <c-z>
filteringMenu: <c-s>
diffingMenu: W
diffingMenu-alt: <c-e>
copyToClipboard: <c-o>
openRecentRepos: <c-r>
submitEditorText: <enter>
appendNewline: <a-enter>
extrasMenu: '@'
toggleWhitespaceInDiffView: <c-w>
increaseContextInDiffView: '}'
decreaseContextInDiffView: '{'
status:
checkForUpdate: u
recentRepos: <enter>
allBranchesLogGraph: a
files:
commitChanges: c
commitChangesWithoutHook: w
amendLastCommit: A
commitChangesWithEditor: C
IgnoreOrExcludeFile: i
refreshFiles: r
stashAllChanges: s
viewStashOptions: S
toggleStagedAll: a
viewResetOptions: D
fetch: f
toggleTreeView: '`'
openMergeTool: M
openStatusFilter: <c-b>
branches:
createPullRequest: o
viewPullRequestOptions: O
copyPullRequestURL: <c-y>
checkoutBranchByName: c
forceCheckoutBranch: F
rebaseBranch: r
renameBranch: R
mergeIntoCurrentBranch: M
viewGitFlowOptions: i
fastForward: f
pushTag: P
setUpstream: u
fetchRemote: f
commits:
squashDown: s
renameCommit: r
renameCommitWithEditor: R
viewResetOptions: g
markCommitAsFixup: f
createFixupCommit: F
squashAboveCommits: S
moveDownCommit: <c-j>
moveUpCommit: <c-k>
amendToCommit: A
resetCommitAuthor: a
pickCommit: p
revertCommit: t
cherryPickCopy: c
cherryPickCopyRange: C
pasteCommits: v
tagCommit: T
checkoutCommit: <space>
resetCherryPick: <c-R>
copyCommitAttributeToClipboard: "y"
openLogMenu: <c-l>
openInBrowser: o
viewBisectOptions: b
stash:
popStash: g
renameStash: r
commitFiles:
checkoutCommitFile: c
main:
toggleDragSelect: v
toggleDragSelect-alt: V
toggleSelectHunk: a
pickBothHunks: b
editSelectHunk: E
submodules:
init: i
update: u
bulkMenu: b
os:
openCommand: xdg-open {{filename}} >/dev/null
openLinkCommand: xdg-open {{link}} >/dev/null
disableStartupPopups: false
customCommands: []
services: {}
notARepository: prompt
promptToReturnFromSubprocess: true

View File

@@ -0,0 +1,7 @@
lastupdatecheck: 0
recentrepos:
- /home/marc/.dots
- /home/marc/dev/python/ihk-matse-ap
startuppopupversion: 5
customcommandshistory: []
hidecommandlog: false