From: Sergey Matveev Date: Wed, 27 May 2020 10:54:29 +0000 (+0300) Subject: More convenient Grr X-Git-Url: http://www.git.stargrave.org/?p=dotfiles.git;a=commitdiff_plain;h=0a6c1602020339c70292037348f89706294cf90a More convenient Grr --- diff --git a/zsh/.zshrc b/zsh/.zshrc index 37e37ae..08beaf1 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -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 "OQ" " git status\n" # F2 bindkey -s "OR" " git status --short\n" # F3