Skip to content

How can I revert to the compat layout? #1298

Answered by WhyNotHugo
WhyNotHugo asked this question in Q&A
Discussion options

You must be logged in to vote

I bisected this to figure out when it changed and it seems to be 8af3a58. Oddly, the commit message comments how the previous default was better UX, so I'm not sure why it was changed. It also explains how to switch back to the previous behaviour.

The full config to restore the compact/clean layout is:

  require("fzf-lua").files({
    cmd = cmd,
    ignore_current_file = true,
    header = false, -- Hide keyboard hints.
    cwd_prompt = false,
    fzf_opts = { ["--info"] = "inline" },
  })

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ibhagwan
Comment options

Answer selected by WhyNotHugo
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