A plugin for Obsidian that allows you to create custom text expansions (hotstrings) that automatically expand as you type.
- Create custom text expansions that trigger automatically while typing
- Supports both simple and complex text replacements
- Easy to configure through the plugin settings
- Works in any note or editor within Obsidian
- Hotstrings can be reloaded without restarting Obsidian
- Open Obsidian Settings
- Go to Community Plugins and disable Safe Mode
- Click Browse and search for "Hotstrings"
- Install the plugin and enable it
- Open Obsidian Settings
- Navigate to the Hotstrings plugin settings
- Add new hotstrings in the format:
- Trigger: The text you type
- Expansion: The text it expands to
Example: LOL~.~{Laugh Out Loud}
Simply type your trigger text anywhere in Obsidian. The plugin will automatically replace it with your defined expansion.
If you make changes to your hotstrings, you can reload them using the command palette:
- Press
Ctrl/Cmd + P
to open the command palette - Search for "Reload Hotstrings"
- Select the command to reload your changes Alternatively you can add a hotkey by clicking the plus button in the hotkey settings
Here are some useful hotstring examples:
SIG~.~{Your signature saying how you are a nice person and proffesional or something}
→ Your signatureSUPA~.~{supercalifragilisticexpialidocious}
→ Long word that you don't want to have to typeMAILAD
→ Your email address
- Use the quick add community plugin to easily add hotstrings to the hotstring file git-repo
- Hotstrings are case-sensitive by default
- Triggers must be unique
- Use the reload command after adding new hotstrings
If hotstrings aren't working:
- Check if the plugin is enabled under Community Plugins
- Try reloading the hotstrings using the command palette
- Ensure there are no conflicts with your hotstrings
- Restart Obsidian if issues persist
If you encounter any issues or have suggestions:
- Open an issue on the GitHub repository
- Include steps to reproduce the problem
- Provide your Obsidian version and operating system
Contributions are always welcome! Here's how you can help:
- Fork the repository
- Create a new branch (
git checkout -b featureName
) - Make your changes
- Test the code for a week or few days if you are a heavy user
- Commit your changes
- Push to the branch (
git push origin feature/improvement
) - Create a Pull Request
- Clone your fork of the repository
- Install dependencies with
npm install
- Make your changes in the
main.ts
file - Build the plugin with
npm run dev
Please ensure your PR:
- Follows the existing code style
- Includes relevant documentation updates
- Describes the changes made
- References any related issues