You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But, it will also copy the line numbers, doesn't it?
I set let mapleader=";"and also set noremap <Leader>y "+y, which I expect to use ;yy yank 1 line to clipboard, ;y2y yank 2 lines, ;y3y yank 3 lines, and so on. I fact it does not work!
If I set omap <Leader>y "+y or nmap <Leader>y "+y to my vimrc, only ;yy yank 1 line to clipboard. But ;yny doesn't work, which n is any number, enen n is 1, mean ;y1y doesn't work.
So, is there a way to Yank multiple lines to clipboard with <leader>yny?
The text was updated successfully, but these errors were encountered:
Hi, @nowox I find you use
Ctrl + C
to copy things from Vim with these settings:But, it will also copy the line numbers, doesn't it?
I set
let mapleader=";"
and also setnoremap <Leader>y "+y
, which I expect to use;yy
yank 1 line to clipboard,;y2y
yank 2 lines,;y3y
yank 3 lines, and so on. I fact it does not work!If I set
omap <Leader>y "+y
ornmap <Leader>y "+y
to my vimrc, only;yy
yank 1 line to clipboard. But;yny
doesn't work, which n is any number, enen n is 1, mean;y1y
doesn't work.So, is there a way to
Yank multiple lines to clipboard with <leader>yny
?The text was updated successfully, but these errors were encountered: