feat: zsh options
auto-complete and space-to-ignore
This commit is contained in:
parent
83809e1988
commit
786862340e
@ -19,6 +19,7 @@ bindkey '^[[6~' down-line-or-history # PageDown
|
|||||||
HISTSIZE=10000
|
HISTSIZE=10000
|
||||||
SAVEHIST=10000
|
SAVEHIST=10000
|
||||||
HISTFILE=~/.cache/zsh/history
|
HISTFILE=~/.cache/zsh/history
|
||||||
|
setopt hist_ignore_space # Ignore commands preceeded by a space
|
||||||
|
|
||||||
# Basic auto/tab complete:
|
# Basic auto/tab complete:
|
||||||
autoload -U compinit
|
autoload -U compinit
|
||||||
@ -27,6 +28,9 @@ zmodload zsh/complist
|
|||||||
compinit
|
compinit
|
||||||
_comp_options+=(globdots) # Include hidden files.
|
_comp_options+=(globdots) # Include hidden files.
|
||||||
|
|
||||||
|
# Command correction
|
||||||
|
setopt correctall
|
||||||
|
|
||||||
# vi mode
|
# vi mode
|
||||||
bindkey -v
|
bindkey -v
|
||||||
export KEYTIMEOUT=1
|
export KEYTIMEOUT=1
|
||||||
|
Reference in New Issue
Block a user