Skip to content

Commit 4f61bb3

Browse files
authored
Update default git editor
1 parent 3d397db commit 4f61bb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.gitconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
--since='9am yesterday' \
2929
--format=%s
3030
[core]
31-
editor = /usr/local/bin/vim
31+
editor = $(command -v nvim || command -v vim || command -v vi || command -v nano)
3232
autocrlf = input
3333
# excludesfile = /Users/mul14/.gitignore_global
3434
pager = diff-highlight | less -r

0 commit comments

Comments
 (0)