diff --git a/lua/astrocommunity/color/vim-highlighter/README.md b/lua/astrocommunity/color/vim-highlighter/README.md new file mode 100644 index 000000000..0da08d73d --- /dev/null +++ b/lua/astrocommunity/color/vim-highlighter/README.md @@ -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' + diff --git a/lua/astrocommunity/color/vim-highlighter/vim-highlighter.lua b/lua/astrocommunity/color/vim-highlighter/vim-highlighter.lua new file mode 100644 index 000000000..18e2efd23 --- /dev/null +++ b/lua/astrocommunity/color/vim-highlighter/vim-highlighter.lua @@ -0,0 +1,16 @@ +return { + "azabiong/vim-highlighter", + lazy = false, -- Not Lazy by default + keys = { + -- These are basing keymaps to guide new users + { "f", desc = "Highlight" }, + { "f", desc = "Remove Highlight" }, + { "f", desc = "Clear Highlight" }, + { "f", desc = "Find Highlight (similar to Telescope grep)" }, + -- They are derivated from the default keymaps, see README.md to github repo for documentation + { "nn", "Hi>", desc = "Next Recently Set Highlight" }, + { "ng", "Hi<", desc = "Previous Recently Set Highlight" }, + { "n[", "Hi{", desc = "Next Nearest Highlight" }, + { "n]", "Hi}", desc = "Previous Nearest Highlight" }, + }, +}