spyder-ide / spyder-terminal

Run system terminals inside Spyder. Works on Linux, macOS and Windows.
MIT License
231 stars 78 forks source link

Spyder Terminal Clipboard not working with Ctrl-C, Ctrl-V, Ctrl-X #334

Open richlysakowski opened 2 years ago

richlysakowski commented 2 years ago

Standard Windows Keyboard Shortcuts are not working with Spyder Terminal Clipboard

I see that Ctrl-Alt-C, Ctrl-Alt-X, Ctrl-Alt-V must be used. This requires an awkward three-finger operation that strains the fingers and will contribute to repetitive strain injury for susceptible people.

Please change these back to the Standard established decades ago.
Millions of people use these many time every day. Tradition is tradition!

What steps will reproduce the problem?

  1. Select text
  2. Try Ctrl-C, Ctrl-V, or Ctrl-X
  3. Try to paste the text anywhere, and there is nothing on the clipboard.

What is the expected output?

Copy or Paste text in Spyder Terminal

What do you see instead?

Nothing happens.

Versions and main components

python 3.9.13 h9a09f29_0_cpython conda-forge spyder 5.3.3 py39hcbf5309_0 conda-forge spyder-kernels 2.3.3 py39hcbf5309_0 conda-forge spyder-terminal 1.2.2 py39hcbf5309_0 conda-forge

ccordoba12 commented 2 years ago

Hey @richlysakowski, thanks for reporting. Keyboard shortcuts that only depend on Ctrl can't be used on standard terminals because they are already taken by them. For instance, Ctrl+C is used to terminate the current command, Ctrl+Q to send it to the background, etc.

However, if you find the shortcuts we set a bit odd, you can change them by going to Preferences > Keyboard shortcuts, filtering by terminal at the bottom and change them to others that work better for you.

image

ccordoba12 commented 2 years ago

As an improvement, I think we could drop the Ctrl at the beginning and leave them as Alt+Shift+C and Alt+Shift+V (not really sure if that's really possible though).