Improve plugin to allow searching
Fix error when line doesn't start with -