diff options
author | Alan Pearce | 2016-07-14 10:53:46 +0200 |
---|---|---|
committer | Alan Pearce | 2016-07-14 10:53:46 +0200 |
commit | d572253f235621e4575d9328232d76eefce20a0f (patch) | |
tree | fc89779f3ceec1f872c165ed2cf7424122af15db | |
parent | d373f6e27091bde2553466a83766fc096982be9e (diff) | |
download | dotfiles-d572253f235621e4575d9328232d76eefce20a0f.tar.lz dotfiles-d572253f235621e4575d9328232d76eefce20a0f.tar.zst dotfiles-d572253f235621e4575d9328232d76eefce20a0f.zip |
zsh: Add historic word completion to M-Tab
-rw-r--r-- | tag-zsh/config/zsh/zshrc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tag-zsh/config/zsh/zshrc b/tag-zsh/config/zsh/zshrc index 6e034e9..3879f6a 100644 --- a/tag-zsh/config/zsh/zshrc +++ b/tag-zsh/config/zsh/zshrc @@ -78,6 +78,10 @@ bindkey '\e^b' backward-argument bindkey '\e^f' forward-argument bindkey '\e^k' kill-argument +zle -C hist-complete complete-word _generic +zstyle ':completion:hist-complete:*' completer _history +bindkey '\e ' hist-complete + zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}' '+m:{A-Z}={a-z}' zstyle ':completion:*' completer _expand _complete _match |