Skip to content

FylerOrg/fyler.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

669 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fyler.nvim

A file manager for Neovim
License
Image

INTRODUCTION

Fyler.nvim is oil.nvim inspired file manager plugin for neovim which can manipulate file system like a neovim buffer and provide a proper file-tree representation of items.

REQUIREMENTS

  • Neovim >= 0.11

INSTALLATION

{ 'FylerOrg/fyler.nvim', opts = {} }
require('mini.deps').add('FylerOrg/fyler.nvim')
vim.pack.add({ 'https://github.com/FylerOrg/fyler.nvim' })

USAGE

Open Fyler using the :Fyler command:

:Fyler                    " Open the finder
:Fyler root_path=<path>   " Use a different directory path
:Fyler kind=<buffer_kind> " Open specified kind directly

Open Fyler from Lua:

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({ root_path = "~" })

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

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

LICENSE

Apache 2.0. See LICENSE.

Note

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

CREDITS


Built with ❤️ for the Neovim community

contributors

About

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

Topics

Resources

License

Stars

Watchers

Forks

Contributors