Wiki Tipps
Tabellen in Vim bearbeiten
Diese Tabellen sind nicht sehr benuzterfreundlich:
| ::: | AM335x | UART2 | | | | | Multiplexed | | ::: | AM335x | UART3 | TTL | | • | | | | ::: | AM335x | UART4 | RS232 | • | • | | | | ::: | AM335x | UART5 | | \\ | \\ | \\ | Multiplexed | | ::: | AM335x | USB0 | USB2517 | • | • | • | |
Die Spaces werden aber für die zentrierte Darstellung benötigt.
Mit Vim kann man das align Plugin benutzen: https://github.com/vim-scripts/Align
Mit dem Vim Kommando :Align \^ |
kann man die Tabelle so darstellen:
^ Component ^ Device ^ Interface ^ Function ^ Pre-release ^ Rev 0100 ^ Rev 0101 ^ Remarks ^ " | TQMa335x | AM335x | UART0 | RS485 | - | • | | | | ::: | AM335x | UART1 | | | | | Multiplexed | | ::: | AM335x | UART2 | | | | | Multiplexed | | ::: | AM335x | UART3 | TTL | | • | | |
In der Darstellung ist das bearbeiten einfacher.
Mit den Kommandos
:% s/\s\+|\s\+/ | /g :% s/\s\+\^\s\+/^/g :% s/^\s\+|/|/g :% s/|\s\+•\s\+/| • /g
kann man die Datei wieder zurück in Wiki-Syntax konvertieren.
Disclaimer
TQ-Systems GmbH provides the Board Support Packages (BSP) free of charge. The software included in the shipment has been configured individually for the starter kits. The software is only intended to evaluate the module. The use of the Board Support Packages (BSP) is only allowed within the scope of functionality described by TQ-Systems GmbH. TQ-Systems GmbH does not accept any liability for all further changes of the Board Support Package and for any damage resulting from its use.
TQ-Systems GmbH provides the Board Support Packages (BSP) free of charge. The software included in the shipment has been configured individually for the starter kits. The software is only intended to evaluate the module. The use of the Board Support Packages (BSP) is only allowed within the scope of functionality described by TQ-Systems GmbH. TQ-Systems GmbH does not accept any liability for all further changes of the Board Support Package and for any damage resulting from its use.