quick implementation with vimscript