cleaned up vimscript