1.0.0 • Published 10 years ago

hyperlinks2 v1.0.0

Weekly downloads
4
License
MIT
Repository
github
Last release
10 years ago

hyperlinks

Extension for HyperTerm that automatically links URLs.

Demo

How to use

Install HyperTerm and add hyperlinks to the plugins array in ~/.hyperterm.js.

Hold the ⌘ key down on your keyboard and move the mouse over a URL or email address and a link will appear where your cursor is. Click a URL to open in a web browser, or click an email address to open in your mail client.

Customizing styles

Add custom styles to termCSS in your ~/.hyperterm.js.

The metaKey class name is applied to the top-level while the ⌘ key is being held, for further styling.

termCSS: `
  x-screen a {
    color: pink;
  }

  .metaKey x-screen {
    cursor: pointer;
  }
`

License

MIT