Skip to content

Commit

Permalink
feat(extras): added extra for mini.files
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Jun 22, 2023
1 parent 69bf9e7 commit e624511
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions lua/lazyvim/plugins/extras/editor/mini-files.lua
@@ -0,0 +1,21 @@
return {
"echasnovski/mini.files",
opts = {
windows = {
preview = true,
},
options = {
-- Whether to use for editing directories
-- Disabled by default in LazyVim because neo-tree is used for that
use_as_default_explorer = false,
},
},
keys = {
{
"<leader>fm",
function()
require("mini.files").open(vim.api.nvim_buf_get_name(0), true)
end,
},
},
}

0 comments on commit e624511

Please sign in to comment.