this post was submitted on 05 Sep 2023
12 points (92.9% liked)

Neovim

1726 readers
1 users here now

Neovim is a modal text editor forked off of Vim in 2014. Being modal means that you do not simply type text on screen, but the behavior and functionality of the editor changes entirely depending on the mode.

The most common and most used mode, the "normal mode" for Neovim is to essentially turn your keyboard in to hotkeys with which you can navigate and manipulate text. Several modes exist, but two other most common ones are "insert mode" where you type in text directly as if it was a traditional text editor, and "visual mode" where you select text.

Neovim seeks to enable further community participation in its development and to make drastic changes without turning it in to something that is "not Vim". Neovim also seeks to enable embedding the editor within GUI applications.

The Neovim logo by Jason Long is licensed under the Creative Commons Attribution 3.0 Unported License.

founded 3 years ago
MODERATORS
 

After having the same config for ten years or so I’m looking to upgrade my (n)vim config. I changed over to init.lua, added lsp and treesitter and it’s awesome. Real big improvement!

I’m still looking for a replacement for my file explorer. I’m using vimfiler/unite.vim at the moment. I like it because it confirms to the vinegar/oil idea.

So I’m looking for a file explorer plugin which opens full window in a buffer, preferably written in lua with the possibility for a tree view and a per-window state so I can toggle it on and off in a window without having to navigate to the same place again. I haven’t found anything matching those criteria at the moment.

For example nvim-tree doesn’t allow for a state per window.

I tried oil.nvim but that doesn’t support a tree view.

Does anyone know of a plugin that satisfies my requirement? If nothing exists I’ll keep using vimfiler but I’m curious to see if anything else exists that implement these features.

top 4 comments
sorted by: hot top controversial new old
[–] siph@lemmy.ml 2 points 1 year ago

Maybe chadtree? I've never used it.

[–] CaptainFuture@lemmy.ml 1 points 1 year ago (1 children)
[–] __lb__@feddit.nl 2 points 1 year ago

Thanks! At first glance it like it supports the things I want. Going to experiment with it this evening.

[–] luky@infosec.pub 1 points 1 year ago

Imo a file explorer is overrated for neovim. You usually know your files so I just navigate around with telescope. To create a file or directory i just simply use netrw. Here is a good guide on how to learn that properly: netrw guide. Moving files might be a little annoying so I just use the command line from lua with :!mv ...