From 511c7307b64cb59256e1abaa4f2137e60b2f76ea Mon Sep 17 00:00:00 2001 From: Michael Housh Date: Fri, 4 Apr 2025 17:12:56 -0400 Subject: [PATCH] feat: Updates to git config and snacks.nvim --- git/git/config | 37 ++++++++++++++++++++++++++++ nvim/lazynvim/lua/plugins/snacks.lua | 5 ++++ 2 files changed, 42 insertions(+) diff --git a/git/git/config b/git/git/config index 66062b9..54211ac 100644 --- a/git/git/config +++ b/git/git/config @@ -1,8 +1,10 @@ [core] excludesfile = ~/.config/git/gitignore ignorecasse = false + [init] defaultBranch = main + [user] name = Michael Housh email = michael@mhoush.com @@ -10,21 +12,56 @@ [commit] gpgsign = true + [tag] gpgSign = true + sort = version:refname [color] ui = true + [credential] helper = gopass [credential "https://git.housh.dev"] username = michael + [push] + default = simple autoSetupRemote = true + followTags = true + +[fetch] + prune = true + #pruneTags = true + #all = true + +[pull] + rebase = true + [filter "lfs"] process = git-lfs filter-process required = true clean = git-lfs clean -- %f smudge = git-lfs smudge -- %f +[column] + ui = auto + +[branch] + sort = committerdate + +[diff] + algorithm = histogram + colorMoved = plain + mnemonicPrefix = true + renames = true + +[rerere] + enabled = true + autoupdate = true + +[rebase] + autoSquash = true + autoStash = true + updateRefs = true diff --git a/nvim/lazynvim/lua/plugins/snacks.lua b/nvim/lazynvim/lua/plugins/snacks.lua index 2197719..6ca4ce3 100644 --- a/nvim/lazynvim/lua/plugins/snacks.lua +++ b/nvim/lazynvim/lua/plugins/snacks.lua @@ -6,6 +6,11 @@ return { hidden = true, ignored = true }, + image = { + doc = { + enabled = true, + }, + }, dashboard = { row = nil, col = nil,