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

Select​Until

by xavi- ST2/ST3

A sublime package that lets you expand your current selection until a specific character, regex, or char-count is encountered.

Details

  • 2013.08.27.19.16.59
  • github.​com
  • github.​com
  • 4 years ago
  • 8 minutes ago
  • 5 years ago

Installs

  • Total 3K
  • Win 1K
  • OS X 1K
  • Linux 519
Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7
Windows 0 0 1 1 1 0 0 0 0 0 0 1 0 1 0 0 3 2 2 2 0 1 4 6 2 1 1 3 0 0 1 4 0 5 5 6 1 3 1 1 1 2 1 2 3 1
OS X 0 1 2 0 2 2 0 2 0 0 1 0 1 1 0 0 0 0 0 0 0 0 0 2 2 1 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0
Linux 0 1 0 0 2 0 1 1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 1 0 1 0 1 0 1 1 0 0 0 0 0 1 0

Readme

Source
raw.​githubusercontent.​com

SelectUntil

Fill a void in your Sublime Text multiple selection capabilities! This plugin allows you to extend each selection until the next instance of a search term, making it super easy to edit multiple pieces of text that are similar but not quite the same enough.

Usage

  • ctrl/alt + shift + s: pulls up an input field, where you can type:

    • search term or [search term]: for each selection, select up to and including the first occurrence of the search term.
    • /regex search/: select through the first occurrence of the regex.
    • {character count}: select forward the given number of characters.
    • -[search term]: select backwards up to and including the search term.
    • -/regex/: backwards regex.
    • -{character count}: select backwards a certain number of characters ({-count} works too).
  • ctrl/alt + shift + s a second time: reverses the search direction.

  • ctrl/alt + shift + r: reverse all selections (so if the insertion point is at the end of the selection, it is moved to the beginning, and vice versa).

On Windows and Linux the default shortcuts use alt. On OSX ctrl is used.

Getting SelectUntil

The easiest way to get SelectUntil is with Sublime Package Control. Search for “SelectUntil”.

Alternatively you can clone this git repository into your Packages Directory:

git://github.com/xavi-/sublime-selectuntil.git

Developed by

License

This project is released under The MIT License.