Possible to add ability for also inverting the *search terms*?

General discussion related to "Everything".
Post Reply
Coldblackice
Posts: 79
Joined: Sun Jul 13, 2014 12:20 am

Possible to add ability for also inverting the *search terms*?

Post by Coldblackice »

Would it be possible to add a keyboard shortcut ability that inverts the search? For example, if I have a search consisting of:

Code: Select all

\Cache \Firefox \System32
Then pressing the "Invert" keyboard shortcut, e.g. CTRL-SHIFT-I, inverts each of those terms, adding an "!" in front of each of them, like so:

Code: Select all

!\Cache !\Firefox !\System32
Or if I've mouse-selected the "\Firefox \System32", then:

Code: Select all

\Cache !\Firefox !\System32
If I then mouse-select the "\Cache !\Firefox", then:

Code: Select all

!\Cache \Firefox !\System32
And if nothing is currently mouse-selected, then the Invert function inverts each item. Not a huge deal having to prepend each item with a "!", it'd just be helpful if there was a quick keyboard shortcut that could do this (natively, without having to use an external utility like AutoHotKey). TIA
void
Developer
Posts: 16897
Joined: Fri Oct 16, 2009 11:31 pm

Re: Possible to add ability for also inverting the *search terms*?

Post by void »

Good idea, I'll consider adding an invert search option.
Thanks for the suggestion.

This could also be done with:
!<\Cache \Firefox \System32>

For now you could try adding a filter to do this:
  • In Everything, from the Search menu, click Add to filters....
  • Change the Name to: NOT
  • Change the Search to: !<search:>
  • Change the Macro to: notsearch<search>
  • Set a new keyboard shortcut (optional) -Pressing this shortcut key will toggle the NOT filter.
  • Click OK.
Filters can be activated from the Search menu, Filter bar (View -> Filters), right clicking the status bar, filter macro or filter keyboard shortcut.
Post Reply