Skip to content

Commit

Permalink
feat(mini.files): added extra keymap to open mini.files in the cwd
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Jun 22, 2023
1 parent 9ea1f31 commit 5299522
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lua/lazyvim/plugins/extras/editor/mini-files.lua
Expand Up @@ -16,6 +16,14 @@ return {
function()
require("mini.files").open(vim.api.nvim_buf_get_name(0), true)
end,
desc = "Open mini.files (directory of current file)",
},
{
"<leader>fM",
function()
require("mini.files").open(vim.loop.cwd(), true)
end,
desc = "Open mini.files (cwd)",
},
},
}

0 comments on commit 5299522

Please sign in to comment.