nvim-tree.lua/README.md
kyazdani42 ac92bfd911 Faster git parsing
- fix a bug when removing nodes from huge dir
- only one `system` call for git status
- add relative paths to nodes
- parse git status from relative paths
2020-02-19 13:55:40 +01:00

1.3 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

TODO

  • refresh tree (for git) on file save and update git status when needed

  • 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

  • mouse integration