You can use the increment of selection . Just press Ctrl + Alt + I to select multiple numbers.
First you need packet control . All this should not take more than 30 seconds to install.
Steps:
- Install the management pack .
- Open the command palette: Ctrl + Shift + P (Windows / Unix) / Command + Shift + P (Mac).
- Enter
Install Package Control and click to install.
- Install the increment selection package.
- Reopen the command palette.
- Enter
Package Control: Install Package , click on it and wait a while. - Type
Increment Selection and click on it to set.
- Select multiple numbers and press Ctrl + Alt + I (Windows / Unix) / Command + Control + I (Mac).
Result:

Other examples
The increment of choice can also add prefixes to numbers with leading zeros, letters of increment, increment by step, generate line numbers and much more.
[1] text [1] text [1] -> 1| text 2| text 3| [a] text [a] text [a] -> a| text b| text c| [01] text [01] text [01] -> 01| text 02| text 03| [05,3] text [05,3] text [05,3] -> 05| text 08| text 11| [5,-1] text [5,-1] text [5,-1] -> 5| text 4| text 3| [#] line -> 1| line [#] line -> 2| line [#] line -> 3| line [#] line -> 4| line [#] line -> 5| line
Hint: [] stands for selection, | denotes a carriage.
dinomario10
source share