Occur
Emacs' M-x occur for Sublime Text 3
Details
Installs
- Total 333
- Win 165
- Mac 114
- Linux 54
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 | Aug 12 | Aug 11 | Aug 10 | Aug 9 | Aug 8 | Aug 7 | Aug 6 | Aug 5 | Aug 4 | Aug 3 | Aug 2 | Aug 1 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | 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 | 2 | 0 | 1 | 1 | 1 | 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 | 1 | 1 | 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.