Skip to content

Commit 3f89cb0

Browse files
Jac-ZacALameLlamaUzaaft
authored
feat(fyler-nvim): update fyler.nvim config to replace neotree.nvim (#1666)
* feat(file-explorer): Updated fyler.nvim config More configuration to make it the default file explorer * Update lua/astrocommunity/file-explorer/fyler-nvim/init.lua Co-authored-by: Nicholas Ciechanowski <[email protected]> * Update lua/astrocommunity/file-explorer/fyler-nvim/init.lua Co-authored-by: Nicholas Ciechanowski <[email protected]> * Update lua/astrocommunity/file-explorer/fyler-nvim/init.lua Co-authored-by: Nicholas Ciechanowski <[email protected]> * Update lua/astrocommunity/file-explorer/fyler-nvim/init.lua Co-authored-by: Nicholas Ciechanowski <[email protected]> * fix(fyler-nvim): make neo-tree table optional --------- Co-authored-by: Nicholas Ciechanowski <[email protected]> Co-authored-by: Uzair Aftab <[email protected]>
1 parent 689a880 commit 3f89cb0

File tree

1 file changed

+27
-11
lines changed
  • lua/astrocommunity/file-explorer/fyler-nvim

1 file changed

+27
-11
lines changed
Lines changed: 27 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,31 @@
11
return {
2-
"A7Lavinraj/fyler.nvim",
3-
dependencies = {
4-
"echasnovski/mini.icons",
5-
{
6-
"AstroNvim/astrocore",
7-
opts = function(_, opts)
8-
local maps = assert(opts.mappings)
9-
maps.n["<Leader>y"] = { "<Cmd>Fyler<CR>", desc = "Fyler" }
10-
end,
2+
{ "nvim-neo-tree/neo-tree.nvim", optional = true, enabled = false },
3+
{
4+
"A7Lavinraj/fyler.nvim",
5+
dependencies = {
6+
"echasnovski/mini.icons",
7+
{
8+
"AstroNvim/astrocore",
9+
opts = function(_, opts)
10+
local maps = opts.mappings or {}
11+
maps.n["<Leader>e"] = {
12+
function() require("fyler").toggle { kind = "float" } end,
13+
desc = "Open with fyler (floating)",
14+
}
15+
end,
16+
},
17+
},
18+
19+
opts = {
20+
default_explorer = true,
21+
22+
win = {
23+
border = "rounded",
24+
kind = "replace",
25+
},
26+
indentscope = {
27+
marker = "",
28+
},
1129
},
1230
},
13-
cmd = "Fyler",
14-
opts = {},
1531
}

0 commit comments

Comments
 (0)