obaland / vfiler.vim

:file_folder: File explorer plugin for Neovim/Vim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vfiler-logo

File explorer plugin for Neovim/Vim

CI Lint

Description

  • πŸ“„ Performing basic file operations.
  • πŸ“‘ Supports easy-to-use 2-window filer.
  • ❇️ Light operability.
  • πŸ›ƒ Customizable to your liking.
  • πŸ”— Not depends on other plugins or external.

demo

Requirements

vfiler.vim requires Neovim(0.5.0+) or Vim8.2+ with if_lua.

Installation

Using vim-plug

Plug 'obaland/vfiler.vim'

Using dein.vim

call dein#add('obaland/vfiler.vim')

Using packer.nvim

use {
  'obaland/vfiler.vim',
}

Usage

Quick Start

Basically, after installing in any way, start with the VFiler command. The vfiler.vim will start in the current directory.

:VFiler

You can do various things with options.
See command usage for details.

Start by Lua function

vfiler.vim can also be started by calling a require'vfiler'.start().

require('vfiler').start({path})

You can do various things with configs.
See Lua function usage for details.

More details

  • Please see more details: Usage

Customization

vfiler.vim can be customized to your liking.
The following is an example.

Explorer style

Start by command:

:VFiler -auto-cd -auto-resize -keep -layout=left -name=explorer -width=30 -columns=indent,icon,name

Start by Lua script:

require('vfiler/config').setup {
  options = {
    auto_cd = true,
    auto_resize = true,
    keep = true,
    layout = 'left',
    name = 'explorer',
    width = 30,
    columns = 'indent,icon,name',
  },
}

require('vfiler').start()

More details

vfiler.vim has various other customization mechanisms.

Extension plugins

There are also some extension plugins for vfiler.vim.
Please use it as you like.

Screenshots

Basic (with devicons)

basic

Operation with two buffers

multiple

Explorer style (with devicons)

tree

Floating window style (only Neovim)

tree

Feedback

I am hoping to continually improve it as far as time permits.
Welcome your requests and suggestions, so please create an issue.

License

vfiler.vim is licensed under the MIT license.
Copyright Β© 2018, obaland

About

:file_folder: File explorer plugin for Neovim/Vim

License:MIT License


Languages

Language:Lua 97.6%Language:Vim Script 2.3%Language:Makefile 0.2%