From 4cd00b673ce2fdf4ad7a541c51524531518b19d6 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Fri, 3 Jul 2020 15:25:40 +0300 Subject: [PATCH] Try alternate F-mappings --- zsh/.zshrc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 {{{ -- 2.44.0