-
-
Notifications
You must be signed in to change notification settings - Fork 250
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Vim Highlighter | ||
|
||
A Neovim plugin which extends Vim's highlighting capabilities with additional features such as jump to highlights, saving and loading, finding patterns, and customizing colors. | ||
It can be a useful tool when analyzing code, reviewing and summaries. | ||
|
||
**Repository:** https://github.com/azabiong/vim-highlighter | ||
|
||
Post-scriptum: access commands descriptions by visual selecting text and pressing 'f' | ||
|
16 changes: 16 additions & 0 deletions
16
lua/astrocommunity/color/vim-highlighter/vim-highlighter.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
return { | ||
"azabiong/vim-highlighter", | ||
lazy = false, -- Not Lazy by default | ||
keys = { | ||
-- These are basing keymaps to guide new users | ||
{ "f<Enter>", desc = "Highlight" }, | ||
{ "f<BS>", desc = "Remove Highlight" }, | ||
{ "f<C-L>", desc = "Clear Highlight" }, | ||
{ "f<Tab>", desc = "Find Highlight (similar to Telescope grep)" }, | ||
-- They are derivated from the default keymaps, see README.md to github repo for documentation | ||
{ "nn", "<cmd>Hi><CR>", desc = "Next Recently Set Highlight" }, | ||
{ "ng", "<cmd>Hi<<CR>", desc = "Previous Recently Set Highlight" }, | ||
{ "n[", "<cmd>Hi{<CR>", desc = "Next Nearest Highlight" }, | ||
{ "n]", "<cmd>Hi}<CR>", desc = "Previous Nearest Highlight" }, | ||
}, | ||
} |