ctrl+c hot keys #11576

Closed
opened 2026-01-31 02:51:36 +00:00 by claunia · 4 comments
Owner

Originally created by @EfimenkoAndrew on GitHub (Nov 25, 2020).

Environment

Windows build number: Microsoft Windows [Version 10.0.18363.1198]
Windows Terminal version (if applicable): 1.4.3243.0


Any other software? No

Steps to reproduce

  1. Open the terminal
  2. Open PowerShell tab
  3. Select text
  4. Press ctrl+c to copy it
  5. Press ctrl+v to pass the copied values

Expected behavior

The same behaviour as Windows PowerShell or ConEmu
image

Actual behavior

image
The ctrl+v passes the previously copied value. It is very uncomfortable to use Windows Terminal after PowerShell. Please fix that. I am not sure that CMD behaviour is actually expected one.

Originally created by @EfimenkoAndrew on GitHub (Nov 25, 2020). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> <!-- This bug tracker is monitored by Windows Terminal development team and other technical folks. **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue. If this is an application crash, please also provide a Feedback Hub submission link so we can find your diagnostic data on the backend. Use the category "Apps > Windows Terminal (Preview)" and choose "Share My Feedback" after submission to get the link. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> # Environment ```none Windows build number: Microsoft Windows [Version 10.0.18363.1198] Windows Terminal version (if applicable): 1.4.3243.0 Any other software? No ``` # Steps to reproduce 1) Open the terminal 2) Open PowerShell tab 3) Select text 4) Press ctrl+c to copy it 5) Press ctrl+v to pass the copied values # Expected behavior The same behaviour as Windows PowerShell or ConEmu ![image](https://user-images.githubusercontent.com/26180535/100211902-60d01380-2f15-11eb-9802-e4212cc0df13.png) # Actual behavior <!-- What's actually happening? --> ![image](https://user-images.githubusercontent.com/26180535/100212006-81986900-2f15-11eb-9c25-a345ca0d3185.png) The ctrl+v passes the previously copied value. It is very uncomfortable to use Windows Terminal after PowerShell. Please fix that. I am not sure that CMD behaviour is actually expected one.
Author
Owner

@Don-Vito commented on GitHub (Nov 25, 2020):

The default bindings (for all versions of terminal) are:

  • copy - ctrl+shift+c / ctrl+insert
  • paste - ctrl+shift+v / shift+insert

You can also bind ctrl+c / ctrl+v at your own risk (as it might be a disabler for some scenarios) by adding the following to keybindings (if you are in 1.4 and above, you are encouraged to use "actions" field rather than "keybindings") in settings file:

{ "command": {"action": "copy", "singleLine": false }, "keys": "ctrl+c" },
{ "command": "paste", "keys": "ctrl+v" }

Please read more about bindings here: https://docs.microsoft.com/en-us/windows/terminal/customize-settings/actions

BTW, if you need to learn additional shortcuts or even to apply actions without shortcuts - press ctrl+shift+p to open a command palette with all available commands and shortcuts.

Updated @EfimenkoAndrew - please pay attention that I adjusted the bindings, to the defaults suggested by the team.

@Don-Vito commented on GitHub (Nov 25, 2020): The default bindings (for all versions of terminal) are: * copy - ctrl+shift+c / ctrl+insert * paste - ctrl+shift+v / shift+insert You can also bind ctrl+c / ctrl+v at your own risk (as it might be a disabler for some scenarios) by adding the following to keybindings (if you are in 1.4 and above, you are encouraged to use "actions" field rather than "keybindings") in settings file: ``` { "command": {"action": "copy", "singleLine": false }, "keys": "ctrl+c" }, { "command": "paste", "keys": "ctrl+v" } ``` Please read more about bindings here: https://docs.microsoft.com/en-us/windows/terminal/customize-settings/actions BTW, if you need to learn additional shortcuts or even to apply actions without shortcuts - press ctrl+shift+p to open a command palette with all available commands and shortcuts. **Updated** @EfimenkoAndrew - please pay attention that I adjusted the bindings, to the defaults suggested by the team.
Author
Owner

@Don-Vito commented on GitHub (Nov 25, 2020):

@EfimenkoAndrew - btw do you have a fresh installation?

Interestingly, according to https://github.com/microsoft/terminal/issues/5187, the following should appear by default in your settings file (but I guess this happens only if you don't have an old one):

{ "command": {"action": "copy", "singleLine": false }, "keys": "ctrl+c" },
{ "command": "paste", "keys": "ctrl+v" }
@Don-Vito commented on GitHub (Nov 25, 2020): @EfimenkoAndrew - btw do you have a fresh installation? Interestingly, according to https://github.com/microsoft/terminal/issues/5187, the following should appear by default in your settings file (but I guess this happens only if you don't have an old one): ``` { "command": {"action": "copy", "singleLine": false }, "keys": "ctrl+c" }, { "command": "paste", "keys": "ctrl+v" } ```
Author
Owner

@DHowett commented on GitHub (Nov 25, 2020):

Right: we bound ctrl+c by default only for users who installed after... maybe 0.7? 0.5? So we didn’t mess up everyone who installed before then.

@DHowett commented on GitHub (Nov 25, 2020): Right: we bound ctrl+c by default only for users who installed after... maybe 0.7? 0.5? So we didn’t mess up everyone who installed before then.
Author
Owner

@ghost commented on GitHub (Nov 29, 2020):

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.

@ghost commented on GitHub (Nov 29, 2020): This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for **4 days**. It will be closed if no further activity occurs **within 3 days of this comment**.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#11576