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

Search​Panel​Enhanced

by shagabutdinov ST2/ST3

Replacement for default sublime "search in file" functionality

Details

Installs

  • Total 3K
  • Win 1K
  • OS X 793
  • Linux 420
Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 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
Windows 0 0 0 1 0 3 1 0 0 0 1 0 1 0 0 2 4 0 0 1 1 1 1 0 0 1 1 0 0 1 0 1 1 0 2 0 1 1 0 0 0 0 1 1 0 0
OS X 1 2 2 1 0 2 0 0 1 0 1 0 0 0 0 1 0 2 0 0 0 0 1 0 0 2 1 1 0 0 1 1 1 0 1 0 0 0 0 0 1 1 0 0 0 1
Linux 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 1 1 0 1 0 1 1 0 0 1 2 0 1 0 0 0 0 0 0 0 1 1 0

Readme

Source
raw.​githubusercontent.​com

Sublime SearchPanelEnhanced plugin

Replacement for default sublime “search in file” functionality.

Demo

WARNING

This plugin replace sublime's default “search” to unobvious shortcuts-driven search. Please rtfm twice before using this plugin.

By default it maps search by “fuzzy” to keyboard. It can be really annoying for somebody who don't like fuzzy behaviour so I suggest to those people disable this plugin or make keyboard remap after installation.

Reason (:scream::scream::scream::scream: MULTICURSORS :scream::scream::scream::scream:)

Sublime's default search works great but at one day I noticed that I would like to change some behaviour of it. Things that annoyed me at most:

  • no multicursors support (big shame)

  • strange selection when I complete search (I need to always hit move by character left to insert text at left of word or move by word right to insert text at end of word; or both if I want to replace word)

After rewriting search panel and fixing those issues I've added some usefull stuff to search panel. Everything are described in “Commands” section of this readme.

Installation

This plugin is part of sublime-enhanced plugin set. You can install sublime-enhanced and this plugin will be installed automatically.

If you would like to install this package separately check “Installing packages separately” section of sublime-enhanced package.

Features

  • Search through file by text, word, regexp and fuzzy expresssion (oO)

  • Go to start or end of word when completing search; or select word or all words occurences

  • Change search modes with keyboard shortcuts (only)

  • Find under cursor (it also differs a bit from sublime's default find_under)

  • Select and delete to found functionality

Usage

Hit keyboard shortcut to avoke search panel, enter desired text and hit “enter” to go to found.

Commands

Description Keyboard shortcuts Command palette
Display fuzzy panel ctrl+f SearchPanelEnhanced: Display fuzzy
Display fuzzy backward panel ctrl+shift+f SearchPanelEnhanced: Display fuzzy backward
Display normal panel ctrl+alt+f SearchPanelEnhanced: Display normal
Display normal backward panel ctrl+alt+shift+f SearchPanelEnhanced: Display normal backward
Goto next result alt+f SearchPanelEnhanced: Goto next result
Goto previous result alt+shift+f SearchPanelEnhanced: Goto previous result
Find under alt+e SearchPanelEnhanced: Find under
Find under backward alt+shift+e SearchPanelEnhanced: Find under backward
Go to end of found ctrl+enter
Select found shift+enter
Select all found ctrl+shift+enter
Toggle regexp alt+q
Toggle word alt+w
Toggle fuzzy alt+e
Toggle case sensetive alt+s
Show previous search alt+i
Show next search alt+k
Select to found ctrl+s
Delete to found ctrl+d

Dependencies