Switching to KoIDE09 ;; Questions about Commando Scopes

Problem:

Trevor is in the middle evaluating KO IDE 09 for purposes of upgrading from the previous version.

He is loving the new “Commando” feature (GoToAnything) however it is starting to get a little unwieldy.

Commando is picking up a lot of entries from the local filesystem and these are crowding out tools and commands.

Question:

The documentation says it is possible to specify a keyboard combo that will invoke Commando with a specified scope. However, it is not quite clear how to do this.

1) Is it possible to define a Commando context that consists of more than one active scope?
2) Is it possible to define a Commando context that consists of “Every scope except X?
3) If custom contexts are available (per 1 and 2 above) how does one connect those to a keyboard shortcut?
4) If custom contexts are not available, how does one find the specific single-scope context from General :: Preferences :: Keybindings ? (there does not seem to be a command that says "Open commando with the Tools scope … or Open commando with the Commands scope)

Goal:

If possible, Trevor would like to be able to invoke Commando with the “tools and commands” scopes both active, and no other scopes.

  1. You could make your own scope that effectively does this, here’s an example of such a scope, and here you can see how it’s defined. You could do all this in a userscript.
  2. See my first answer, just modify the conditional as needed.
  3. You can assign a key binding under Prefs > Key Bindings.
  4. Search for “Commando”, you’ll find all the available scopes.

If possible, Trevor would like to be able to invoke Commando with the “tools and commands” scopes both active, and no other scopes.

You can already do that, search for “Tools and Commands” under key bindings.

1 Like