ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Copy Paste Increment

by xvrqt ST3

Sublime Text plugin that copies the selected content while incrementing any numbers found within.

Details

Installs

  • Total 893
  • Win 504
  • Mac 309
  • Linux 80
Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25
Windows 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Copy, Paste and Increment

This plugin takes selected text and duplicates it N times, individually incrementing all the numbers found within. It does not preserve 0 padding (e.g. test0001.jpg -> test2.jpg). If you're insterested in this feature, please open an issue.

GitLab: https://git.xvrqt.com/amy/duplicate-and-increment

Shortcut

super + shift + alt + v

Opens a text prompt at the bottom of the screen asking how many times you would like to duplicate the section.

super + shift + ctrl + v

Duplicates the selected region 1 time. Does not ask for input.