.gitconfig

changeset 337
1aed142faa16
parent 336
a921d84589cf
child 338
296f4b036ae3
--- a/.gitconfig
+++ b/.gitconfig
@@ -31,8 +31,7 @@
 	ctags   = "!~/.git_helpers/ctags"
 	glog    = log --graph --pretty=onelinecustom
 	recent  = !sh -c 'git for-each-ref --count=${1:-20} --sort=-committerdate --format=\"%(committerdate:short) %(refname:short)\"' "$@"
-	bre     = !vim $(git diff --name-only @{u}..)
-	brer    = !vim --remote $(git diff --name-only @{u}..)
+	bre     = !$EDITOR $@ $(git diff --name-only @{u}..)
 
 [pretty]
 	onelinecustom = tformat:%C(magenta)%h%Creset -%C(yellow)%d%Creset %s %C(green)(%cr)%Creset %C(cyan)<%an>%Creset

mercurial