No description
Find a file
wakywayne80@gmail.com 3619aaf839 Updated Manifest File
2025-01-09 20:54:12 -05:00
.editorconfig Initial commit 2025-01-09 20:08:02 -05:00
.eslintignore Initial commit 2025-01-09 20:08:02 -05:00
.eslintrc Initial commit 2025-01-09 20:08:02 -05:00
.gitignore Initial commit 2025-01-09 20:08:02 -05:00
.npmrc Initial commit 2025-01-09 20:08:02 -05:00
esbuild.config.mjs Initial commit 2025-01-09 20:08:02 -05:00
main.ts fixed issue where plugin wasn't loading on startup 2025-01-09 20:52:36 -05:00
manifest.json Updated Manifest File 2025-01-09 20:54:12 -05:00
package-lock.json Plugin currently works 2025-01-09 20:22:05 -05:00
package.json Initial commit 2025-01-09 20:08:02 -05:00
README.md Updated Manifest File 2025-01-09 20:54:12 -05:00
styles.css Initial commit 2025-01-09 20:08:02 -05:00
tsconfig.json Initial commit 2025-01-09 20:08:02 -05:00
version-bump.mjs Initial commit 2025-01-09 20:08:02 -05:00
versions.json Initial commit 2025-01-09 20:08:02 -05:00

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

  1. Open Obsidian Settings
  2. Go to Community Plugins and disable Safe Mode
  3. Click Browse and search for "Hotstrings"
  4. Install the plugin and enable it

Usage

Creating Hotstrings

  1. Open Obsidian Settings
  2. Navigate to the Hotstrings plugin settings
  3. 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:

  1. Press Ctrl/Cmd + P to open the command palette
  2. Search for "Reload Hotstrings"
  3. 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:

  1. Check if the plugin is enabled under Community Plugins
  2. Try reloading the hotstrings using the command palette
  3. Ensure there are no conflicts with your hotstrings
  4. 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