X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=zsh%2Frc;h=228233b5d48da404bf53d83f3dc762abc8baee88;hb=37a19fecee560a5980ee050924c04c2bcacf4151;hp=d440e2fe630464d84bc641aeb4e5aa3f08320e2f;hpb=7bf679fea082220666c375e347f59f0a4ccde907;p=config%2Fdotfiles.git diff --git a/zsh/rc b/zsh/rc index d440e2f..228233b 100644 --- a/zsh/rc +++ b/zsh/rc @@ -38,12 +38,12 @@ setopt ignoreeof bindkey -v # Also use jj to exit insert mode. -bindkey -M viins 'jj' vi-cmd-mode +bindkey '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' '^[OB' '^[OC' '^[OD' '^[[A' '^[[B' '^[[C' '^[[D' +bindkey -r '^[OA' '^[OB' '^[OC' '^[OD' '^[[A' '^[[B' '^[[C' '^[[D' # Also not in Vi mode. -bindkey -M vicmd -r '^[OA' '^[OB' '^[OC' '^[OD' '^[[A' '^[[B' '^[[C' '^[[D' +bindkey -a -r '^[OA' '^[OB' '^[OC' '^[OD' '^[[A' '^[[B' '^[[C' '^[[D' # FUNCTION SETTINGS