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

Exact Quick Find

by Aaron Fu Lei ALL

Quick Find subject to case-sensitive and whole-word restrictions.

Details

Installs

  • Total 9
  • Win 4
  • Mac 4
  • Linux 1
Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13
Windows 0 1 0 0 2 0 1 1 2 0 0 1 0 0 5 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
Mac 0 0 1 2 0 1 2 0 1 0 2 2 4 9 15 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 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 0 0

Readme

Source
raw.​githubusercontent.​com

Exact Quick Find

A Sublime Text plugin.

Quick Find subject to case-sensitive and whole-word restrictions.

And a full set of peek-based navigation and selection methods to boost productivity.

Finding the exact whole word “debug” in lowercase. Note that the find flags on the status bar are toggled from [c][w][R] to [C][W][R]. [C] for case sensitive. [W] for whole word. [R] for wrap scan.

Install

Package Control

How to Use

  1. Key Bindings

    No default key bindings. For recommended and user key bindings, open

    Preferences > Package Settings > Exact Quick Find > Key Bindings
    
  2. Main Menu

    Find > Exact Quick Find
    
  3. Command Palette

    Hint: enter eqf in the command palette to view all the commands.

Basic Commands

Recommended Key Bindings

Command Windows / Linux macOS
Exact Quick Find: Toggle Case Sensitive Alt + C Opt + C
Exact Quick Find: Toggle Whole Word Alt + W Opt + W
Exact Quick Find: Toggle Wrap Scan Alt + R Opt + R
Exact Quick Find: Flip Find Flags Alt + F Opt + F
Exact Quick Find: Goto Next Ctrl + E Cmd + E
Exact Quick Find: Goto Prev Ctrl + B Cmd + B
Exact Quick Find: Goto Prev Ctrl + Shift + E Cmd + Shift + E
Exact Quick Find: Add Next Ctrl + D Cmd + D
Exact Quick Find: Add Prev Ctrl + Shift + D Cmd + Shift + D
Exact Quick Find: Add All Ctrl + Alt + D Cmd + Opt + D
  • Use

    • Exact Quick Find: Toggle Case Sensitive to toggle the case-sensitive flag
    • Exact Quick Find: Toggle Whole Word to toggle the whole-word flag
    • Exact Quick Find: Toggle Wrap Scan to toggle the wrap-scan flag
    • Exact Quick Find: Flip Find Flags to toggle multiple flags in one go
  • Furthermore, use

    • Exact Quick Find: Goto Next to go to the next match - this resembles the built-in Quick Find Next
    • Exact Quick Find: Goto Prev to go to the previous match
    • Exact Quick Find: Add Next to add the next match - this resembles the built-in Quick Add Next
    • Exact Quick Find: Add Prev to add the previous match
    • Exact Quick Find: Add All to add all matches - this resembles the built-in Quick Find All

Advanced Commands

Adding, subtracting, and reviewing selections with peek-based methods.

Recommended Key Bindings

Command Windows / Linux macOS
Exact Quick Find: Peek Next Ctrl + G Cmd + G
Exact Quick Find: Peek Prev Ctrl + Shift + G Cmd + Shift + G
Exact Quick Find: Peek Next Selected Ctrl + H Cmd + H
Exact Quick Find: Peek Prev Selected Ctrl + Shift + H Cmd + Shift + H
Exact Quick Find: Add This Ctrl + 6 Cmd + 6
Exact Quick Find: Subtract This Ctrl + Shift + 6 Cmd + Shift + 6
Exact Quick Find: Single Select This Ctrl + 7 Cmd + 7
Exact Quick Find: Invert Select This Ctrl + Shift + 7 Cmd + Shift + 7
Exact Quick Find: Go First Ctrl + 5 Cmd + 5
Exact Quick Find: Go Last Ctrl + Shift + 5 Cmd + Shift + 5
Exact Quick Find: Go Back Ctrl + 8 Cmd + 8
  • Use

    • Exact Quick Find: Peek Next to peek at the next match
    • Exact Quick Find: Peek Prev to peek at the previous match
    • Exact Quick Find: Peek Next Selected to peek at the next selected match
    • Exact Quick Find: Peek Prev Selected to peek at the previous selected match
    • Exact Quick Find: Add This to add the current match to selections
    • Exact Quick Find: Subtract This to subtract the current match from selections
    • Exact Quick Find: Single Select This to single select the current match, and to clear all the rest selections
    • Exact Quick Find: Invert Select This to add all but the current matches to selections
  • Furthermore, use

    • Exact Quick Find: Go First to go to / add / peek at the first match
    • Exact Quick Find: Go Last to go to / add / peek at the last match
    • Exact Quick Find: Go Back to go to / add / peek at the match where the search starts

Understanding Peek

There are 3 types of moves in terms of the way that they affect current selections

  1. Goto - Subtract an old region, and add a new region.

  2. Add - Leave the old region as it is, and add a new region.

  3. Peek - Leave the old region as it is, and move to a new region without affecting selections.

Peek itself makes no changes to current selections. Users are free to move to a region and then decide whether to add or subtract that region.

Understanding Go

Go repeats its previous command's way in affecting selections.

  • If previous command is Goto, to Go is to Goto

  • If previous command is Add, to Go is to Add

  • If previous command is Peek, to Go is to Peek

  • If there are no previous commands in the search, to Go is to Goto

Settings

Preferences > Package Settings > Exact Quick Find > Settings

Author

Aaron Fu Lei

License

MIT