Kong / Kong/insomnia

Yank in VIM mode does not copy to clipboard

Open
#5,993 4 comments 3 reactions 0 assignees View on GitHub
B-bug S-unverified
Dominant language
TypeScript
Stars
40k
Forks
2.4k
Avg merge
2d 13h
Merged PRs (30d)
61

Description

### Expected Behavior

When I yank text in VIM mode,
Then I paste elsewhere,
I should see that text being pasted,
Not what was previously in the clipboard.

### Actual Behavior

Yanking text in VIM mode do not replace the clipboard's content.

### Reproduction Steps

1/ Activate VIM mode
2/ Yank any text
3/ Go elsewhere
4/ Paste the text
5/ Realize text was not copied to the clipboard

### Is there an existing issue for this?

- [X] I have searched the [issue tracker](https://www.github.com/Kong/insomnia/issues) for this problem.

### Additional Information

_No response_

### Insomnia Version

2023.2.2

### What operating system are you using?

Other Linux

### Operating System Version

Arch Linux - linux-6.3.3.arch1-1-x86_64

### Installation method

Installed from AUR

### Last Known Working Insomnia version

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the problem with VIM mode enabled, then inspect the clipboard behavior triggered by a yank. Verify the fix by yanking text, switching elsewhere, and pasting it so the selected text replaces the previous clipboard content.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.