summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrahmajit Das <listout@listout.xyz>2026-02-10 22:37:18 +0000
committerBrahmajit Das <listout@listout.xyz>2026-02-10 22:37:18 +0000
commit3be6d754ef837d57ba8c697afc48bf587192bacf (patch)
tree5a393f63078ee1e054a6fca5ea941c97716f9ecd
parent1dfb1ffdc2762cd860a1407d4beadd79d4fbeda8 (diff)
downloaddots-3be6d754ef837d57ba8c697afc48bf587192bacf.tar.gz
git: config: minor improvements
- set filetype to git when using nvim as the pager - set commit verbosity to max, this shows the diff while committing Signed-off-by: Brahmajit Das <listout@listout.xyz>
-rw-r--r--.config/git/config3
1 files changed, 2 insertions, 1 deletions
diff --git a/.config/git/config b/.config/git/config
index 8cf70ab..de72cf1 100644
--- a/.config/git/config
+++ b/.config/git/config
@@ -1,5 +1,5 @@
[core]
- pager = nvim -R -
+ pager = nvim -R -c 'set ft=git' -
abbrev = 12
[pretty]
fixes = Fixes: %h (\"%s\")
@@ -7,6 +7,7 @@
ui = false
[commit]
gpgsign = true
+ verbose = true
[merge]
tool = vimdiff
[mergetool]