Match
Match - Emacs' occur-mode for Sublime Text
Details
Installs
- Total 360
- Win 211
- Mac 71
- Linux 78
Oct 29 | Oct 28 | Oct 27 | Oct 26 | Oct 25 | Oct 24 | Oct 23 | Oct 22 | Oct 21 | Oct 20 | Oct 19 | Oct 18 | Oct 17 | Oct 16 | Oct 15 | Oct 14 | Oct 13 | Oct 12 | Oct 11 | Oct 10 | Oct 9 | Oct 8 | Oct 7 | Oct 6 | Oct 5 | Oct 4 | Oct 3 | Oct 2 | Oct 1 | Sep 30 | Sep 29 | Sep 28 | Sep 27 | Sep 26 | Sep 25 | Sep 24 | Sep 23 | Sep 22 | Sep 21 | Sep 20 | Sep 19 | Sep 18 | Sep 17 | Sep 16 | Sep 15 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | 1 | 0 | 2 | 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
Match
Find all matches of a given pattern in a given view(s) in Sublime Text, similar to Emacs' occur-mode
.
This package is inspired by Emacs' occur-mode
and Sean Gilbertson's port to Sublime Text.
Find the package useful? Say thanks by buying me a beer.
Install
The package can be installed using one of the following methods:
Via Package Control (recommended)
Package Control: Install Package > Match
Manual
Sublime Menu > Preferences > Browse Packages ...
git clone https://github.com/li-vu/st-match match
Usage
- Use one of the following to trigger the search for matches:
- Find matches of the current word under the cursor by pressing
F8
, or - Bring up an input panel by the command
Match: Find ...
- Find matches of the current word under the cursor by pressing
Once the search finishes, an output panel will list the matches and their line numbers.
Use
up
anddown
to move between the matches in the output panel. As an match is selected, the view will move to its location, and the match will be underlined in the view.Use
enter
or double-click to move to a given match.
Options
match_use_regex
: use regular expression, (default:false
).match_case_sensitive
: case sensitive (default:false
).match_search_in_all_open_files
: search in all open files (default:false
, i.e. search in only the active view),match_embedded_syntax
: embedded the active view syntax highlight into the Match's output panel (default:true
). This only works when running in the active view.match_file_name_shortening_threshold
: when searching all open files, shorten file names that are longer than the threshold (default: 32 characters).
License
Copyright © 2016 li-vu
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation. http://www.gnu.org/licenses/gpl.html
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.