Sun, 19 Feb 2023 19:41:19 -0600
Add + configure interestingwords
--- a/.config/nvim/lazy-lock.json +++ b/.config/nvim/lazy-lock.json @@ -23,6 +23,7 @@ "vim-asciidoc": { "branch": "master", "commit": "81530e5e9228cb0da1132fdcd51a89df3bf8e585" }, "vim-endwise": { "branch": "master", "commit": "43301cf9a0fafd78cec7c2e5b9c0e2cfd9436e8a" }, "vim-illuminate": { "branch": "master", "commit": "49062ab1dd8fec91833a69f0a1344223dd59d643" }, + "vim-interestingwords": { "branch": "master", "commit": "e59f97aca15c6180e6f3aceaf4f7b50ca04326ed" }, "vim-perl": { "branch": "dev", "commit": "f40ece108099df561157ed7fdb764f8c183a8bfc" }, "vim-plugin-viewdoc": { "branch": "master", "commit": "c9d4e2c3ce6c932091f500053681638f1b39870d" }, "vim-signature": { "branch": "master", "commit": "6bc3dd1294a22e897f0dcf8dd72b85f350e306bc" },
--- a/.config/nvim/lua/config/maps.lua +++ b/.config/nvim/lua/config/maps.lua @@ -38,9 +38,6 @@ map.set("n", "g<C-]>", ":exe 'ltag ' . e -- clear all interestingwords with \\k since \K is ri.vim map.set("n", "<leader><leader>k", ":call UncolorAllWords()<CR>", opts) --- mark line -map.set("n", "<leader>l", "V<leader>k", opts) - -- use Grep for a recursive * map.set("n", "g*", ":Grep<CR>", opts)
--- a/.config/nvim/lua/plugins/editing.lua +++ b/.config/nvim/lua/plugins/editing.lua @@ -12,6 +12,15 @@ g.tagbar_autofocus = 1 g.tagbar_compact = 1 g.tagbar_width = 30 +-- >> interestingwords +-- These are jellybeans colors and some complements +g.interestingWordsGUIColors = { + '#C4A258','#6AADA0', '#71B9F8', '#A037B0', '#CF6A4C', '#D8AD4C', +} +g.interestingWordsTermColors = { + '179', '73', '75', '133', '167', '136', +} + return { "editorconfig/editorconfig-vim", @@ -22,6 +31,7 @@ return { {"mbbill/undotree", cmd = "UndotreeToggle"}, "tpope/vim-vinegar", + "lfv89/vim-interestingwords", "kshenoy/vim-signature", {"majutsushi/tagbar", cmd = "TagbarToggle"},