return { { "ibhagwan/fzf-lua", event = "VeryLazy", dependencies = { "nvim-tree/nvim-web-devicons" }, config = function() local fzflua = require('fzf-lua') fzflua.register_ui_select() fzflua.setup({ defaults = { headers = false, winopts = { border = "single", width = 0.6, height = 0.5, }, }, files = { previewer = false, winopts = { width = 0.5, height = 0.3, } }, grep = { winopts = { width = 0.7, preview = { layout = "horizontal", horizontal = "right:40%" } }, } }) vim.keymap.set('n', 'ff', fzflua.files, {}) vim.keymap.set('n', 'fe', fzflua.diagnostics_workspace, {}) vim.keymap.set('n', 'fg', fzflua.live_grep, {}) vim.keymap.set('n', 'fb', fzflua.buffers, {}) vim.keymap.set('n', 'fh', fzflua.help_tags, {}) end } }