Skip to content

Commit

Permalink
feat(nvim): remap "<leader>e" to open file explorer at the current wo…
Browse files Browse the repository at this point in the history
…rking directory
  • Loading branch information
uyha committed Nov 9, 2023
1 parent 32de3cc commit 4d4b1d9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions nvim/lua/plugins/neo-tree.lua
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,12 @@ return {
end,
},
},
keys = {
{
"<leader>e",
function() require("neo-tree.command").execute({ toggle = true, dir = vim.loop.cwd() }) end,
desc = "Explorer NeoTree (cwd)",
remap = true,
},
},
}

0 comments on commit 4d4b1d9

Please sign in to comment.