Rizwanelansyah / simplyfile.nvim

simple file explorer for neovim
17 stars 0 forks source link
file-explorer neovim-plugin

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

TODO: