To replace CRLF in vi

 

:set magic

:set nolist

Replace “,)” with “)”

:%s/,\n)/)/g

Can also use “VM” (press all keys at the same time)