I have used this script to be able to highlight results from test reports: https://vim.fandom.com/wiki/Highlight_multiple_words
When using it in Vim, it works fine when I type
:Highlight 1 FAILED (For some reason the numpad-keys don't work).
Unfortunately, this is not session persistent, so what I was planning to do is create a chain of these commands and add them to my notepad where I store frequently used commands. In this case, I could use it every time I open a test-report.
So for example, I would use:
:Highlight 1 FAILED | :Highlight 2 PASSED. Unfortunately this didn't work. I also tried escaping the pipe and removing the second colon.
Strangely enough, when trying
echo "a" | echo "b" it does work?
What am I doing wrong here? How do I chain these commands properly?