AutoTag function implement using Vim script