Text Marker
đź–Ť Text Marker (Highlighter) highlights words in Sublime Text
Details
Installs
- Total 9K
- Win 5K
- Mac 3K
- Linux 1K
Jan 6 | Jan 5 | Jan 4 | Jan 3 | Jan 2 | Jan 1 | Dec 31 | Dec 30 | Dec 29 | Dec 28 | 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 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 2 | 2 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 | 5 | 3 | 3 | 2 | 5 | 1 | 1 | 2 | 7 | 0 | 1 | 0 | 1 | 0 | 0 | 2 | 3 | 1 | 2 | 1 | 0 | 2 | 1 | 1 | 4 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 5 |
Mac | 2 | 0 | 1 | 0 | 0 | 0 | 3 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 3 | 2 | 1 | 1 | 0 | 1 | 4 | 2 | 1 | 1 | 1 | 0 | 0 | 2 | 1 | 0 | 2 | 1 | 0 | 0 | 4 | 0 | 0 | 0 | 0 | 0 | 1 | 0 |
Linux | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 3 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 |
Readme
đź–Ť Text Marker (Highlighter)
This Sublime Text plugin allows temporarily and persistently marking all occurrences of selected words in a color; multiple marked selections can be added simultaneously, each marking the selections with different colors.
Optionally (enabled by default) it also highlights all copies of a word that currently has the insertion cursor upon it or which is currently selected.
Simply use Alt+Space to mark selected text.
Installation
- Recommended - Using Sublime Package Control
- Ctrl+Shift+P then select
Package Control: Install Package
- install
Text Marker
- Ctrl+Shift+P then select
- Alternatively, download the package from GitHub into your
Packages
folder and make sure to rename the directory to “Text Marker”.
Usage
Step over any word in your document, all occurrences of the word will be highlighted.
Being over a word or having some selection, press Alt+Space to mark all.
Alt+Escape clears all marked text.
Each time you mark a word a different color will be used (colors are configurable in the settings)
Configuration
Open settings using the command palette:
Preferences: Text Marker Settings - User
You can configure live word highlight directly from the command palette:
Text Marker: Disable Live Highlight
You can add mouse mappings to be able to mark text by using Ctrl+Click; simply add the following Sublime Text “mousemaps”:
[
{ "button": "button1", "modifiers": ["alt"], "command": "text_marker", "press_command": "drag_select" },
{ "button": "button1", "count": 2, "modifiers": ["alt"], "command": "text_marker_clear", "press_command": "drag_select" }
]
- You can config the color and appearing order in Text Marker Setting:
Preferences - Package Setting - Text Marker Settings - User
{
"user":
{
"default_colors":
[
"lightgreen",
"lightcoral",
"lightcyan",
"lightgoldenrodyellow",
"mistyrose",
"olivedrab",
"plum",
"orange",
"mediumslateblue",
"teal",
"tomato",
"peachpuff",
"yellowgreen",
"whitesmoke",
]
}
}
License
Copyright © 2018 German Mendez Bravo (Kronuz). All rights reserved.
MIT license
This plugin was initially a fork of https://github.com/SublimeText/WordHighlight/blob/master/word_highlight.py