convert python code to vimscript code.