How to map keystrokes to a command in vim?
For example, I would like to create a custom command
Cmt, and I could use it to comment out lines 10-20 like this:
I have tried something like
:command -range Cmt <line1>gg O ... but it didn't work.