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 881
  • Win 496
  • Mac 307
  • Linux 78
Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1
Windows 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 0 0 0 1 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 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
Linux 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 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.