Sfoglia il codice sorgente

Add command to swap subject and type of course

DricomDragon 5 anni fa
parent
commit
9856cbb48a
1 ha cambiato i file con 14 aggiunte e 0 eliminazioni
  1. 14 0
      Guides/ics-vim.md

+ 14 - 0
Guides/ics-vim.md

@@ -63,3 +63,17 @@ After :
 SUMMARY:TD,EPS
 SUMMARY:TD,ALL
 ```
+
+## Swap type of course and subject
+
+Command vim : `%s/SUMMARY:\(.*\),\(.*\)/SUMMARY:\2,\1/c`
+
+Before :
+```
+SUMMARY:TD,EPS
+```
+
+After :
+```
+SUMMARY:EPS,TD
+```