jdhao / nvim-config

A modern Neovim configuration with full battery for Python, Lua, C++, Markdown, LaTeX, and more...
MIT License
3.52k stars 523 forks source link

file exploring #9

Closed jahanbani closed 2 years ago

jahanbani commented 3 years ago

Thank you for sharing your settings. I was wondering what you use for file browsing. Previous versions had nerdtree for this purpose, however, I noticed that you have removed this plugin in the latest version. (Windows 10, fvim) Thank you

jdhao commented 3 years ago

yes, I use nerdtree for some time. I find I rarely use it and it is also slow for large directory, so I removed it. I use leaderf to open a project file, which works great for me.

If you really need a file explorer, nerdtree may not be the best option now, you may try fern.vim, vim-dirvish or other high performance alternatives.

jahanbani commented 3 years ago

Thank you for the response. What's your take on kyazdani42/nvim-tree.lua? Thanks

jdhao commented 3 years ago

Personally, I think cross-platform support (Linux, macOS, Windows) is a must for such file exploring plugins. Features provided are also important: users should be able to do deleting, creating, and other common operations. High performance (in terms of speed) is a plus for such plugins.

I haven't tried it personally. Judging from its documentation, I can see several points:

jdhao commented 3 years ago

Actually, I have been planning to write a post to summarize all major file explorers for vim or nvim. I haven't finished it yet. Here is what I have got so far. I think you might be interested:

  1. nerdtree: https://github.com/preservim/nerdtree
  1. fern.vim

  2. vim-dirvish: https://github.com/justinmk/vim-dirvish

  1. nvim-tree.lua: https://github.com/kyazdani42/nvim-tree.lua
  1. tree.nvim: https://github.com/zgpio/tree.nvim
  1. defx.nvim: https://github.com/Shougo/defx.nvim
jahanbani commented 3 years ago

Thank you very much for your complete response. There is also nvim-clap which you can add to your list :) I will try some of these file explorers. Appreciate your help and thank you for sharing your files :)