# HG changeset patch # User Mikael Berthe # Date 1342360694 -7200 # Node ID 77db3f389db72e509987ebdbb106b7ff70025740 # Parent e1da4a7a9e9290cfc43960a4242a8cbb0e73e4ac Add history-complete-older/newer shortcuts for vi mode diff -r e1da4a7a9e92 -r 77db3f389db7 zshrc.d/60-vi-showmode.zrc --- a/zshrc.d/60-vi-showmode.zrc Sun Jul 15 15:57:45 2012 +0200 +++ b/zshrc.d/60-vi-showmode.zrc Sun Jul 15 15:58:14 2012 +0200 @@ -228,6 +228,8 @@ bindkey -M viins '^O' accept-line-and-down-history bindkey -M viins '^T' transpose-chars bindkey -M viins '^Xm' _most_recent_file +bindkey -M viins '^P' _history-complete-older +bindkey -M viins '^N' _history-complete-newer bindkey -M viins -s '^X^H' 'hash -r\n'