openbsd-ports/sysutils/fzf/pkg
edd b5c13ad02c sysutils/fzf: Update to version 0.34.0 and use go modules.
Diff sent in from Laurent Cheylus. OK abieber@. Thanks both.
2022-10-25 19:37:08 +00:00
..
DESCR
PLIST drop RCS Ids 2022-03-11 19:57:10 +00:00
README sysutils/fzf: Update to version 0.34.0 and use go modules. 2022-10-25 19:37:08 +00:00

+-------------------------------------------------------------------------------
| Running ${PKGSTEM} on OpenBSD
+-------------------------------------------------------------------------------

Shell Integration
=================

shells/zsh
----------

To enable all support, add this to your ~/.zshrc:

```
autoload _fzf_key_bindings _fzf_completion
_fzf_key_bindings
_fzf_completion
```

_fzf_key_bindings causes zsh to use fzf for things like CTRL+r and CTRL+t,
whereas _fzf_completion makes zsh use fzf for **<tab> completion.

shells/bash
-----------

To enable all support, add this to your ~/.bashrc:

```
source ${BASH_SITE}/key-bindings.bash
source ${BASH_SITE}/completion.bash
```

These two files have the same roles as their zsh counterparts.

shells/fish
-----------

Although the function used to set up fzf is auto-loaded, it can't be used in
the shell config, so we have to source it anyway. Put the following in
~/.config/fish/config.fish:

```
source ${FISH_SITE}/fzf-key-bindings.fish
fzf_key_bindings
```

There is no **<tab> completion support for fish.

VIM Integration
===============

The fzf.vim plugin and documentation are installed at
${VIMFILES}.  That is part of `runtimepath` by default
and will be loaded automatically.

It should be noted that https://github.com/junegunn/fzf.vim are not the
same files, but is built on top of the files installed by this package.