Manage command snippet with fzf
This zsh plugin provides manage command snippet with fzf.
zinit light yuki-ycino/zsh-fzf-snippet
$ mkdir -p ~/.config/fzf-snippets
$ echo 'foo: foo command' > ~/.config/fzf-snippets/snippets
$ echo 'bar: bar command' >> ~/.config/fzf-snippets/snippets
$ echo 'foo command description' > ~/.config/fzf-snippets/foo
$ echo 'bar command description' > ~/.config/fzf-snippets/bar
Press Ctrl-x Ctrl-s to open fzf and select snippet. Press ctrl-e to open the description file in the editor