20 lines
899 B
Bash
20 lines
899 B
Bash
# Fix zsh-autocomplete assumptions
|
|
# use the standard up/down history scroll, access menu with A-up/A-down
|
|
#bindkey "^[[A" .up-line-or-history
|
|
#bindkey "^[[B" .down-line-or-history
|
|
|
|
# Use Tab and S-TAb to cycle through completions
|
|
# noac - bindkey '^I' menu-complete
|
|
# noac - bindkey "$terminfo[kcbt]" reverse-menu-complete
|
|
|
|
# Allow the arrow keys to scroll within the selected command line input
|
|
# noac - bindkey -M menuselect '^[[D' .backward-char '^[OD' .backward-char
|
|
# noac - bindkey -M menuselect '^[[C' .forward-char '^[OC' .forward-char
|
|
|
|
# Make [enter] submit the commandline straight from the menu, tab or arrows to edit
|
|
# noac - bindkey -M menuselect '\r' .accept-line
|
|
|
|
# Limit autocomplete results to 1/4 of the screen height
|
|
#zstyle -e ':autocomplete:*:*' list-lines 'reply=( $(( LINES / 4 )) )'
|
|
# noac - zstyle -e ':autocomplete:*:*' list-lines 'reply=( 6 )'
|