I find myself doing the following very often:
xkyyxjp (where x is a number).
I copy a whole line x lines up, and then I paste it x lines down (and vice versa); and so I wanted to make a map so I can do it automatically, ideally with:
x<Leader>u, where x is the number and u is the letter that indicates the mapping. I tried:
nnoremap <Leader>u @='jyy'<CR>
nnoremap <expr> <Leader>u v:count1 kyy v:count1 jp
How could I write said mapping? Is there an already built-in key that does this?