So, the highlighduplicate plugin for sulbime text does not seem to work for me so I'd like to create my own. I need this to identity duplicates so it's a step further than Sublime's 'Permute: Unique'
I've created a regex expression:
^(.*)(\r?\n\1)+$ that will find duplications and it seems to work well.
Now, all I need is quick keyboard shortcut to trigger it. I tried recording a macro (using cmd+i) but it didn't seem to take even after multiple attempts.
I know sublime packages are written in python but I'm not well-versed in Python.
How would I write this plugin/package?