return { 'ibhagwan/fzf-lua', requires = { 'nvim-tree/nvim-web-devicons' }, keys = { { "/c", function() require("fzf-lua").commands() end, desc = "Search commands" }, { "/C", function() require("fzf-lua").command_history() end, desc = "Search command history" }, { "/f", function() require("fzf-lua").files() end, desc = "Find files" }, { "/o", function() require("fzf-lua").oldfiles() end, desc = "Find files" }, { "/h", function() require("fzf-lua").highlights() end, desc = "Search highlights" }, { "/M", function() require("fzf-lua").marks() end, desc = "Search marks" }, { "/k", function() require("fzf-lua").keymaps() end, desc = "Search keymaps" }, { "/t", function() require("fzf-lua").treesitter() end, desc = "Search treesitter" }, { "/gf", function() require("fzf-lua").git_files() end, desc = "Find git files" }, { "/gb", function() require("fzf-lua").git_branches() end, desc = "Search git branches" }, { "/gc", function() require("fzf-lua").git_commits() end, desc = "Search git commits" }, { "/gC", function() require("fzf-lua").git_bcommits() end, desc = "Search git buffer commits" }, { "bc", function() require("fzf-lua").git_bcommits() end, desc = "Search git buffer commits" }, { "//", function() require("fzf-lua").resume() end, desc = "Resume FZF" }, }, config = function() require('fzf-lua').setup({ keymap = { fzf = { ['CTRL-Q'] = 'select-all+accept', }, }, }) end, init = function() require("fzf-lua").register_ui_select() end }