I do a lot of remote programming on my CentOS linux server by opening an X11 xterminal window on my Mac OS, and SSH into the server. I'm looking for an easy to use method to enter a predefined text string when hitting a customized hotkey.
For example, instead of manually typing:
# cd /home/users/jim/jcode/algorithms/applications
I'd like to type something like command-A, or enter a custom key sequence like ";app" at the command line and have it be replaced with the text above.
I tried various programs like TextExpander (http://smilesoftware.com/textexpander/faq.html), on my mac, but they don't support X11 xterminals.
Anyone know of a good way to achieve this?