mirror of
https://github.com/wakywayne/obsidian-hotstrings.git
synced 2026-07-22 05:35:15 +00:00
No description
| .editorconfig | ||
| .eslintignore | ||
| .eslintrc | ||
| .gitignore | ||
| .npmrc | ||
| esbuild.config.mjs | ||
| main.ts | ||
| manifest.json | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| styles.css | ||
| tsconfig.json | ||
| version-bump.mjs | ||
| versions.json | ||
Obsidian Hotstrings Plugin
A plugin for Obsidian that allows you to create custom text expansions (hotstrings) that automatically expand as you type.
Features
- 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
Installation
- Open Obsidian Settings
- Go to Community Plugins and disable Safe Mode
- Click Browse and search for "Hotstrings"
- Install the plugin and enable it
Usage
Creating Hotstrings
- 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}
Using Hotstrings
Simply type your trigger text anywhere in Obsidian. The plugin will automatically replace it with your defined expansion.
Reloading Hotstrings
If you make changes to your hotstrings, you can reload them using the command palette:
- Press
Ctrl/Cmd + Pto 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
Examples
Here are some useful hotstring examples:
:sig→ Your signature:date→ Current date:addr→ Your address:mail→ Your email address
Tips
- Use the quick add 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
Troubleshooting
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
Support
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