Home
Softono
fyler.nvim

fyler.nvim

Open source Apache-2.0 Lua
723
Stars
45
Forks
24
Issues
9
Watchers
2 weeks
Last Commit

About fyler.nvim

A neovim file manager which can edit file system like a buffer with tree view

Platforms

Web Self-hosted

Languages

Lua

Links

Fyler.nvim

A file manager for Neovim
License Stars


image

Installation

[!IMPORTANT]

Both Stable and Latest versions are explained on the WIKI PAGE in details.

Stable

{
  "A7Lavinraj/fyler.nvim",
  dependencies = { "nvim-mini/mini.icons" },
  branch = "stable",  -- Use stable branch for production
  lazy = false, -- Necessary for `default_explorer` to work properly
  opts = {}
}

Latest

{
  "A7Lavinraj/fyler.nvim",
  dependencies = { "nvim-mini/mini.icons" },
  lazy = false, -- Necessary for `default_explorer` to work properly
  opts = {}
}

Usage

You can either open fyler by using the Fyler command:

:Fyler             " Open the finder
:Fyler dir=<cwd>   " Use a different directory path
:Fyler kind=<kind> " Open specified window kind directly

" Map it to a key
nnoremap <leader>e <cmd>Fyler<cr>
-- Or via lua api
vim.keymap.set("n", "<leader>e", "<cmd>Fyler<cr>", { desc = "Open Fyler View" })

Or using the lua api:

local fyler = require('fyler')

-- open using defaults
fyler.open()

-- open as a left most split
fyler.open({ kind = "split_left_most" })

-- open with different directory
fyler.open({ dir = "~" })

-- You can map this to a key
vim.keymap.set("n", "<leader>e", fyler.open, { desc = "Open fyler View" })

-- Wrap in a function to pass additional arguments
vim.keymap.set(
    "n",
    "<leader>e",
    function() fyler.open({ kind = "split_left_most" }) end,
    { desc = "Open Fyler View" }
)

[!NOTE] Run :help fyler.nvim OR visit wiki pages for more detailed explanation and live showcase.

Credits


Built with ❤️ for the Neovim community

contributors