{"id":13447334,"url":"https://github.com/chabou/hyper-pane","last_synced_at":"2025-04-07T06:11:26.832Z","repository":{"id":51705774,"uuid":"80955540","full_name":"chabou/hyper-pane","owner":"chabou","description":"Extension for Hyper.app to enhance pane navigation.","archived":false,"fork":false,"pushed_at":"2021-05-10T16:17:41.000Z","size":294,"stargazers_count":194,"open_issues_count":21,"forks_count":13,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-06T22:47:13.854Z","etag":null,"topics":["hyper","hyperterm","plugin","shell"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chabou.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-04T23:27:08.000Z","updated_at":"2025-03-02T09:52:33.000Z","dependencies_parsed_at":"2022-08-03T09:15:27.756Z","dependency_job_id":null,"html_url":"https://github.com/chabou/hyper-pane","commit_stats":null,"previous_names":[],"tags_count":29,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chabou%2Fhyper-pane","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chabou%2Fhyper-pane/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chabou%2Fhyper-pane/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chabou%2Fhyper-pane/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chabou","download_url":"https://codeload.github.com/chabou/hyper-pane/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247601448,"owners_count":20964864,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hyper","hyperterm","plugin","shell"],"created_at":"2024-07-31T05:01:14.623Z","updated_at":"2025-04-07T06:11:26.801Z","avatar_url":"https://github.com/chabou.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","HarmonyOS","开发工具\u0026框架"],"sub_categories":["Windows Manager"],"readme":"# hyper-pane\n[![CI Status](https://circleci.com/gh/chabou/hyper-pane.svg?style=shield)](https://circleci.com/gh/chabou/hyper-pane)\n[![NPM version](https://badge.fury.io/js/hyper-pane.svg)](https://www.npmjs.com/package/hyper-pane)\n![Downloads](https://img.shields.io/npm/dm/hyper-pane.svg?style=flat)\n[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg)](https://conventionalcommits.org)\n\nExtension for Hyper.app to enhance pane navigation. Navigate through panes with arrows, jump directly to a specific pane with digit, change focus on mouse hover or temporarily maximize a pane.\n\nNavigation with arrows:\n![hyper-pane](https://cloud.githubusercontent.com/assets/4137761/22717106/844a9c5c-ed99-11e6-8e88-8c71a8cbbd5a.gif)\n\n\nMaximize pane:  \n![hyper-pane-maximize](https://cloud.githubusercontent.com/assets/4137761/24831980/a0f2e86a-1ca5-11e7-80f5-f6a986863546.gif)\n\nInspired by https://github.com/iamstarkov/hyper-panes-iterm2-hotkeys\n\n## Install\n\nTo install, execute:\n```\nhyper i hyper-pane\n```\n\nOr edit `~/.hyper.js` manually and add `\"hyper-pane\"` to `plugins`:\n\n```\nplugins: [\n  \"hyper-pane\",\n],\n```\n\n## Configuration\n\n### Default configuration:\n``` js\nmodule.exports = {\n  config: {\n    // other configs...\n    paneNavigation: {\n      debug: false,\n      hotkeys: {\n        navigation: {\n          up: 'ctrl+alt+up',\n          down: 'ctrl+alt+down',\n          left: 'ctrl+alt+left',\n          right: 'ctrl+alt+right'\n        },\n        jump_prefix: 'ctrl+alt', // completed with 1-9 digits\n        permutation_modifier: 'shift', // Added to jump and navigation hotkeys for pane permutation\n        maximize: 'meta+enter'\n      },\n      showIndicators: true, // Show pane number\n      indicatorPrefix: '^⌥', // Will be completed with pane number\n      indicatorStyle: { // Added to indicator \u003cdiv\u003e\n        position: 'absolute',\n        top: 0,\n        left: 0,\n        fontSize: '10px'\n      },\n      focusOnMouseHover: false,\n      inactivePaneOpacity: 0.6 // Set to 1 to disable inactive panes dimming\n    }\n  }\n  //...\n};\n```\n### Supported keys\nFor modifier keys you can use `shift`, `ctrl`, `alt`, or `meta`. You can substitute `option` for `alt` and `command` for `meta`.\n\nOther special keys are `backspace`, `tab`, `enter`, `return`, `capslock`, `esc`, `escape`, `space`, `pageup`, `pagedown`, `end`, `home`, `left`, `up`, `right`, `down`, `ins`, `del`, and `plus`.\n\nAny other key you should be able to reference by name like `a`, `/`, `$`, `*`, or `=`.\n\n**⚠ Warning**: Use `ctrl+alt` or `cmd+alt` modifier only with arrow and digit key. Otherwise, shortcut will not be detected by Hyper.\n\n## Usage\n### Navigation with arrows\n\nUse `ctrl+alt+\u003cUp,Down,Left,Right\u003e` (or your configured hotkeys) to navigate to a neighbor pane.\n\n### Jump with digit\n\nUse `ctrl+alt+\u003c1-9\u003e` (or your configured hotkeys) to jump directly to a numbered pane.\nPanes are ordered \"first child descendent\" and `9` is reserved to the last pane.\n\nHotkey indicators are displayed on top left corner of each pane from 2 panes opened.\nYou can change its content, its style or hide them completly.\n\n### Pane permutation\n\nAdding `shift` key (or your configured key) to previous hotkeys cause a pane switching.\n\n### Focus on mouse hover\n\nSet `config.paneNavigation.focusOnMouseHover` to `true` and focus will change when mouse cursor enters into an another pane.\n\n### Maximize a pane\n\nYou can temporarily maximize pane with `meta+enter` (or your configured key) and restore it with the same key.\nYou can have one maximized pane per tab.\n\n### Dim inactive panes\n\nBy default, inactive panes are dimmed (opacity: 0.6).\nYou can disable this by setting `inactivePaneOpacity` to `1`.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchabou%2Fhyper-pane","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchabou%2Fhyper-pane","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchabou%2Fhyper-pane/lists"}