Skip to content
Discussion options

You must be logged in to vote

You can specify preview = … without icons, here’s the default command, don’t forget to use {2} as your fzf field index:

opts.preview = (function()
if opts.preview then return opts.preview end
return vim.fn.executable("lsd") == 1
and "lsd -la --color=always --icon=always --group-directories-first --literal {2}"
or vim.fn.executable("eza") == 1
and "eza -la --color=always --icons -g --group-directories-first {2}"
or "ls -la {2}"
end)()

Replies: 1 comment

Comment options

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