git_common="--oneline --abbrev-commit"
alias Gl="git log $git_common --graph --decorate=short"
alias Gr="git --no-pager log $git_common -n 20 | perl -ne 'print \"@~\$n \$_\"; \$n++'"
-alias Grr="git --no-pager log $git_common --graph -n 1024 | vi -c 'e ++enc=utf8' -"
+alias Grr="git --no-pager log $git_common --graph -n 1024 | vi -c 'setlocal filetype=gitrebase buftype=nofile noswapfile' -"
bindkey -s "\eOQ" " git status\n" # F2
bindkey -s "\eOR" " git status --short\n" # F3