return { { "folke/flash.nvim", opts = { modes = { search = { enabled = false }, }, }, }, { "MagicDuck/grug-far.nvim", keys = { { "sw", function() require('grug-far').open({ prefills = { flags = '-w', search = vim.fn.expand(""), }}) end, desc = "Grug: word\\cursor", }, }, }, { "Darazaki/indent-o-matic", event = "LazyFile", opts = { max_lines = 100 }, }, { "nvim-neo-tree/neo-tree.nvim", keys = { { "E", function() require("neo-tree.command").execute({action="show", reveal=true}) end, desc = "NeoTree: reveal file", }, }, opts = { event_handlers = { { event = "file_opened", handler = function() --auto close require("neo-tree.command").execute({ action = "close" }) end, }, }, filesystem = { bind_to_cwd = false, follow_current_file = { enabled = false, leave_dirs_open = true, }, }, }, }, { "debugloop/telescope-undo.nvim", dependencies = { { "nvim-telescope/telescope.nvim", dependencies = { "nvim-lua/plenary.nvim" }, }, }, keys = { { "uu", "Telescope undo", desc = "Telescope undo" }, }, opts = { extensions = { undo = { use_delta = true }, }, }, config = function(_, opts) require("telescope").setup(opts) require("telescope").load_extension("undo") end, }, }