I have a script called
lorem.sh which takes in the number of paragraphs(first argument) and number of lines in each paragraph(second argument) and prints random text of that format to standard out. I turned this into a vim key binding so I could enter this text into my file with :
nmap <leader>l :read ! ~/lorem.sh 1 100<CR>
This works but I was wondering if it would be possible to add a count to this command in the same way you can specify a count to other commands like
Ndd to delete N lines below the current one. If I could have something like
N<leader>l working, I could enter N paragraphs of text at once.