My vim does most everything what I want with :retab!
one thing I would like it to do in addition is remove all trailing whitespace like this,
:%s/\s\+$//
Is there a way to redefine :retab!
such that the above command runs after it. If not, can I define another function (:fixws!
) that calls :retab!
and the above regex?
:fixws!