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 478
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 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23
Windows 0 0 0 0 0 0 1 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
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 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

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 } },