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

Readme

Source
raw.​githubusercontent.​com

Sublime SwapStrings

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.