Like the Finder or many other native Mac apps, you can customize the toolbar in Textmode.
In the Textmode app on your Mac, open a document.
Choose View > Customize Toolbar.