Vim - how to remove netrw?

I tested https://github.com/skwp/dotfiles ) and unfortunately it installed a lot of things that I don't want.

For example, right now (with empty .vimrc), when I open vim, I get

" ============================================================================
" Netrw Directory Listing                                        (netrw v149)
"   /Users/user/.vim/bundle
"   Sorted by      name
"   Sort sequence: [\/]$,\<core\%(\.\d\+\)\=\>,\.h$,\.c$,\.cpp$,\~\=\*$,*,\.o$,\.obj$,\.info$,\.swp$,\.bak$,\~$
"   Quick Help: <F1>:help  -:go up dir  D:delete  R:rename  s:sort-by  x:exec
" ============================================================================

thing. I am at the beginning of my journey with VIM, so I do not know what's new, and now I do not want to use it.

I am on OSX Mavericks with a home brew installation. However, I cannot find where this comes from and how to remove it.

+4
source share
5 answers

Take a look at the first few lines $VIMRUNTIME/plugin/netrwPlugin.vim:

" Load Once: {{{1
if &cp || exists("g:loaded_netrwPlugin")
 finish
endif

If you want to disable it, just add

let loaded_netrwPlugin = 1

to the vimrc file.

+18
source

, let g:netrw_banner=0 .vimrc

+3

netrw netrw , , , . , netrw ( netrw) :

  1. https://www.drchip.org/astronaut/vim/vbafiles/netrwclean.vba.gz, netrw https://www.drchip.org/astronaut./vim/index. HTML # NETRW

  2. vim :so netrwclean.vba.gz, :so netrwclean.vba.gz , , .

  3. :NetrwClean :NetrwClean! , netrw. , , vim root.

  4. () netrw vimball :so netrw.vba.gz .

0

, Netrw - Vim. Netrw vim.org.

( ) Netrws, Vim.

-1

Just delete these files (from your vim installation, for example /usr/share/vim/vim74) and it will disappear

plugin/netrwPlugin.vim
syntax/netrw.vim
autoload/netrw.vim
autoload/netrwSettings.vim
autoload/netrwFileHandlers.vim
-2
source

All Articles