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
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 Nov 22 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
Windows 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 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 1
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 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 1 0 0 0 0 1 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 } },