New answers tagged

2 votes

Yank current line range

If you want to copy the range specification you could add the following mapping: vnoremap <silent><C-s> :call setreg('"', line("'<") .. ',' .. line("'>"))<...
Vivian De Smedt's user avatar
0 votes

Yank current line range

If you hit y it will goes into the default register ". If you want it to go to the system clipboard (+ for Linux, * for Windows) you have to specify the register ("+y for Linux, "*y for ...
Vivian De Smedt's user avatar

Top 50 recent answers are included