Sublime Forum

Add number and increase it for each

#1

It would be useful if you could add a number for each cursor but each cursor adds a number on top of that.
Left is before, right is after.
Example:
Screenshot_1

0 Likes

#2

https://packagecontrol.io/packages/Insert%20Nums

0 Likes

#3

The built-in Arithmetic command does this. The default i + 1 will insert “1”, “2”, “3”…, but because it’s a python expression you can do practically any arithmetic on it.

4 Likes

#4
3 Likes