gnachman/iTerm2 — pull request #77 by boretom (2012-03-11 19:45:23+00:00)
Title: Add placing cursor on current line using the mouse (hardcoded)

Hi,

The Mac Terminalapp allows placing the cursor on the current line using the mouse (opt-left-click, see issue http://code.google.com/p/iterm2/issues/detail?id=789&q=cursor).

There were some request to get that too in iTerm2. So I made changes to enable this functionality. This pull request behaves like the Terminal.app.

I did implement another version were it adds a pointer action. That way one can assign whatever mouse/trackpad gesture he likes. Unfortunately opt-left-click is not possible in that way.
If that's of interest for you I can push it my github account too and create a pull request. Or just send you the patch file.

Maybe you'll find this patch useful
Thomas