Skip to content

Commit f9e2e48

Browse files
committed
update minimum fzf version in light #302 uses --scheme option
In #302, I forgot that --scheme is a relatively new option for fzf. I should have also made a fzf.fish major release. My bad! Sorry to all Ubuntu users stuck on 0.29. Also shortened the readme a bit.
1 parent cface73 commit f9e2e48

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

README.md

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ First, install a proper version of these CLI dependencies:
8282
| CLI | Minimum version required | Description |
8383
| -------- | ------------------------ | --------------------------------------- |
8484
| [fish][] | 3.4.0 | a modern shell |
85-
| [fzf][] | 0.27.2 | fuzzy finder that powers this plugin |
85+
| [fzf][] | 0.33.0 | fuzzy finder that powers this plugin |
8686
| [fd][] | 8.5.0 | faster, colorized alternative to `find` |
8787
| [bat][] | 0.16.0 | smarter `cat` with syntax highlighting |
8888

@@ -102,7 +102,7 @@ fisher install PatrickF1/fzf.fish
102102

103103
### Customize key bindings
104104

105-
`fzf.fish` includes an ergonomic wrapper for configuring its key bindings. Read [its documentation](/functions/_fzf_configure_bindings_help.fish) with this command:
105+
`fzf.fish` includes an ergonomic wrapper for configuring its key bindings. Read [its documentation](/functions/_fzf_configure_bindings_help.fish):
106106

107107
```fish
108108
fzf_configure_bindings --help
@@ -129,12 +129,9 @@ The following variables can store custom options that will be passed to fzf by t
129129
| Search Processes | `fzf_processes_opts` |
130130
| Search Variables | `fzf_variables_opts` |
131131

132-
They are appended last to fzf's options list. Because fzf uses the last instance of an option if it is specified multiple times, custom options will always take precedence. Custom fzf options unlock a variety of customizations and augmentations such as:
132+
They are appended last to fzf's options list. Because fzf uses the last instance of an option if it is specified multiple times, custom options will always take precedence. Custom fzf options unlock a variety of augmentations:
133133

134-
- add [key bindings](https://www.mankier.com/1/fzf#Key/Event_Bindings) within fzf to operate on the selected line:
135-
- [open file in Vim](https://github.com/PatrickF1/fzf.fish/pull/273)
136-
- [preview image files](https://gitter.im/junegunn/fzf?at=5947962ef6a78eab48620792)
137-
- git reset file
134+
- add [fzf key bindings](https://www.mankier.com/1/fzf#Key/Event_Bindings) to [open files in Vim](https://github.com/PatrickF1/fzf.fish/pull/273)
138135
- adjust the preview command or window
139136
- [re-populate fzf's input list on demand](https://github.com/junegunn/fzf/issues/1750)
140137
- change the [search mode](https://github.com/junegunn/fzf#search-syntax)
@@ -145,13 +142,13 @@ Find more ideas and implementation tips in the [Cookbook](https://github.com/Pat
145142

146143
[Search Directory][], by default, calls `ls` to preview directories and `bat` to preview [regular files](https://stackoverflow.com/questions/6858452).
147144

148-
To use your own directory preview command (e.g. to use one of the many `ls` replacements such as `exa`), set it in `fzf_preview_dir_cmd`:
145+
To use your own directory preview command, set it in `fzf_preview_dir_cmd`:
149146

150147
```fish
151148
set fzf_preview_dir_cmd exa --all --color=always
152149
```
153150

154-
And to use your own file preview command (e.g. to `cat` to avoid having to install `bat`, or to add logic for previewing images), set it in `fzf_preview_file_cmd`:
151+
And to use your own file preview command, set it in `fzf_preview_file_cmd`:
155152

156153
```fish
157154
set fzf_preview_file_cmd cat -n

0 commit comments

Comments
 (0)