Disable Line Numbers in Fern's Sidebar within Vim
Line numbers take up a bit of horizontal space, here's how you can disable them in Fern (a sidebar tree view for Vim).
Quick Jump: Demo Video
This is a small quality of life enhancement to disable line numbers only in Fern’s buffer. Technically this will work if you use NERDTree or netrw with a minor adjustment around the
autocmd file type too.
- 0:19 – Gain extra horizontal space by disabling line numbers
- 0:52 – Going over the tiny bit of configuration to make this work
- 1:49 – Why I’m using setlocal instead of set
- Direct link to the commit in my vimrc
Are you going to be using this setting? Let me know below.