Using :h wildignore
, I can ignore certain types of files or certain folders when searching through them to open one of them. But that also means those files and directories will be ignored when I try to insert their filepath with :h i_CTRL-X_CTRL-F
.
Is there a way I can ignore, say, all jpg
files when trying to open them using :edit
but not ignore them when trying to insert their filepath using :h i_CTRL-X_CTRL-F
in a file?
<C-x><C-f>
to insert image names for including figures!**/*.jpg
to populate the suggestion list! Freaking awesome man!! Thanks again.