/simplyfile.nvim

simple file explorer for neovim

Primary LanguageLua

simplyfile.nvim

simple file explorer plugin for neovim

Preview Img Preview

requirements

installation

With lazy.nvim

{ 'Rizwanelansyah/simplyfile.nvim', tag = '<tag>' }

config

config and default value

require("simplyfile").setup {
    border = {
        left = "rounded",
        main = "double",
        right = "rounded",
    },
    derfault_keymaps = true,
    keymaps = {
        --- your custom keymaps
        --- {dir} have following field
        --- name: name of file/folder
        --- absolute: absolute path of file/folder
        --- icon: the nerd fonts icon
        --- hl: highlight group name for icon
        --- filetype: type of file
        --- is_folder: folder or not
        ["lhs"] = function(dir) --[[ some code ]] end
    },
    preview = {
        image = true, -- for previewing image (for v0.7+ only)
    },
}

usages

  • :SimplyFileOpen open the explorer or require("simplyfile").open()
  • :SimplyFileClose close the explorer or require("simplyfile").close()
  • check the wiki pages for more info

TODO:

  • ✅ clipboard
  • ✅ search bar
  • ✅ filter
  • ✅ sort