Thu, 16 Jun 2016 17:31:32 -0400
simplify git bre
.gitconfig | file | annotate | diff | comparison | revisions |
--- 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