diff --git a/nvim/lua/plugins/pickers.lua b/nvim/lua/plugins/pickers.lua index 58c88a1..e848db6 100644 --- a/nvim/lua/plugins/pickers.lua +++ b/nvim/lua/plugins/pickers.lua @@ -7,6 +7,12 @@ return { preview = "main", preset = "ivy", }, + sources = { + explorer = { + auto_close = true, + layout = { preset = "sidebar", preview = "top" }, + } + } }, terminal = { win = { @@ -18,18 +24,7 @@ return { }, }, keys = { - { - "`", - function() - Snacks.explorer( - { - auto_close = true, - layout = { preset = "sidebar", preview = "main" }, - } - ) - end, - desc = "File Explorer" - }, + { "`", function() Snacks.explorer() end, desc = "File Explorer" }, { "s", function() Snacks.picker.lsp_symbols() end, desc = "LSP Symbols" }, { "gd", function() Snacks.picker.lsp_definitions() end, desc = "Goto Definition" }, { "gD", function() Snacks.picker.lsp_declarations() end, desc = "Goto Declaration" },