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

Select​Until

by xavi- ALL

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
  • 11 years ago
  • 46 minutes ago
  • 12 years ago

Installs

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