yuki-yano / zsh-fzf-snippet

Manage command snippet with fzf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

zsh-fzf-snippet

This zsh plugin provides manage command snippet with fzf.

Demo

zsh-fzf-snippet

Installation

Using zplugin

zinit light yuki-ycino/zsh-fzf-snippet

For Example

$ 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

About

Manage command snippet with fzf


Languages

Language:Shell 100.0%