Skip to content

How to set wrap_results(not wrap for preview window, just the left result lines)? #1565

Answered by ibhagwan
onns asked this question in Q&A
Discussion options

You must be logged in to vote

See man fzf, the default keybind for toggling line wrap is ctrl-/ or alt-/ (you can change that in fzf-lua's keymap.fzf if you wish).

If you like the line wrap you can add that as a default by adding fzf_opts = { ["--wrap"] = true } to your setup options.

To see more screen space you can also:

Press F1 to see all configured binds

  • Try fullscreen with F2
  • Try toggling the preview hide with F4
  • Rotate the preview with F5 and F6 from horizontal to veritcal

I would also recommend trying :FzfLua files path_shorten=true (works with any picker) to reduce the paths to something more manageable.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by onns
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