X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=zsh%2Frc;h=a7d81ca6d1bc58dcfa04c818dae2df68981a5159;hb=6626db2476bcf9080b213dea22d7ae5d088d3a2c;hp=f63535523ce90fd170c315ef3ade1ded34ff67c9;hpb=7aa8877e79dfbf5cc22e856c6a1bb8c26083b7ca;p=config%2Fdotfiles.git diff --git a/zsh/rc b/zsh/rc index f635355..a7d81ca 100644 --- a/zsh/rc +++ b/zsh/rc @@ -37,6 +37,9 @@ setopt ignoreeof # Use Vi(m) style key bindings. bindkey -v +# Also use jj to exit insert mode. +bindkey -M viins 'jj' vi-cmd-mode + # I don't need the arrow keys, I use ^N and ^P for this (see below). bindkey -M viins -r '^[OA' bindkey -M viins -r '^[OB'