mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2025-01-03 15:17:25 +00:00
0.43.0
This commit is contained in:
parent
3e1735b06e
commit
d3311d9f43
@ -3,20 +3,20 @@ CHANGELOG
|
|||||||
|
|
||||||
0.43.0
|
0.43.0
|
||||||
------
|
------
|
||||||
- Experimental, partial support for Kitty image protocol in the preview window
|
- (Experimental) Added support for Kitty image protocol in the preview window
|
||||||
```sh
|
```sh
|
||||||
fzf --preview='
|
fzf --preview='
|
||||||
if file --mime-type {} | grep -qF image/; then
|
if file --mime-type {} | grep -qF image/; then
|
||||||
# --transfer-mode=memory is the fastest option but if you want fzf to be able
|
# --transfer-mode=memory is the fastest option but if you want fzf to be able
|
||||||
# to redraw the image on terminal resize or on 'change-preview-window',
|
# to redraw the image on terminal resize or on 'change-preview-window',
|
||||||
# you need to use --transfer-mode=stream.
|
# you need to use --transfer-mode=stream.
|
||||||
kitty icat --clear --transfer-mode=memory --stdin=no --place=${FZF_PREVIEW_COLUMNS}x${FZF_PREVIEW_LINES}@0x0 {}
|
kitty icat --clear --transfer-mode=memory --stdin=no --place=${FZF_PREVIEW_COLUMNS}x${FZF_PREVIEW_LINES}@0x0 {} | sed \$d
|
||||||
else
|
else
|
||||||
bat --color=always {}
|
bat --color=always {}
|
||||||
fi
|
fi
|
||||||
'
|
'
|
||||||
```
|
```
|
||||||
- `--listen` server can report program state in JSON format (`GET /`)
|
- (Experimental) `--listen` server can report program state in JSON format (`GET /`)
|
||||||
```sh
|
```sh
|
||||||
# fzf server started in "headless" mode
|
# fzf server started in "headless" mode
|
||||||
fzf --listen 6266 2> /dev/null
|
fzf --listen 6266 2> /dev/null
|
||||||
|
@ -740,7 +740,7 @@ Kitty, you can make fzf display an image in the preview window.
|
|||||||
```sh
|
```sh
|
||||||
fzf --preview='
|
fzf --preview='
|
||||||
if file --mime-type {} | grep -qF image/; then
|
if file --mime-type {} | grep -qF image/; then
|
||||||
kitty icat --clear --transfer-mode=memory --stdin=no --place=${FZF_PREVIEW_COLUMNS}x${FZF_PREVIEW_LINES}@0x0 {}
|
kitty icat --clear --transfer-mode=memory --stdin=no --place=${FZF_PREVIEW_COLUMNS}x${FZF_PREVIEW_LINES}@0x0 {} | sed \$d
|
||||||
else
|
else
|
||||||
bat --color=always {}
|
bat --color=always {}
|
||||||
fi
|
fi
|
||||||
|
2
install
2
install
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
set -u
|
set -u
|
||||||
|
|
||||||
version=0.42.0
|
version=0.43.0
|
||||||
auto_completion=
|
auto_completion=
|
||||||
key_bindings=
|
key_bindings=
|
||||||
update_config=2
|
update_config=2
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
$version="0.42.0"
|
$version="0.43.0"
|
||||||
|
|
||||||
$fzf_base=Split-Path -Parent $MyInvocation.MyCommand.Definition
|
$fzf_base=Split-Path -Parent $MyInvocation.MyCommand.Definition
|
||||||
|
|
||||||
|
2
main.go
2
main.go
@ -5,7 +5,7 @@ import (
|
|||||||
"github.com/junegunn/fzf/src/protector"
|
"github.com/junegunn/fzf/src/protector"
|
||||||
)
|
)
|
||||||
|
|
||||||
var version string = "0.42"
|
var version string = "0.43"
|
||||||
var revision string = "devel"
|
var revision string = "devel"
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
THE SOFTWARE.
|
THE SOFTWARE.
|
||||||
..
|
..
|
||||||
.TH fzf-tmux 1 "Jun 2023" "fzf 0.42.0" "fzf-tmux - open fzf in tmux split pane"
|
.TH fzf-tmux 1 "Oct 2023" "fzf 0.43.0" "fzf-tmux - open fzf in tmux split pane"
|
||||||
|
|
||||||
.SH NAME
|
.SH NAME
|
||||||
fzf-tmux - open fzf in tmux split pane
|
fzf-tmux - open fzf in tmux split pane
|
||||||
|
@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
THE SOFTWARE.
|
THE SOFTWARE.
|
||||||
..
|
..
|
||||||
.TH fzf 1 "Jun 2023" "fzf 0.42.0" "fzf - a command-line fuzzy finder"
|
.TH fzf 1 "Oct 2023" "fzf 0.43.0" "fzf - a command-line fuzzy finder"
|
||||||
|
|
||||||
.SH NAME
|
.SH NAME
|
||||||
fzf - a command-line fuzzy finder
|
fzf - a command-line fuzzy finder
|
||||||
@ -598,7 +598,7 @@ so if you use Kitty, you can make fzf display an image in the preview window.
|
|||||||
e.g.
|
e.g.
|
||||||
\fBfzf --preview='
|
\fBfzf --preview='
|
||||||
if file --mime-type {} | grep -qF "image/"; then
|
if file --mime-type {} | grep -qF "image/"; then
|
||||||
kitty icat --clear --transfer-mode=memory --stdin=no --place=${FZF_PREVIEW_COLUMNS}x${FZF_PREVIEW_LINES}@0x0 {}
|
kitty icat --clear --transfer-mode=memory --stdin=no --place=${FZF_PREVIEW_COLUMNS}x${FZF_PREVIEW_LINES}@0x0 {} | sed \\$d
|
||||||
else
|
else
|
||||||
bat --color=always {}
|
bat --color=always {}
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user