Search code examples
regexvimspacetext-cursor

Add spaces at cursor position


I would like to know if it is possible to add spaces (30 spaces) at cursor position

I tried to do it with regex but I don't know how to represent the actual cursor position in regex.


Solution

  • 30iSPACE will add 30 spaces at the cursor position in command mode.