nvim-tree.lua/README.md
2020-02-19 14:32:33 +01:00

1.2 KiB

A File Explorer For Neovim Written In Lua

alt text

Notice

  • I am working on this plugin to learn lua, learn neovim api and create a file explorer with features i need.
  • I really don't like any of the vim trees, they are all too complicated for their purposes and are kind of buggy. I have my shell to do most commands.
  • This plugin will not work on windows.

Features

  • Open file in current buffer or in split with FzF like bindings (CR, C-v, C-x)
  • File icons with vim-devicons
  • Syntax highlighting (exa like)
  • Change directory with C-[
  • Add / Rename / delete files
  • Git integration
  • Mouse support

TODO

  • find a good way to display git info

  • better parsing of the git porcelain results

  • handle permissions properly (TODO: display error on Read access denied)

  • buffer / window should not disappear when only the tree is opened

  • buffer / window should always stay on the left and never change size (open a file with only the tree open to reproduce this bug)

  • handle symbolic links

  • quickly find file in the directory structure

  • update tree automatically on window change