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

Quickfind

by Colin T.A. Gray (colinta) ST3 Needs Review

Works similarly to TextMate's ctrl+s. But if text is already selected, it will be the default search. Keep pressing ctrl+s to search for the next instance.

Details

Installs

  • Total 3K
  • Win 1K
  • Mac 992
  • Linux 479
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 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2
Windows 0 0 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Quickfind plugin

Works similarly to TextMate's ctrl+s. But if text is already selected, it will be the default search. Keep pressing ctrl+s to search for the next instance.

Installation

Using Package Control, install “Quickfind” or clone this repo in your packages folder.

I recommended you add key bindings for the commands. I've included my preferred bindings below. Copy them to your key bindings file (⌘⇧,).

Commands

quickfind: Displays an input panel where you can enter a quick search.

If text is selected, it will search for that text if the previous command was 'quickfind'.

If extend option is true, the selection will be extended up to (but not including) the search.

Default search settings are:

  • wrap: True
  • case_insensitive: True
  • use_regex: False
  • look_backwards: False
  • extend: False

Key Bindings

Copy these to your user key bindings file.

{ "keys": ["ctrl+s"], "command": "quickfind" },
{ "keys": ["ctrl+shift+s"], "command": "quickfind", "args": { "extend": true } },
{ "keys": ["alt+s"], "command": "quickfind", "args": { "look_backwards": true } },
{ "keys": ["alt+shift+s"], "command": "quickfind", "args": { "look_backwards": true, "extend": true } },
{ "keys": ["ctrl+alt+s"], "command": "quickfind", "args": { "use_regex": true } },