Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
chendo committed Apr 2, 2011
1 parent 679ca39 commit 0f42f21
Showing 1 changed file with 20 additions and 5 deletions.
25 changes: 20 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,29 @@
# iTerm2 with "Mouse in the Shell" technology
# iTerm2 with "Mouse in the Shell"/Trouter technology
## Extremely alpha.

[Screencast](http://vimeo.com/21690922)

Ever wanted to be able to click on paths to open things in a shell?
Well, now you can! It'll even open it to the right line if
it looks like filename.ext:line_number.
Well, now you can! Just hold Command and click on the path in the shell.
It'll even open it to the right line if it looks like filename.ext:line_number.

You can also use Command + drag and it will turn it into a draggable
file handle, which you can drop in any OSX app. Pretty rad, no?

## Instructions
Currently requires either MacVim or Textmate to be installed.
Just [Download](https://github.com/chendo/iTerm2/archives/master) (or build your own, if you're paranoid), and off you go!
Works with MacVim, Textmate and BBedit (it searches for editor in that
order)

## Customisation
If you don't use MacVim, Textmate or BBedit or if you want write
specific parsers, you can have the path sent to an external script of
your choice.

`defaults write com.googlecode.iterm2 TrouterPathHandler <path to script>`

The script must be marked executable (`chmod +x <file>`) and it will
receive the full path and the line number (if any) as arguments.

## Cavets
* Does not work with paths with spaces (for now).
Expand All @@ -22,6 +36,7 @@ Just [Download](https://github.com/chendo/iTerm2/archives/master) (or build your
* More modifier keys: e.g.,
* Shift + Command + Click on a folder does `cd <dir>; ls`
* Shift + Command + Click on a foo_spec.rb:88 does `spec foo_spec.rb -l 88`
* Support for other editors (BBEdit, TextWrangler, JEdit)
* Native support for other editors (TextWrangler, JEdit, Emacs, Rubymine)
* Quicklook support

Jack Chen (@chendo)

0 comments on commit 0f42f21

Please sign in to comment.