Better example

pull/3746/head
Junegunn Choi 3 weeks ago
parent e4aa5bef1a
commit a42ecd7209
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

@ -5,7 +5,14 @@ CHANGELOG
------
- Added `--with-shell` option to start child processes with a custom shell command and flags
```sh
gem list | fzf --with-shell 'ruby -e' --preview 'pp Gem::Specification.find_by_name({1})'
gem list | fzf --with-shell 'ruby -e' \
--preview 'pp Gem::Specification.find_by_name({1})' \
--bind 'ctrl-o:execute-silent:
spec = Gem::Specification.find_by_name({1})
[spec.homepage, *spec.metadata.filter { _1.end_with?("uri") }.values].uniq.each do
system "open", _1
end
'
```
- Added `change-multi` action for dynamically changing `--multi` option
- `change-multi` - enable multi-select mode with no limit

Loading…
Cancel
Save