hyperlinks
Extension for Hyper that automatically links URLs.
Usage
Install Hyper and add hyperlinks
to plugins
in ~/.hyper.js
.
- Focus on the Hyper window and
Ctrl + C
to abort opening url. - Hold
Command
key and click a link to open it within Hyper (instead of in your default browser).
Customizing styles
Add custom styles to termCSS
in your ~/.hyper.js
.
termCSS: ` x-screen a { color: blue; } x-screen a.hover { text-decoration: none; }`
Configuration
Change link target
defaultBrowser
(boolean
)
Sets the location to open a clicked link. Holding the meta key while clicking will use the alternate target.
- true - open links in the default browser
- false - opens link in the current Hyper pane
Change click action
clickAction
(string
)
Changes the action performed when clicking on a link
If set, holding the meta key while clicking will open the link based on the defaultBrowser value.
- 'open' - opens the link
- 'copy' - pastes the link to your clipboard
- 'ignore' - ignore non-Meta clicks on links
moduleexports = ... config: ... hyperlinks: clickAction: 'ignore' defaultBrowser: false ... ...