vercel / vercel/hyper

Ctrl+Shift+K shortcut interferes with `nano` editor’s shortcut

Open
#6,308 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
44.7k
Forks
3.6k
Avg merge
21m
Merged PRs (30d)
1

Description

  • I am on the latest Hyper.app version
  • I have searched the issues of this repo and believe that this is not a duplicate
  • OS version and name: Arch Linux
  • Hyper.app version: 3.2.0
  • Link of a Gist with the contents of your .hyper.js:
  • Relevant information from devtools (CMD+ALT+I on macOS, CTRL+SHIFT+I elsewhere):
  • The issue is reproducible in vanilla Hyper.app: yes

Issue

Ctrl+Shift+K is used in Hyper to clear the buffer, however, it is also used on nano editor to cut the current line. While Ctrl+K can be also used in nano editor, I am accustomed to use Ctrl+Shift+K.

While I can change the shortcut to clear the buffer, I think it might be better to disable Hypers’s shortcuts in apps like nano (e.g. in apps using ncurses or similar).

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files or tests. Start by locating Hyper's Ctrl+Shift+K shortcut handling and the terminal input path, then determine whether the active nano or ncurses context can be identified. Done means nano receives Ctrl+Shift+K for cutting a line without Hyper clearing the buffer in that context.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.