README: add Fedora 21 to fallback up/down bindkey

https://github.com/zsh-users/zsh-history-substring-search/issues/37#issuecomment-96327615
This commit is contained in:
Suraj N. Kurapati 2015-04-26 20:17:10 -07:00
parent 6d7bc718ae
commit c4a83561a1

View file

@ -40,6 +40,11 @@ Usage
bindkey "$terminfo[kcuu1]" history-substring-search-up
bindkey "$terminfo[kcud1]" history-substring-search-down
# bind UP and DOWN arrow keys (compatibility fallback
# for Ubuntu 12.04, Fedora 21, and MacOSX 10.9 users)
bindkey '^[[A' history-substring-search-up
bindkey '^[[B' history-substring-search-down
# bind P and N for EMACS mode
bindkey -M emacs '^P' history-substring-search-up
bindkey -M emacs '^N' history-substring-search-down
@ -48,12 +53,6 @@ Usage
bindkey -M vicmd 'k' history-substring-search-up
bindkey -M vicmd 'j' history-substring-search-down
Ubuntu 12.04 and MacOSX 10.9 users might need to use this snippet instead:
# bind UP and DOWN arrow keys
bindkey '^[[A' history-substring-search-up
bindkey '^[[B' history-substring-search-down
3. Type any part of any previous command and then:
* Press the UP arrow key to select the nearest command that (1) contains