Skip to content

Instantly share code, notes, and snippets.

@quynhethereal
Forked from dvydra/gist:3422479
Created February 8, 2023 04:10
Show Gist options
  • Save quynhethereal/d98ee4ac478457ba400eb783ce9cb216 to your computer and use it in GitHub Desktop.
Save quynhethereal/d98ee4ac478457ba400eb783ce9cb216 to your computer and use it in GitHub Desktop.
Click on filename in terminal and open file in rubymine
1) Install iTerm2, it's awesome.
2) locate your rubymine commandline integration thingy, it's usually `/usr/local/bin/mine`
3) Open iTerm2 preferences. Go to Profiles -> Default -> Advanced.
4) Select "Run command..." under Semantic History
5) Enter "/usr/local/bin/mine --line \2 \1" as the command
6) Command-Click on a filename in the terminal, like in an rspec output, or git status result
7) Enjoy the fineness.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment