Skip to content
This repository has been archived by the owner on Dec 17, 2021. It is now read-only.

Latest commit

 

History

History
53 lines (38 loc) · 1.14 KB

README.md

File metadata and controls

53 lines (38 loc) · 1.14 KB

hyperlinks

Extension for HyperTerm that automatically links URLs with the iTerm behavior.

Forked from zeit/hyperlinks.

Demo

How to use

  1. Install HyperTerm (obvi...)

  2. Install this plugin via npm:

npm install hyperlinks-iterm

3. add `hyperlinks-iterm` to `plugins` in `~/.hyperterm.js`:  

plugins: [ "hyperlinks-iterm" ],


4. 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.

```js
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