]> Sergey Matveev's repositories - dotfiles.git/commitdiff
Try alternate F-mappings
authorSergey Matveev <stargrave@stargrave.org>
Fri, 3 Jul 2020 12:25:40 +0000 (15:25 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Fri, 3 Jul 2020 12:25:40 +0000 (15:25 +0300)
zsh/.zshrc

index 565ac5fa7dc7adb2bb661af5a748ddb1d09c6c69..e5dcfaa5b2838714c87a4ed300fdd966ed14b622 100644 (file)
@@ -107,14 +107,14 @@ pushdquiet() {
     zle reset-prompt
 }
 zle -N pushdquiet
-bindkey "\eOS" pushdquiet # F4
+bindkey "\eOR" pushdquiet # F3
 
 cddotdot() {
     cd ..
     zle reset-prompt
 }
 zle -N cddotdot
-bindkey "\e[15~" cddotdot # F5
+bindkey "\eOQ" 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 "\eOQ" " git status\n" # F2
-bindkey -s "\eOR" " git status --short\n" # F3
+bindkey -s "\e[15~" " git status\n" # F5
+bindkey -s "\e[17~" " git status --short\n" # F6
 # }}}
 
 # grep {{{