From: Sergey Matveev Date: Fri, 3 Jul 2020 12:25:40 +0000 (+0300) Subject: Try alternate F-mappings X-Git-Url: http://www.git.stargrave.org/?p=dotfiles.git;a=commitdiff_plain;h=4cd00b673ce2fdf4ad7a541c51524531518b19d6 Try alternate F-mappings --- diff --git a/zsh/.zshrc b/zsh/.zshrc index 565ac5f..e5dcfaa 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -107,14 +107,14 @@ pushdquiet() { zle reset-prompt } zle -N pushdquiet -bindkey "OS" pushdquiet # F4 +bindkey "OR" pushdquiet # F3 cddotdot() { cd .. zle reset-prompt } zle -N cddotdot -bindkey "[15~" cddotdot # F5 +bindkey "OQ" cddotdot # F2 # }}} # Git {{{ @@ -131,8 +131,8 @@ 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 'setlocal filetype=gitrebase buftype=nofile noswapfile' -" -bindkey -s "OQ" " git status\n" # F2 -bindkey -s "OR" " git status --short\n" # F3 +bindkey -s "[15~" " git status\n" # F5 +bindkey -s "[17~" " git status --short\n" # F6 # }}} # grep {{{