A Neovim plugin inspired by Kindle, allowing you to highlight words and attach notes with numbered markers.
- Highlight words with a Kindle-like yellow background
- Add notes to highlights (optional)
- Numbered markers link to notes
- View all highlights/notes in a "Notebook" style list
- Clear all annotations
Using lazy.nvim:
{
"ralphmodales/highlight.nvim",
config = function()
require("highlight").setup()
end
}:KindleHighlightor<leader>kh- Highlight word and add note:KindleNoteor<leader>kn- Show note at cursor:KindleNotebookor<leader>kl- List all highlights/notes:KindleClearor<leader>kc- Clear everything
require('highlight').setup({
highlight = { bg = '#ffcc00', fg = '#000000' },
keymaps = {
highlight = '<leader>kh',
show_note = '<leader>kn',
notebook = '<leader>kl',
clear = '<leader>kc',
}
})Pull request welcome!