0.1.1 • Published 8 years ago
hyperlinks-iterm v0.1.1
hyperlinks
Extension for HyperTerm that automatically links URLs with the iTerm behavior.
Forked from zeit/hyperlinks.
How to use
- Install HyperTerm (obvi...)
- Install this plugin via npm:
npm install hyperlinks-iterm
- add
hyperlinks-iterm
toplugins
in~/.hyperterm.js
:
plugins: [
"hyperlinks-iterm"
],
- hold the
Command
key to activate and highlight links, then click one to open it in your default browser.
Customizing styles
Add custom styles to termCSS
in your ~/.hyperterm.js
. Changing the styles for x-screen a
isn't recommended, because without holding cmd
, the links won't work anyway.
termCSS: `
x-screen a {
color: #ffffff;
text-decoration: none;
cursor: text;
}
x-screen a.active {
color: #ff2e88;
text-decoration: underline;
}
x-screen a.active.hover {
text-decoration: none;
cursor: pointer;
}
`
License
MIT