With regular find-file
it's possible to supply *.[ch]
to open all .c
or .h
files in a directory. ido-find-file
doesn't seem to support this behavior.
I know I can press C-f while ido-find-file
is open to switch back to regular find-file
, but is there a way to tell ido
that I always want to use the regular expression matching?
Help says that C-t toggles regular expression matching, but it doesn't seem to have any affect to me.
C-x C-f *.[ch] RET
you are not using a regexp. You are using a file globbing pattern (see the shell). And this pattern-matching is only forRET
, not for completion. If you want to use regexps for pattern-matching for completion, try Icicles.