Sublime Forum

How do I use Goto Anything to find files containing #

#1

I use Goto Anything to quickly load files by name.
however ~ many of my file names contain the # symbol ~
and when I type # into Goto Anything ~ it switches modes.
is there any way to search for the # inside the filenames directly?
maybe bypass the mode switch or assign the mode-switcher (#) to another character?

thx

0 Likes

#2

Try with a / before that. (or backslash on windows) it should match any path separator before the file basenames.

0 Likes

#3

thanks for the reply.

maybe i’m missing something ~
but as soon as I type the “#” character ~ it switches modes ~ even though that’s exactly the character I need to match on.
typing / before it doesn’t seem to stop that from happening.

so if the file I’m searching for is:
abc.A001.#car.zsl

I just want to type “#car” to Goto it. but the # switches to the other mode.

?

0 Likes

#4

Ah right, I forgot about this. I don’t think it’s possible to escape a # in Goto Anything.

1 Like