Pasting into vim appears to send escape character. #18080

Open
opened 2026-01-31 06:03:07 +00:00 by claunia · 0 comments
Owner

Originally created by @jeffpkamp on GitHub (Aug 1, 2022).

Windows Terminal version

1.14.1962.0

Windows build number

10.0.19043.1826

Other Software

Vim version 8.0 (2016 Sep 12, compiled Jun 19 2022 10:00:27)

When I copy and paste there are two unusual behaviors. When I paste into vim while it is in edit mode, It exits edit mode as if the ESC key has been pressed before the insert begins.

Steps to reproduce

open vim

press a to go into append mode.

copy and paste
echo hello world

Expected Behavior

I expected it to paste
echo hello world

Actual Behavior

It pasted
O hello world

Originally created by @jeffpkamp on GitHub (Aug 1, 2022). ### Windows Terminal version 1.14.1962.0 ### Windows build number 10.0.19043.1826 ### Other Software Vim version 8.0 (2016 Sep 12, compiled Jun 19 2022 10:00:27) When I copy and paste there are two unusual behaviors. When I paste into vim while it is in edit mode, It exits edit mode as if the ESC key has been pressed before the insert begins. ### Steps to reproduce open vim press a to go into append mode. copy and paste `echo hello world` ### Expected Behavior I expected it to paste `echo hello world` ### Actual Behavior It pasted `O hello world`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#18080