- if the word is an Ober built-in, execute it
- if the word is a class name, run the main with the args to end of line
- if the word is a shell command, run it
- if the word is a file, directory, or URL, open it
If you middle click, that sets a hint to tell the command that if it is appropriate, open a new viewer instead of replacing the current one.
Also, I made a runnable jar for it all, so you don't have to build it.
Here's the new doc page