Support various actions on Cmd-click
By Venky.N.I... on August 25, 2011 23:36 (imported from Google Code)
I'd like to be able to do things like
- cmd-click on a url, open it in my browser (already works)
- cmd-click on a diff id internal to my company, and open a custom url based on that string
- cmd-click on a file name and have it open a new tmux pane, and run less on that filename
This would be doable if we had two pieces:
- a regular expression to run on the current line when cmd-clicked
- a set of actions defined on the captured bits in the regular expression