mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-19 09:03:43 -05:00
Updated Examples (markdown)
20
Examples.md
20
Examples.md
@@ -17,6 +17,7 @@ Table of Contents
|
|||||||
* [Tags](#tags)
|
* [Tags](#tags)
|
||||||
* [tmux](#tmux)
|
* [tmux](#tmux)
|
||||||
* [ASDF](#asdf)
|
* [ASDF](#asdf)
|
||||||
|
* [Images](#images)
|
||||||
* [apt](#apt)
|
* [apt](#apt)
|
||||||
* [Homebrew](#homebrew)
|
* [Homebrew](#homebrew)
|
||||||
* [v](#v)
|
* [v](#v)
|
||||||
@@ -764,6 +765,25 @@ vmc() {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Images
|
||||||
|
|
||||||
|
[fzfimg](https://github.com/seebye/ueberzug/blob/master/examples/fzfimg.sh) allows to display images.
|
||||||
|
It's a wrapper script, so it supports the same options as fzf does.
|
||||||
|
Examples:
|
||||||
|
|
||||||
|
* draw the selected image `fzfimg.sh`
|
||||||
|
* draw always the same image
|
||||||
|
```bash
|
||||||
|
fzfimg.sh --preview 'draw_preview /some/path/some-image.png'
|
||||||
|
```
|
||||||
|
* change the preview window
|
||||||
|
```bash
|
||||||
|
fzfimg.sh --preview-window top:80% --cycle
|
||||||
|
fzfimg.sh --preview-window bottom:80% --reverse
|
||||||
|
fzfimg.sh --preview-window left:50
|
||||||
|
fzfimg.sh --preview-window right:80%
|
||||||
|
```
|
||||||
|
|
||||||
### Apt
|
### Apt
|
||||||
|
|
||||||
[fzf-apt](https://github.com/krickelkrakel/fzf-apt): Select apt packages and build commands based on the selected packages.
|
[fzf-apt](https://github.com/krickelkrakel/fzf-apt): Select apt packages and build commands based on the selected packages.
|
||||||
|
|||||||
Reference in New Issue
Block a user