Occur
Emacs' M-x occur for Sublime Text 3
Details
Installs
- Total 338
- Win 169
- Mac 115
- Linux 54
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 | Nov 22 | Nov 21 | Nov 20 | Nov 19 | Nov 18 | Nov 17 | Nov 16 | Nov 15 | Nov 14 | Nov 13 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 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 | 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
sublime-occur
Emacs' M-x occur
for Sublime Text 3
Find all occurrences of a given piece of text in the current file, easily.
Screenshot
After entering app.
as the pattern to search for:
(The color scheme I'm using in that screenshot is my port of the Proton color scheme from the Vim ecosystem. I have not posted it anywhere but may if there's interest.)
How to install
(Mac only at the moment; sorry, it's what I have. Please feel free to submit a PR against this README file and I'll merge.)
Sublime Menu > Preferences > Browse Packages ...
- Open up Terminal.app (or iTerm2.app, or whatever you use)
- Type
cd
, drag the little folder at the top of the Finder window you just opened onto your terminal, and hit[Enter]
- Type
git clone https://github.com/dreki/sublime-occur
and hit[Enter]
Usage notes
Bring up the Command Palette and type 'occur'. You should then see something like 'Occur: Find occurrences in file …'. Hit enter and you'll be prompted to enter a regex pattern (treated as case-insensitive). Hit enter, and you'll be presented with your results in a panel. As you move up and down the list, the selected result will be scrolled into view (in the center of the screen, if possible). When you hit enter, the selected result will be visible in your editor and the results panel will disappear.
Please note that at the current time (2015-03-23), when no results are found, the results panel simply doesn't show up.