Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

vimrc setting to ignore file types in netrw

Tags:

What is the setting used in .vimrc to make the netrw directory listing ignore/hide certain file types?

set wildignore=*.obj,*.exe only seems to work for tab completion.
Within netrw, you can ctrl-g to edit the hiding list, but that only lasts for that session.

like image 210
Hollister Avatar asked Nov 13 '10 03:11

Hollister


1 Answers

As per http://vimdoc.sourceforge.net/htmldoc/pi_netrw.html#g:netrw_list_hide, this should work:

let g:netrw_list_hide= '.*\.swp$'
like image 69
icyrock.com Avatar answered Sep 29 '22 22:09

icyrock.com