Socket
Socket
Sign inDemoInstall

hyper-search

Package Overview
Dependencies
0
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    hyper-search

Search text in your Hyper terminal


Version published
Weekly downloads
153
decreased by-33.19%
Maintainers
1
Install size
32.5 kB
Created
Weekly downloads
 

Readme

Source

Hyper-search · GitHub license

Extension for Hyper that allows you to search text in your terminal.

How to use

Install Hyper and add hyper-search to plugins in ~/.hyper.js and restart hyper.js.

Usage:

  • A new 'find' submenu should be available in the 'Edit' menu.
  • Type <Cmd>+F to toggle the search controls.
  • Hit <Cmd>+G to find the next occurrence.
  • Hit <Shift>+<Cmd>+G to find the previous occurrence.
  • Hit <Tab> or <Shift>+<Tab> to expand the selection to the right or left (see Mouseless Copy: https://www.iterm2.com/features.html).
  • Hit <Esc> to hide the search dialog.

demo

Config

hyper-search supports various style modifications.

In ~/.hyper.js:

Change Search Box Border Radius

module.exports = {
  config: {
    ...
      hyperSearchUI: {
        inputBorderRadius: 2
      }
    ...
  }
}

input border radius

Change Previous/Next Button Border Radius

module.exports = {
  config: {
    ...
      hyperSearchUI: {
        buttonBorderRadius: 2,
      }
    ...
  }
}

navigation button border radius

Change Button Margins

module.exports = {
  config: {
    ...
      hyperSearchUI: {
        buttonMargin: 2,
      }
    ...
  }
}

button margin

Change Prev/Next Button Text

module.exports = {
  config: {
    ...
      hyperSearchUI: {
        prevButton: '←',
        nextButton: '→'
      }
    ...
  }
}

change prev/next button

TODO:

  • regular expressions.

Credits

Jonatan Anauati (barakawins@gmail.com)

Contributors

License

ISC

Keywords

FAQs

Last updated on 07 Sep 2019

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