raphamorim / raphamorim/rio

Feature request: "Copy selection or send control-C" keybinding like in iTerm2

Open
#953 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
7.5k
Forks
353
Avg merge
2d 11h
Merged PRs (30d)
15

Description

iTerm2 allows you to bind a key to "Copy selection or send ^C", i.e. copy the current selection, or if nothing is selected, instead send control-C to the current application (i.e. to SIGINT it). It would be great if such a command were added and could be bound (e.g. to control-C).

Image

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

Start by locating Rio's keybinding, selection, and terminal input-handling entry points; the issue does not name specific files or tests. Trace how a configured key is dispatched, then verify that the requested binding copies an existing selection or sends control-C when there is none, with both cases covered by the relevant tests or manual terminal checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli, desktop
Issue type
Feature
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.