문제

When use :Ex to search files under a current project, I would like to search to skip certain directories. The netrm document says that "g:netrm_list_hide" option can be used to achieve this, but my experiments with the options shows it only applies to the filename but not the directory name.

The google search also yields no solution to this. Does anyone know a workaround?

도움이 되었습니까?

해결책

Taken from http://vim.1045645.n5.nabble.com/Hiding-Subversion-directories-within-netrw-td1167827.html

To hide directory names just add a trailing slash when you list them. For example to hide the directory .git/ use the following.

let g:netrw_list_hide='^\.git/$'
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top