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

Filter Lines

by davidpeckham ST2/ST3

Quickly find all lines matching a string or regular expression

Labels search

Details

  • 3 3.1.0
    2.0.3
  • github.​com
  • github.​com
  • 3 months ago
  • 2 hours ago
  • 4 years ago

Installs

  • Total 14K
  • Win 7K
  • OS X 5K
  • Linux 2K
Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 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
Windows 5 5 3 9 4 3 4 9 14 8 12 15 2 3 2 9 8 6 10 1 2 11 7 0 7 13 0 3 7 13 15 7 8 7 5 6 8 8 7 5 2 1 4 7 10 12
OS X 8 3 6 7 6 2 2 6 6 6 3 5 1 1 4 4 7 5 4 2 5 5 7 5 5 6 3 2 10 11 4 4 8 1 3 3 5 18 4 6 2 1 3 6 4 7
Linux 0 3 3 4 3 1 1 2 1 6 1 3 0 0 1 2 2 1 1 2 1 3 2 2 1 0 0 0 8 0 4 4 4 2 1 1 1 2 3 4 1 1 1 2 2 0

Readme

Source
raw.​githubusercontent.​com

Filter Lines

Quickly find all lines matching a string or regular expression.

On the Edit > Line menu:

  • Include lines with Regex ⌘+K ⌘+R
  • Include lines with String ⌘+K ⌘+S
  • Exclude lines with Regex
  • Exclude lines with String

On the Edit > Code Folding menu:

  • Fold Excluding Regex
  • Fold Excluding String
  • Fold With Regex
  • Fold With String

On Windows and Linux, press the ctrl key instead of the key.

Feedback

https://github.com/davidpeckham/sublime-filterlines/issues

Demo

Filter Lines Demo

Thanks

Filter Lines is based on a Sublime Text plugin tutorial by Daniel Beck. If you want to write a plugin, Daniel's tutorial is a good place to start.