Insert numbers on each line


#1

Hi!

There’s a really useful package in Sublime Text that inserts a number on each selection.
You open a dialog box which gives you query that looks like this N:M.

Where N is the starting number and M is the step size so 3:4 would give us:

  • 3
  • 7
  • 11
  • 15
  • 19
  • 23
  • … (for as many lines as we selected)

So the workflow would look like:

select multiple lines
ctrl-shift-p
insert numbers
3:4
done.