![]() But the bottom line is I just map Ctrl+Shift+T to the texpander.sh bash script. I've personally tested this on Pop!_OS and Elementary OS 5.1 but each desktop environment has a slightly different way of setting up keyboard shortcuts. This process may be slightly different for you depending on what desktop environment and Linux distribution you have. For example, if want to use my email signature, I'll create a file ~/.texpander/sig.txt that has all of my contact information. I have a couple different email signatures that I use. So, if I'm typing an email, it doesn't matter if I'm in gmail (using Firefox, Chrome, Opera, or Vivaldi), Thunderbird, Vim, or Nylas, the workflow is the same. I have crtl+space assigned to run ~/bin/texpander.sh. Name the files in the format of abbreviation where the filename is the thing you want to type and the content of the file is what you want to have pasted into your document. The text expansion files reside in your ~/.texpander directory and can be organized in subdirectories. For example for Ubuntu you can get what you need with the following commands. If those aren't already installed on your system you can probably grab them from your distros package manager without any trouble. Texpander relies on a couple command line tools:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |