How can I revert to the compat layout? #1298
-
I recently upgraded 30fb626..98f315b for some newer features, but I prefer the previous layout (it was simple and concise). Basically, the previous layout looked something like this:
The new layout is something like:
I removed the shortcut hint with However, I can't figure out how to remove:
Any hints on tweaking these two? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I forgot to include my code, it's currently: local fzf_lua = require("fzf-lua")
fzf_lua.setup({
winopts = {
split = "belowright new",
preview = {
hidden = "hidden",
},
},
fzf_opts = {
["--layout"] = "default",
},
})
fzf_lua.register_ui_select() And: require("fzf-lua").files({
cmd = cmd,
ignore_current_file = true,
header = false,
}) |
Beta Was this translation helpful? Give feedback.
-
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" },
}) |
Beta Was this translation helpful? Give feedback.
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: