LazyGit support.

This commit is contained in:
Bartek Stalewski 2024-04-08 23:43:06 +02:00
parent d488104057
commit 5040adf295
No known key found for this signature in database
3 changed files with 31 additions and 0 deletions

23
_cli/lazygit/config.yml Normal file
View File

@ -0,0 +1,23 @@
gui:
language: 'auto' # one of 'auto' | 'en' | 'zh-CN' | 'zh-TW' | 'pl' | 'nl' | 'ja' | 'ko' | 'ru'
timeFormat: '2006-01-02' # https://pkg.go.dev/time#Time.Format
shortTimeFormat: '3:04PM'
theme:
selectedLineBgColor:
- reverse
commitLength:
show: true
mouseEvents: false
showFileTree: false # for rendering changes files in a tree format
showListFooter: true # for seeing the '5 of 20' message in list panels
showRandomTip: false
showCommandLog: false
nerdFontsVersion: "3" # nerd fonts version to use ("2" or "3"); empty means don't show nerd font icons
git:
commit:
signOff: true
mainBranches: [master]
autoFetch: false
autoRefresh: false
disableStartupPopups: true
notARepository: 'skip' # one of: 'prompt' | 'create' | 'skip' | 'quit'

View File

@ -40,6 +40,13 @@ return {
},
},
{
"kdheepak/lazygit.nvim",
keys = {
{ "<leader>lg", "<cmd>LazyGit<cr>", desc = "LazyGit" },
},
}
-- Install a plugin
-- {
-- "max397574/better-escape.nvim",

View File

@ -1,6 +1,7 @@
alias ga='git add .; git commit --no-edit --amend; git push --force-with-lease'
alias gae='git add .; git commit --amend; git push --force-with-lease'
alias less='less -R'
alias lg="lazygit"
alias qt="dbus-run-session qtile start -b wayland"
if [[ $(command -v bat) ]]; then