]> Sergey Matveev's repositories - dotfiles.git/blobdiff - zsh/.zshrc
More convenient Grr
[dotfiles.git] / zsh / .zshrc
index 37e37ae484937218bc4eb2651bcc2d8ea732199d..08beaf124ea8bc12e19020015d07c1fc78fd1606 100644 (file)
@@ -98,7 +98,7 @@ alias -g W="| wc -l"
 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