Prechádzať zdrojové kódy

Match ^P and ^N to up/down

Thomas Dy 5 rokov pred
rodič
commit
6c8380d066
1 zmenil súbory, kde vykonal 2 pridanie a 0 odobranie
  1. 2 0
      .zsh/config.zsh

+ 2 - 0
.zsh/config.zsh

@@ -48,6 +48,8 @@ zle -N up-line-or-beginning-search
 zle -N down-line-or-beginning-search
 bindkey "${terminfo[kcuu1]}" up-line-or-beginning-search
 bindkey "${terminfo[kcud1]}" down-line-or-beginning-search
+bindkey "^P" up-line-or-beginning-search
+bindkey "^N" down-line-or-beginning-search
 
 autoload -z edit-command-line
 zle -N edit-command-line