Vim: [FEATURE REQUEST] Multi-line yank

Created on 6 Jul 2017  路  7Comments  路  Source: VSCodeVim/Vim

FEATURE REQUEST

Environment:

  • VSCode Version: 1.13.1
  • VsCodeVim Version: 0.9.0
  • OS: macOS 10.12.5

What happened:

I tried to yank a range of lines like I normally would in VIM:

:10,20y

What did you expect to happen: Lines are yanked to the paste buffer and I can paste it using p.

How to reproduce it: Run the yank command listed above. The lines will not be added to the paste buffer. You can check this through the p command or even checking :reg.

The workaround is to yank through a visual-mode selection or copy/pasting with the mouse. Definitely annoying to use the VIM emulator without this feature, though.

arecommandline help wanted kinfeature sizM statuworks-with-neovim

Most helpful comment

Would really like to see this feature. It's a huge productivity boost.

All 7 comments

Would really like to see this feature. It's a huge productivity boost.

Would love to have it too!

This works now when you _Enable Neovim_ in settings and set the _Neovim Path_ to where you installed neovim (e.g. the path to the nvim.exe file on Windows).

I really hope to have the feature, block-copy of marked area

:'a,'by

This is one of my favorite combo set. Whenever I need to copy a range of code, I have to use mouse. Please add this combo.

for example 3,17y, you can do this: 17-3+1=15. step one: y15y. step two: p. done!!!

With NeoVim enable you should be able to execute that.
"vim.enableNeovim": true
image
image

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ACollectionOfAtoms picture ACollectionOfAtoms  路  3Comments

spinningarrow picture spinningarrow  路  3Comments

edwintorok picture edwintorok  路  3Comments

typeoneerror picture typeoneerror  路  3Comments

stefanoio picture stefanoio  路  3Comments