Fix: name of function in autocommand was no longer valid

vawa() no longer exists, so fixing the call to "hlvar()" instead
Fix behavior on split or new tab

The variable to store the most recent match was scoped with 's:'. Upon
splitting a window or opening a new tab, vim would issue and error
message about an unknown match. Fixing this by scoping it per window
using 'w:'.