sublime-open-require
Open file in sublime, specifically for Node.js’s require()
.
Install
Clone into your Packages folder, like: $HOME/Library/Application Support/Sublime Text 3/Packages
.
How to use
Put the cursor under or select a url, file or text and run command.
- URLs = open in browser, like http://google.com
- file = open in sublime, like require(‘express’), ./open_require.py
- other = google it, any text
Three ways to run the command:
- alt + double-click
- right-click > ‘Open Require’
- ctrl+u
License
MIT