modified for vim7.4