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 1K
  • OS X 574
  • Linux 561
Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13
Windows 1 6 2 3 5 4 5 3 1 1 2 7 7 2 8 4 4 2 7 4 6 4 6 0 6 6 4 4 5 0 2 1 4 0 4 5 5 2 2 3 3 2 5 3 3 1
OS X 0 2 0 0 1 0 1 1 0 0 0 0 3 2 3 1 0 0 0 1 1 4 0 1 2 1 1 2 0 0 0 2 0 6 0 1 2 1 0 0 0 1 0 1 2 0
Linux 0 1 0 3 1 1 2 2 2 0 1 0 3 2 0 5 2 0 0 2 4 0 3 0 1 4 2 0 0 0 0 0 1 3 1 3 1 1 0 1 0 1 1 2 0 1

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.