From d572253f235621e4575d9328232d76eefce20a0f Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 14 Jul 2016 10:53:46 +0200 Subject: zsh: Add historic word completion to M-Tab --- tag-zsh/config/zsh/zshrc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tag-zsh/config/zsh') diff --git a/tag-zsh/config/zsh/zshrc b/tag-zsh/config/zsh/zshrc index 6e034e9e..3879f6a0 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 -- cgit 1.4.1