zsh-users
 help / color / Atom feed
* Using fzf for completions
@ 2020-01-06 13:52 Piers Powlesland
  2020-01-06 13:56 ` Roman Perepelitsa
  0 siblings, 1 reply; 3+ messages in thread
From: Piers Powlesland @ 2020-01-06 13:52 UTC (permalink / raw)
  To: Zsh Users

[-- Attachment #1: Type: text/plain, Size: 579 bytes --]

Hi,

I've been using fzf  for a while now and really like it. It takes any input
via std in lets the user select a line using a fuzzy search and then spits
the selected content back out onto the command-line.

I've set up a few custom widgets with it, open any file under the
current path in vim, switch to another branch ... etc. These all require me
to supply the input explicitly to fzf.

What I would like to do is use fzf for selecting completions as a
replacement for menu selection.

I've had a look through the manual and user guide, but I can't any way to
achieve this.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Using fzf for completions
  2020-01-06 13:52 Using fzf for completions Piers Powlesland
@ 2020-01-06 13:56 ` Roman Perepelitsa
  2020-01-06 15:36   ` Piers Powlesland
  0 siblings, 1 reply; 3+ messages in thread
From: Roman Perepelitsa @ 2020-01-06 13:56 UTC (permalink / raw)
  To: Piers Powlesland; +Cc: Zsh Users

On Mon, Jan 6, 2020 at 2:53 PM Piers Powlesland
<pierspowlesland@gmail.com> wrote:
> What I would like to do is use fzf for selecting completions as a
> replacement for menu selection.

There are several plugins out there that do this. I use
https://github.com/Aloxaf/fzf-tab, which is fairly recent. The
following discussion contains links to alternatives:
https://www.reddit.com/r/zsh/comments/efi857/use_fzf_as_zshs_completion_selection_menu.

Roman.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Using fzf for completions
  2020-01-06 13:56 ` Roman Perepelitsa
@ 2020-01-06 15:36   ` Piers Powlesland
  0 siblings, 0 replies; 3+ messages in thread
From: Piers Powlesland @ 2020-01-06 15:36 UTC (permalink / raw)
  To: Roman Perepelitsa; +Cc: Zsh Users

[-- Attachment #1: Type: text/plain, Size: 628 bytes --]

Hi Roman,

Thanks, that looks great, I'll check it out :)

On Mon, Jan 6, 2020 at 1:56 PM Roman Perepelitsa <
roman.perepelitsa@gmail.com> wrote:

> On Mon, Jan 6, 2020 at 2:53 PM Piers Powlesland
> <pierspowlesland@gmail.com> wrote:
> > What I would like to do is use fzf for selecting completions as a
> > replacement for menu selection.
>
> There are several plugins out there that do this. I use
> https://github.com/Aloxaf/fzf-tab, which is fairly recent. The
> following discussion contains links to alternatives:
>
> https://www.reddit.com/r/zsh/comments/efi857/use_fzf_as_zshs_completion_selection_menu
> .
>
> Roman.
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-06 13:52 Using fzf for completions Piers Powlesland
2020-01-06 13:56 ` Roman Perepelitsa
2020-01-06 15:36   ` Piers Powlesland

zsh-users

Archives are clonable: git clone --mirror http://inbox.vuxu.org/zsh-users

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.zsh.users


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git