Is there a way in VIM to visually select multiple sections / non-consecutive lines in a document that are not directly connected? My goal is to copy certain parts of a document to a different one, open on a different buffer in the current VIM instance. However the same procedure could also be used to delete such a selection. Let's say in the below example I want to select the rows 2,6 and 11.
1 global _main
2 extern _printf
3
4 section .text
5 _main:
6 push message
7 call _printf
8 add esp, 4
9 ret
10 message:
11 db 'Hello, World', 10, 0