Skip to content

Instantly share code, notes, and snippets.

@thomas-holmes
Created October 9, 2013 23:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thomas-holmes/6910192 to your computer and use it in GitHub Desktop.
Save thomas-holmes/6910192 to your computer and use it in GitHub Desktop.
AND combined selectors
I like the way control-p works except for how it treats spaces. I want control-p search style but where I can separate terms with spaces.
With control-p to find all views with vast in they name you would type something like 'viewcat'
I want to be able to type 'view cat'. I would like e results of that search string to be the intersected results of a control-p style search for each string separated by spaces. It would match 'views/cat' and 'cat/view'.
Mostly this is a habit driven request but sometimes I really do want to do a combined search like that.
Sorry if I botched the grammar a bit, the gist editor is pretty bad on mobile.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment