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

Swap​Strings

by philippotto ST2/ST3

A Sublime Text Plugin which allows swapping of arbitrary strings (e.g. single and double quotation marks)

Details

Installs

  • Total 3K
  • Win 2K
  • OS X 610
  • Linux 628
Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 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
Windows 0 2 3 7 4 2 2 1 4 3 4 0 5 3 0 9 3 0 6 3 4 4 6 6 4 2 1 3 5 4 8 3 0 2 3 5 5 2 4 2 1 0 7 1 4 5
OS X 0 0 0 1 1 0 0 0 1 0 0 0 0 0 1 0 2 1 1 0 0 0 1 2 1 0 0 0 2 0 2 2 0 0 1 2 0 2 2 1 0 2 1 2 1 0
Linux 0 1 3 1 0 1 4 1 2 2 0 0 4 1 2 2 2 4 0 1 2 3 3 0 2 0 1 0 0 1 2 0 1 2 0 0 1 2 2 2 0 1 2 1 2 2

Readme

Source
raw.​githubusercontent.​com

Sublime SwapStrings Build Status

A Sublime Text 2/3 Plugin which allows swapping of arbitrary strings within a selection. A common usecase is swapping of single and double quotation marks:

But it is also possible to choose other strings to swap, e.g.:

The command is called swap_strings and can be parameterized with stringA and stringB. The default keybinding is: - ctrl/super+shift+alt+s for the generic swap_strings command - ctrl+shift+alt+c for swap_strings parameterized with “ and ' for stringA and stringB

The command will be executed on the current selection. If nothing is selected, the current line will be used for the command.

Installation

Either use Package Control and search for SwapStrings or clone this repository into Sublime Text's "Packages” directory.