myvim icon indicating copy to clipboard operation
myvim copied to clipboard

Update documentation to include an example of how to exclude multiple files

Open scottchiefbaker opened this issue 9 years ago • 1 comments

The current documentation says to do --exclude PATTERN where pattern is a grep -v style pattern for excluding files. I've looked around and I can't make sense of how to exclude two different files/dirs.

Perhaps adding an example to the documentation would help this?

scottchiefbaker avatar Jun 18 '15 21:06 scottchiefbaker

I believe it should be straightforward to the users who have experience with grep which is such a universal tool.

(echo $'foo\nbar\nbaz') | grep -v 'foo\|bar'

Does this answer your question? And feel free to fork the repository and bend it to your needs, myvim is just a short bash script file that I haven't updated for a while.

junegunn avatar Jun 19 '15 01:06 junegunn