mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 16:53:00 +00:00
feat(nvim): Change explorer to neo-tree
This commit is contained in:
parent
5f5e41c247
commit
b0610adaae
5 changed files with 164 additions and 73 deletions
|
|
@ -31,18 +31,18 @@ return {
|
|||
{ section = "startup" },
|
||||
},
|
||||
},
|
||||
explorer = {
|
||||
-- TODO: Remap some keys in explorer
|
||||
-- win = {
|
||||
-- list = {
|
||||
-- keys = {
|
||||
-- ["l"] = "focus_input",
|
||||
-- ["i"] = "confirm",
|
||||
-- ["O"] = "explorer_open", -- Open with system default
|
||||
-- },
|
||||
-- },
|
||||
-- },
|
||||
},
|
||||
-- explorer = {
|
||||
-- -- TODO: Remap some keys in explorer
|
||||
-- -- win = {
|
||||
-- -- list = {
|
||||
-- -- keys = {
|
||||
-- -- ["l"] = "focus_input",
|
||||
-- -- ["i"] = "confirm",
|
||||
-- -- ["O"] = "explorer_open", -- Open with system default
|
||||
-- -- },
|
||||
-- -- },
|
||||
-- -- },
|
||||
-- },
|
||||
indent = { enabled = true },
|
||||
-- input = { enabled = true },
|
||||
-- notifier = { enabled = true },
|
||||
|
|
@ -54,12 +54,12 @@ return {
|
|||
image = { enabled = true },
|
||||
},
|
||||
keys = {
|
||||
{
|
||||
"<leader>ft",
|
||||
function()
|
||||
require("snacks").explorer()
|
||||
end,
|
||||
desc = "Toggle File Explorer",
|
||||
},
|
||||
-- {
|
||||
-- "<leader>ft",
|
||||
-- function()
|
||||
-- require("snacks").explorer()
|
||||
-- end,
|
||||
-- desc = "Toggle File Explorer",
|
||||
-- },
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue