commit 00ca8ee724907661078791a3a35c1081ea215bf7
parent 3c9240fb41f2665b419fffbeff40b6d64e57ee78
Author: Anders Damsgaard <andersd@riseup.net>
Date: Mon, 13 Nov 2017 12:44:27 -0500
add C-p and C-n bindings in Vi mode
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/links/.zshrc b/links/.zshrc
@@ -56,6 +56,8 @@ bindkey -v
bindkey '^R' history-incremental-search-backward
bindkey "^j" history-beginning-search-backward
bindkey "^k" history-beginning-search-forward
+bindkey '^P' up-line-or-search
+bindkey '^N' down-line-or-search
# use Ctrl-Z as fg
fancy-ctrl-z () {