Love the idea, I got so used to this. It makes a lot of sense when opening a file fnord_handler.py and its accompanying fnord_handler_test.py
Well, if multi-select for opening is implemented, you'd be simply a CTRL-A away from what you're asking for. That's how I envision it happening:
My bad: I didn't find this request when I created mine (http://sublimetext.userecho.com/topic/108660-open-multiple-files-at-once-from-goto-anything-ctrlp). I'll point people this way as this thread is older.
I'd love this too, but rather than selecting which files to open, I'd like to open all files that match a regex or wildcard.
=> opens foo.rb, foo_spec.rb, foo_steps.rb
I'm not sure whether I'd prefer regex here, or something similar to shell globs; probably the latter, thinking about it. Regex is a bit jarringly heavyweight for a simple operation, with its escaping characters etc...
Maybe a half-way house to this feature would be to remember what you last typed. Then at least you could `cmd+p` and have the same file list ready to go.It happens with `cmd+shift+p`, why not `cmd+p`?
For those who wouldn't stumble upon the right topic, like me, who found the way by looking how to do it in Atom before attempting a switch (lol), here is one alternate way: use the RIGHT key to open the file selected on the Goto Anything panel.
I.e. type Ctrl+P, type your expression, then do DOWN, RIGHT, DOWN, RIGHT, DOWN, RIGHT, etc. for as many documents as you have.
That's as close as it comes. It would be awesome if you could select multiple documents like in JetBrains IDEs, but it doesn't exist yet. It is usable though, and you can preview them before opening everything blindly.
Awesome! More than 5 years using ST and didn't know that shortcut! That's enough for me :-)
P.S. Not sure if that shortcut has been around for a while or not, but the fact is that I never tried that combination of keys.
In ST2 RIGHT arrow button in Goto Anything does nothing.
Kundesupport af UserEcho