Sfoglia il codice sorgente

Add command to reformat description

Avoid description to take multiple lines.
DricomDragon 5 anni fa
parent
commit
91b391f3f7
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4 0
      Guides/ics-vim.md

+ 4 - 0
Guides/ics-vim.md

@@ -6,6 +6,10 @@ Tips to modify an autogenerated ics file with the Vim text editor.
 
 `%s/\/\?\(INGE_\)\?EI_[A-Z0-9_]*,\? \/\? \?//g`
 
+## Reformat description
+
+`%s/\n - DESCRIPTION : \(.*\)$/\1/`
+
 ## Remove useless description
 
 Vim command : `:%s/^ - DESCRIPTION : \n//`