question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

<C-w> copies word, seems all <C> command unexpectedly copies.

See original GitHub issue

Describe the bug When setting “Use system clipboard” selected, <C-w> command copy the word, same thing with <d-d>.

To Reproduce Steps to reproduce the behavior:

  1. Go to setting check “Use System Clipboard”
  2. Find a word and run <C-w>
  3. Hit ESC.
  4. Hit p.

Expected behavior When setting “Use system clipboard” selected, <C-w> command should change the word not copy the word.

Screenshots If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

{
	"activationTimes": {
		"startup": true,
		"codeLoadingTime": 755,
		"activateCallTime": 7,
		"activateResolvedTime": 512,
		"activationEvent": "*"
	}
}
  • Extension (VsCodeVim) version:
  • VSCode version: 1.29.1
  • OS:10.14.1

Additional context This issue has been out there for a while, isn’t it?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
J-Fieldscommented, May 19, 2020

By <C-w> do you mean cw? As in “change word”? By default in vim this does copy to the default register

0reactions
yifanchencommented, May 25, 2020

@J-Fields Thanks for pointing it out. I didn’t know that <C> does copy as well.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Often have to use Command-C twice for a copy to take effect ...
Often have to use Command-C twice for a copy to take effect (Word and Excel) Split from this thread. This doesn't help, I...
Read more >
ESS Reference Card for S and R - Emacs Speaks Statistics
C-c C-u. Delete this command. C-c C-w. Delete last word. C-c C-r. Top of last output ... C-<REt>. Copy current line into ESS...
Read more >
Screen User's Manual - GNU.org
1 Overview. Screen is a full-screen window manager that multiplexes a physical terminal between several processes, typically interactive shells.
Read more >
Copy and paste content from one file to another file in vi
Where <n> and <m> are numbers (or symbols) that designate a range of lines. For using the desktop clipboard, take a look at...
Read more >
rsync(1) - Linux man page
This would transfer all files matching the pattern *.c from the current ... In other words, each of the following commands copies the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found