I use vim as IDE and vimium in the browser.

I'd like to find a solution to copy&paste blocks of code without a mouse. It would be ideal when the selection of a text block could be switch in an easy way. So that you can jump from one text block to the next. Does anyone know a good solution?

  • v and page up/down is not good enough? If not please explain why, thanks :-) – Nicolas Raoul Aug 20 '19 at 7:56
  • I am not sure if I understand you correctly. Do you mean that with page up / down the start string can be found faster and then yank the paragraph in visual mode? Find this quite awkward it would be easier if you could move through paragraphs and then copied the desired one. But probably I just miss the right hint. – incognito Aug 20 '19 at 21:41
  • In the vi editor, when I want to yank a large quantity of text, I just press v or V on the top line, and press "page down" until the last line, then y. – Nicolas Raoul Aug 21 '19 at 2:33
  • Ok, that helps a bit. But it would be nice if you do not have to choose separately the beginning and the end of the paragraph. Should actually be possible to recognize all sections of text and switch by j,k. – incognito Aug 22 '19 at 20:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.