Skip to content

How do I hide and show preview? #266

Answered by PatrickF1
GZLiew asked this question in Q&A
Discussion options

You must be logged in to vote

Are you asking how to hide and show preview while already in fzf? For that, you'll need to pass in a keybinding to call the toggle-preview action. e.g. set fzf_dir_opts --bind ctrl-h:toggle-preview will allow you to toggle the preview using Ctrl+h for the search files feature.

If you just want to disable it completely, then pass in --preview="".

Edit: just added this to the cookbook https://github.com/PatrickF1/fzf.fish/wiki/Cookbook#how-can-i-toggle-the-preview-window-on-and-off-while-in-fzf.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@GZLiew
Comment options

@PatrickF1
Comment options

Answer selected by GZLiew
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants