jesseduffield / jesseduffield/lazycli

fzf

Open
#25 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
434
Forks
17
PR merge metrics
No merged PRs in 30d

Description

> Q: Isn't this what fzf does?
> A: Not quite: fzf requires you to know the command ahead of time whereas lazycli lets you run commands after presenting you the data, and the content is refreshed after you run the command rather than the program closing (admittedly I haven't used fzf but I'm pretty sure that's all correct).

Actually this can now be done ;)

To take an example from the video:

`FZF_DEFAULT_COMMAND='git log --format=oneline' fzf --bind 'ctrl-o:execute-silent(xdg-open https://github.com/jesseduffield/lazycli/commit/{1})+reload(sh -c "$FZF_DEFAULT_COMMAND")'`

(sorry too lazy to port the `git remote` part)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.