fix syntax and quoting in functions
syntax length and clipboard in vim