Update my zshrc with additional files, it was getting unruly, despite my hope with plugins/etc
This commit is contained in:
19
zsh/lib/autocomplete_overrides.zsh
Normal file
19
zsh/lib/autocomplete_overrides.zsh
Normal file
@ -0,0 +1,19 @@
|
||||
# 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 )'
|
Reference in New Issue
Block a user