ics-vim.md 368 B

Adapt an ICS file with Vim

Tips to modify an autogenerated ics file with the Vim text editor.

Remove unescaped \n

Commande vim : :%s/\\n//g

Before :

SUMMARY:TP - CCUBE - C000\n

After :

SUMMARY:TP - CCUBE - C000

Shrink dash

Command vim : :%s/ - /,/g

Before :

SUMMARY:TP - CCUBE - C000

After :

SUMMARY:TP,CCUBE,C000