diff options
author | L.C. Karssen <lennart@karssen.org> | 2016-03-07 22:09:02 +0100 |
---|---|---|
committer | L.C. Karssen <lennart@karssen.org> | 2016-03-07 22:09:02 +0100 |
commit | cfac963772718723589bf7293be0a53f79511b24 (patch) | |
tree | 1c0f680591d81ecfaff8932d07f8131f4a6fd45c /plugins/zsh-navigation-tools/n-list-input | |
parent | 0a47451a462284d20c633a7d6b3431a71bf65759 (diff) | |
parent | bd6dbd1d9b1fc8a523aaf588492eb3ed4113b49d (diff) | |
download | zsh-cfac963772718723589bf7293be0a53f79511b24.tar.gz zsh-cfac963772718723589bf7293be0a53f79511b24.tar.bz2 zsh-cfac963772718723589bf7293be0a53f79511b24.zip |
Merge branch 'master' of git://github.com/robbyrussell/oh-my-zsh
Diffstat (limited to 'plugins/zsh-navigation-tools/n-list-input')
-rw-r--r-- | plugins/zsh-navigation-tools/n-list-input | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/zsh-navigation-tools/n-list-input b/plugins/zsh-navigation-tools/n-list-input index 380acdc00..957cd5a0b 100644 --- a/plugins/zsh-navigation-tools/n-list-input +++ b/plugins/zsh-navigation-tools/n-list-input @@ -44,7 +44,7 @@ case "$key" in [ "$current_idx" -lt "$last_element" ] && current_idx=current_idx+1; _nlist_compute_first_to_show_idx ;; - (PPAGE) + (PPAGE|$'\b'|$'\C-?'|BACKSPACE) current_idx=current_idx-page_height [ "$current_idx" -lt 1 ] && current_idx=1; _nlist_compute_first_to_show_idx @@ -72,7 +72,7 @@ case "$key" in current_idx=last_element _nlist_compute_first_to_show_idx ;; - ($'\n') + ($'\n'|ENTER) # Is that element selectable? # Check for this only when there is no search if [[ "$NLIST_SEARCH_BUFFER" != "" || "$NLIST_IS_UNIQ_MODE" -eq 1 || @@ -137,7 +137,7 @@ esac else case "$key" in - ($'\n') + ($'\n'|ENTER) search=0 _nlist_cursor_visibility 0 ;; |