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.

Yanking from command mode is not supported

See original GitHub issue

Describe the bug Yanking from command mode is not supported:

:.,162y :142,162y

To Reproduce Steps to reproduce the behavior:

  1. Enter command mode with ‘:’
  2. Enter in any range of numbers with y following

Expected behavior The range of lines should be yanked.

Environment (please complete the following information):

  • Extension (VsCodeVim) version: v0.15.3
  • VSCode version: Version 1.25.1 (1.25.1)
  • OS: macOS High Sierra

Additional context Doing the same with “delete” does work:

:,162d :142,162d

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
dmastylocommented, Nov 9, 2018

Using the Enable Neovim setting unfortunately causes things to be pasted with tabs instead of respecting the setting to convert those to spaces.

0reactions
J-Fieldscommented, Nov 29, 2019
Read more comments on GitHub >

github_iconTop Results From Across the Web

How to paste yanked text into the Vim command line
Yes. Hit Ctrl - R then " . If you have literal control characters in what you have yanked, use Ctrl - R...
Read more >
How to configure the buffer used by vi-mode bash for yank ...
After doing a bit of research it seems like bash uses an internal variable for this, and not any system buffer that is...
Read more >
Basic VI Editor Commands - Marquette University
Command mode is the mode to be in when giving commands which will move the cursor, delete text, copy and paste, save the...
Read more >
Can't Copy to Clipboard from Vim - Super User
in your .vimrc This sets your vim into visual mode whenever you select something with the mouse. And for some mad reason one...
Read more >
6.5.6 Copying and Moving Text -- Yank, Delete, and Put
Many word-processors allow you to "copy and paste" and "cut and paste" lines of text. The vi editor also includes these features. 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