my code should work for you.. just set the %var

on *:text:*:#:{ set %wordline.line $1- }

it working for me and doing the stuff you asking for.. so it would be strange if it didnt do the same for you..