Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hyperlinks

Package Overview
Dependencies
Maintainers
3
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hyperlinks

Extension for Hyper that automatically links URLs

  • 0.5.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
20
increased by66.67%
Maintainers
3
Weekly downloads
 
Created
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

Package last updated on 07 Feb 2017

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc