This is a fzf fork which has the following features:
-
Store the search position in the history, making it possible to resume the last session exactly where it left off. I.e. if fzf is invoked via
fzf --history=<history_file>
, pressingctrl-p
will not only restore the previous search pattern, but also position the cursor to where it was at the previous candidate selection. Multi-selection is restored too, but-m
has to be specified. Without-m
, multi-selection will be ignored even if the history entry has it. -
One line scrolling, similar to vim's
<C-y>
and<C-e>
in normal mode. Two new actions have been added:line-up
andline-down
. -
vim
integration via neoview
Using vim-plug
:
Plug 'mrbiggfoot/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
Or you can do these steps manually, or download the right binary from the releases page, or build from source.
- The candidate list must stay the same accross
fzf
invocations for the resume to work properly. Otherwise, the candidate will be chosen semi-randomly. - The history files created by other versions of
fzf
need to be wiped out.
Junegunn Choi for fzf
.