zsh - How to disable table key in iTerm2 -


i using zsh , iterm2. use tab-key when want autocomplete command. if there no command autocompleted, cursor move forward not want.

so there way disable cursor moves forward when no command can autocompeleted, thanks.

the behaviour of tab on empty line can configured zstyle insert-tab:

zstyle ':completion:*' insert-tab <val> 

where <val> can be

  • true [default]: insert tab character
  • false: perform completion (completion list contains commands)
  • pending or pending=val: insert tab character if there unprocessed input (pasting text), otherwise perform completion

so if don't want insert tab, can set false:

zstyle ':completion:*' insert-tab false 

Comments

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

java - More than one row with the given identifier was found: 1, for class: com.model.Diagnosis -