📅 2019-Oct-11 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ ⬩ 📚 Archive
When trying to understand or review code in Vim, I find it useful to highlight all occurences of multiple words. Preferably each word is highlighted in a different color. This is precisely what the vim-interestingwords plugin offers to do.
Install the plugin from its Github URL: https://github.com/lfv89/vim-interestingwords
To toggle highlighting of a word on or off: \k
To clear all highlighted words: \K
To jump between occurences of the last word: n
. To jump between occurences of another highlighted word, first take the cursor to that word and then start on n
again.
Tried with: Vim 8.0 and Ubuntu 18.04