togglable prediction
This commit is contained in:
parent
4e152b8e47
commit
8941d32d45
10
.zshrc
10
.zshrc
@ -86,6 +86,16 @@ zstyle :compinstall filename "$HOME/.zshrc"
|
|||||||
# Always do mid-word tab completion
|
# Always do mid-word tab completion
|
||||||
setopt complete_in_word
|
setopt complete_in_word
|
||||||
|
|
||||||
|
#---------------------------------- Prediction --------------------------------
|
||||||
|
|
||||||
|
autoload predict-on
|
||||||
|
autoload predict-off
|
||||||
|
|
||||||
|
zle -N predict-on
|
||||||
|
zle -N predict-off
|
||||||
|
bindkey "^Z" predict-on # C-z
|
||||||
|
bindkey "^X^Z" predict-off # C-x C-z
|
||||||
|
|
||||||
#---------------------------------- History -----------------------------------
|
#---------------------------------- History -----------------------------------
|
||||||
|
|
||||||
setopt append_history # Allow multiple terminal sessions to all append to one zsh command history
|
setopt append_history # Allow multiple terminal sessions to all append to one zsh command history
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user