$ command <TAB>
If command has valid zsh completions in context, zsh will show you an interactive list of options to choose from. For example:
$ tmux <TAB>
tmux commands and aliases
attach-session attach -- attach or switch to a session
bind-key bind -- bind a key to a command
break-pane breakp -- break a pane from an existing into a new window
capture-pane capturep -- capture the contents of a pane to a buffer
choose-buffer -- put a pane into buffer choice mode
choose-client -- put a window into client choice mode
choose-tree -- put a window into tree choice mode
clear-history clearhist -- remove and clear history for a pane
clock-mode -- enter clock mode
command-prompt -- open the tmux command prompt in a client
confirm-before confirm -- run a command but ask for confirmation before
copy-mode -- enter copy mode
delete-buffer deleteb -- delete a paste buffer
detach-client detach -- detach a client from the server
display-message display -- display a message in the status line
display-panes displayp -- display an indicator for each visible pane
find-window findw -- search for a pattern in windows
has-session has -- check and report if a session exists on the server
if-shell if -- execute a tmux command if a shell-command succeeded
join-pane joinp -- split a pane and move an existing one into the new space
kill-pane killp -- destroy a given pane
kill-server -- kill clients, sessions and server
...
I'm wondering if anyone found a way to use fzf on these list, or if it's a feature that can be interesting to implement in fzf.
Have you tried fzf-tab?
That's exactly what I was looking for. Thanks!
Most helpful comment
Have you tried fzf-tab?