Terminator plugin that allows you to copy the selected text as HTML
While the feature request for Terminator to natively support "Copy As HTML" is being worked (see Copy as HTML [Feature Request] #754), this plugin can act as a substitute.
In applications like Obsidian for note taking, the HTML will to rendered so it looks just like a screenshot, but all your text is still there for easy searching.
A plugin can be installed by adding the copyAsHTML.py
python file in one of two locations:
/usr/[local/]share/terminator/terminatorlib/plugins/
This will need root permissions to do. The optional local/ is usually for packages installed by hand, rather than through the package manager, and this depends on how Terminator was installed on your system.~/.config/terminator/plugins/
This allows you to use plugins without needing root.
- Download
copyAsHTML.py
and move to the plugin directory
git clone https://github.com/justin-ball/Terminator-CopyAsHTML.git
cd Terminator-CopyAsHTML
cd copyAsHTML.py ~/.config/terminator/plugins/
chmod +x ~/.config/terminator/plugins/copyAsHTML.py
- Restart and open
Terminator
- Right-Click in the Terminator window and click
Preferences
- Click on the
Plugins
tab - Check
CopyAsHTML
- Click
X Close
- You should now see the option
Copy as HTML
when you right-click selected text