fzf command-options completion in zsh?

Created on 14 Feb 2020  路  2Comments  路  Source: junegunn/fzf

$ 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.

Most helpful comment

Have you tried fzf-tab?

All 2 comments

Have you tried fzf-tab?

That's exactly what I was looking for. Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sandric picture sandric  路  3Comments

firedev picture firedev  路  3Comments

asilvadesigns picture asilvadesigns  路  3Comments

nordlow picture nordlow  路  3Comments

jberglinds picture jberglinds  路  3Comments