Permalink
Browse files

Fix vi-mode mapping

  • Loading branch information...
1 parent bc17b14 commit 6b6265595f6c8d0dc999281dbc281cb99c090378 @dmedvinsky committed Mar 27, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 zshrc
View
3 zshrc
@@ -107,7 +107,6 @@ alias gcount='git shortlog -sn';
function collapse_pwd {
echo $(pwd | sed -e "s,^$HOME,~,")
}
-
function prompt_char {
git branch >/dev/null 2>/dev/null && echo '±' && return
hg root >/dev/null 2>/dev/null && echo '' && return
@@ -135,7 +134,7 @@ bindkey -M vicmd "^M" accept-line
bindkey -M vicmd "v" edit-command-line
bindkey -M vicmd "gg" beginning-of-history
bindkey -M vicmd "G" end-of-history
-bindkey -M vicmd "p" history-search-backward
+bindkey -M vicmd "N" history-search-backward
bindkey -M vicmd "n" history-search-forward
bindkey -M vicmd "?" history-incremental-search-backward
bindkey -M vicmd "/" history-incremental-search-forward

0 comments on commit 6b62655

Please sign in to comment.