https://github.com/yuki-yano/zsh-fzf-snippet
Manage command snippet with fzf
https://github.com/yuki-yano/zsh-fzf-snippet
Last synced: 26 days ago
JSON representation
Manage command snippet with fzf
- Host: GitHub
- URL: https://github.com/yuki-yano/zsh-fzf-snippet
- Owner: yuki-yano
- Created: 2020-03-02T12:15:07.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-01T13:12:55.000Z (about 5 years ago)
- Last Synced: 2025-04-13T06:13:53.360Z (26 days ago)
- Language: Shell
- Homepage:
- Size: 2.93 KB
- Stars: 8
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# zsh-fzf-snippet
This zsh plugin provides manage command snippet with fzf.
## Demo

## Installation
### Using [zplugin](https://github.com/b4b4r07/zplug)
```zsh
zinit light yuki-ycino/zsh-fzf-snippet
```## For Example
```zsh
$ 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