Socket
Socket
Sign inDemoInstall

hyperlinks

Package Overview
Dependencies
4
Maintainers
3
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    hyperlinks

Extension for Hyper that automatically links URLs


Version published
Weekly downloads
24
increased by41.18%
Maintainers
3
Install size
26.5 kB
Created
Weekly downloads
 

Readme

Source

Extension for Hyper that automatically links URLs.

Demo

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

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
module.exports = {
  ...
    config: {
    ...
    hyperlinks: {
      clickAction: 'ignore',
      defaultBrowser: false
    }
    ...
  }
  ...
}

Keywords

FAQs

Last updated on 07 Feb 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc