I Built a File Tree for Vim
dev.to·1w·
Discuss: DEV
📝Neovim
Preview
Report Post

Hey everyone!

For the last few month’s, I’ve been using NerdTree as the file browser in my VEX setup. It got the job done, but something always felt a bit... heavy. So recently, I updated VEX and decided to strip it out, going back to Vim’s built-in Netrw for a while. It was fine—familiar, minimal—but after a while, it started to feel a bit too barebones. I missed having a clear, structured tree, and more importantly, I really, really missed seeing my Git status at a glance.

A few nights ago, I found myself down a rabbit hole, reading through the source code of various file explorers: NERDTree, fern.vim, ranger.vim. The source for ranger.vim caught my eye. It was strikingly simple—a clean, single-file impl…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help