Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I enable Netrw after `vim -u NONE`?

Tags:

vim

Can I load netrw after loading Vim with vim -u NONE?.

I've considered statements such as

:set nocp
:set filetype on
:set filetype plugin on
:let g:loaded_netrw=1
:let g:loaded_netrwPlugin=1
:h netrw-start

I realize I could make for instance some ~/.minimal-vimrc-netrw, but wondering if there's a way to enable "manually".

like image 472
Brady Trainor Avatar asked Oct 15 '25 17:10

Brady Trainor


1 Answers

Run

runtime plugin/netrwPlugin.vim

This will search for the first instance of plugin/netrwPlugin.vim in your runtime path and source the file.

like image 102
FDinoff Avatar answered Oct 18 '25 13:10

FDinoff



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!