Skip to content

Instantly share code, notes, and snippets.

@akatrevorjay
Created June 28, 2016 00:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save akatrevorjay/50070b3874c24a94e8a87d63129777a8 to your computer and use it in GitHub Desktop.
Save akatrevorjay/50070b3874c24a94e8a87d63129777a8 to your computer and use it in GitHub Desktop.
Zsh: Insert all completions/matches via bound key
# ^Xa to insert all matches
zle -C all-matches complete-word _generic
bindkey '^Xa' all-matches
zstyle ':completion:all-matches:*' old-matches only
zstyle ':completion:all-matches::::' completer _all_matches
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment