Fzf: Vim navigation in fzf preview window

Created on 10 Jan 2020  路  1Comment  路  Source: junegunn/fzf

  • [x] I have read through the manual page (man fzf)
  • [x] I have the latest version of fzf
  • [x] I have searched through the existing issues

    Information

A feature to use hjkl keys to navigate file list in fzf preview window command. Allow users to enable this feature on/off, i.e by default input in fzf widow does not search for file name matching.
Allowing users to switch focus to preview window and uses hjkl bindings to scroll files would also be great.

feature wontfix

Most helpful comment

Thanks for the suggestion, but I'm not interested in adding mode switching to fzf to keep it simple.

You can bind j and k to down and up although you can't turn it off.

fzf --preview 'cat {}' --bind 'j:down,k:up,ctrl-j:preview-down,ctrl-k:preview-up'

>All comments

Thanks for the suggestion, but I'm not interested in adding mode switching to fzf to keep it simple.

You can bind j and k to down and up although you can't turn it off.

fzf --preview 'cat {}' --bind 'j:down,k:up,ctrl-j:preview-down,ctrl-k:preview-up'
Was this page helpful?
0 / 5 - 0 ratings

Related issues

chrisamow picture chrisamow  路  3Comments

jan-warchol picture jan-warchol  路  3Comments

asilvadesigns picture asilvadesigns  路  3Comments

alistaircolling picture alistaircolling  路  3Comments

sandric picture sandric  路  3Comments