lazycli
lazycli copied to clipboard
fzf
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)