- Type
Add Repository
into command palette Install Package
- Choose
Text Highlighter
with NeoVintageous https://github.com/NeoVintageous/NeoVintageous
vnoremap <leader>j :TextHighlighterToggle<CR>
snoremap <leader>j :TextHighlighterToggle<CR>
nnoremap <leader>j :TextHighlighterToggle<CR>
nnoremap <leader>c :TextHighlighterClearAll<CR>
Put settings like below to your keybinding file.
{ "keys": ["ctrl+super+j"], "command": "text_highlighter_toggle" }
// use specific color as below
{ "keys": ["ctrl+super+j"], "command": "text_highlighter_toggle", "args": { "color": "markup.changed.git_gutter"} }
{ "keys": ["ctrl+super+h"], "command": "text_highlighter_clear_all" }
[ markup.changed.git_gutter, support.class, markup.deleted.git_gutter, markup.inserted.git_gutter, constant.numeric, constant.character.escape, variable, string, comment ]
Inspired by https://github.com/ryu1kn/vscode-text-marker