mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[zsh] comment out expand-or-complete-with-dots
This commit is contained in:
parent
a3c85fa826
commit
9e2fe80dde
1 changed files with 16 additions and 16 deletions
32
zsh/zle.zsh
32
zsh/zle.zsh
|
@ -132,19 +132,19 @@
|
||||||
bindkey "^[P" _palette_widget
|
bindkey "^[P" _palette_widget
|
||||||
# }}}
|
# }}}
|
||||||
|
|
||||||
# expand-or-complete-with-dots {{{
|
# # expand-or-complete-with-dots {{{
|
||||||
expand-or-complete-with-dots() {
|
# expand-or-complete-with-dots() {
|
||||||
local wrap_ctrl_supported
|
# local wrap_ctrl_supported
|
||||||
if (( ${+terminfo[rmam]} && ${+terminfo[smam]} )); then
|
# if (( ${+terminfo[rmam]} && ${+terminfo[smam]} )); then
|
||||||
wrap_ctrl_supported=1
|
# wrap_ctrl_supported=1
|
||||||
fi
|
# fi
|
||||||
# toggle line-wrapping off and back on again
|
# # toggle line-wrapping off and back on again
|
||||||
if [[ -n "$wrap_ctrl_supported" ]]; then echoti rmam; fi
|
# if [[ -n "$wrap_ctrl_supported" ]]; then echoti rmam; fi
|
||||||
print -Pn "%F{red}...%f"
|
# print -Pn "%F{red}...%f"
|
||||||
if [[ -n "$wrap_ctrl_supported" ]]; then echoti smam; fi
|
# if [[ -n "$wrap_ctrl_supported" ]]; then echoti smam; fi
|
||||||
zle expand-or-complete
|
# zle expand-or-complete
|
||||||
zle redisplay
|
# zle redisplay
|
||||||
}
|
# }
|
||||||
zle -N expand-or-complete-with-dots
|
# zle -N expand-or-complete-with-dots
|
||||||
bindkey "^I" expand-or-complete-with-dots
|
# bindkey "^I" expand-or-complete-with-dots
|
||||||
# }}}
|
# # }}}
|
||||||
|
|
Loading…
Reference in a new issue