# Integrated text expander

**URL:** <https://forum.obsidian.md/t/integrated-text-expander/3476>\
**Category:** Plugins ideas (Archival in progress)\
**Created:** [July 21, 2020, 4:40pm UTC](https://forum.obsidian.md/t/integrated-text-expander/3476 "2020-07-21T16:40:55Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![sam.baron](https://forum.obsidian.md/user_avatar/forum.obsidian.md/sam.baron/32/20_2.png) [@sam.baron](https://forum.obsidian.md/u/sam.baron)\
**Post date:** [July 21, 2020, 4:40pm UTC](https://forum.obsidian.md/t/integrated-text-expander/3476/1 "2020-07-21T16:40:55Z")

</div>

So I know that a lot of us are using text expanders to augment our use of Obsidian and other apps, but I wonder about the benefits of an integrated text expander.

- Portability across devices and operating systems (once there is an Obsidian mobile app)
- Integration with other Obsidian plugins and features. An example would be inputting a date in the format you’ve chosen in the Daily Notes plugin to facilitate linking.

And perhaps this isn’t one plugin, but several plugins with specific use cases: inputting datetimes, metadata, templating, etc.

---

<div class="post-metadata">

**Author:** ![jcmatoskx](https://forum.obsidian.md/user_avatar/forum.obsidian.md/jcmatoskx/32/3324_2.png) [@jcmatoskx](https://forum.obsidian.md/u/jcmatoskx)\
**Post date:** [August 12, 2020, 4:49pm UTC](https://forum.obsidian.md/t/integrated-text-expander/3476/2 "2020-08-12T16:49:21Z")

</div>

+1 . Currently using an obsidian Vault as a database of text templates, so this would be amazingly useful!

---

<div class="post-metadata">

**Author:** ![anon41901724](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/a/3bc359/32.png) [@anon41901724](https://forum.obsidian.md/u/anon41901724)\
**Post date:** [August 12, 2020, 5:46pm UTC](https://forum.obsidian.md/t/integrated-text-expander/3476/3 "2020-08-12T17:46:13Z")

</div>

I believe this is a case where Obsidian would be better off pushing on its unique features rather than diverting energy to integrating things that can already be found in existing, compatible tools.

---

<div class="post-metadata">

**Author:** ![sam.baron](https://forum.obsidian.md/user_avatar/forum.obsidian.md/sam.baron/32/20_2.png) [@sam.baron](https://forum.obsidian.md/u/sam.baron)\
**Post date:** [August 12, 2020, 6:11pm UTC](https://forum.obsidian.md/t/integrated-text-expander/3476/4 "2020-08-12T18:11:07Z")

</div>

That’s why this is a plugin and not a core feature. And I think certain text-expansion features would enhance Obsidian, such as consistent metadata formatting that is then consumed by other plugins. Specifically, a date-picker that uses the date format from the Daily Notes plugin.

---

<div class="post-metadata">

**Author:** ![LION](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/l/57b2e6/32.png) [@LION](https://forum.obsidian.md/u/LION)\
**Post date:** [August 16, 2020, 2:53am UTC](https://forum.obsidian.md/t/integrated-text-expander/3476/5 "2020-08-16T02:53:51Z")

</div>

There are many things an integrated text expander can do. Better than an AutoHotKey or an Espanso.

> [@Templates for New Notes](https://forum.obsidian.md/t/templates-for-new-notes/322):
>
> I currently use Sublime Zettelkasten. When I create a new note, it automatically populates the note with a template. It would be nice to be able to start new notes with templates, and maybe even be able to choose from multiple templates depending on type

> [@Keyboard shortcuts to enter current date/time](https://forum.obsidian.md/t/keyboard-shortcuts-to-enter-current-date-time/110):
>
> Keyboard shortcuts to enter the current date, current time, and current date/time combined

---

<div class="post-metadata">

**Author:** ![akaalias](https://forum.obsidian.md/user_avatar/forum.obsidian.md/akaalias/32/2109_2.png) [@akaalias](https://forum.obsidian.md/u/akaalias)\
**Post date:** [August 17, 2020, 7:49am UTC](https://forum.obsidian.md/t/integrated-text-expander/3476/6 "2020-08-17T07:49:44Z")

</div>

+1 for a plugin for template-based shortcut-triggered text expansion á la Espanso.

---

<div class="post-metadata">

**Author:** ![henrique](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/h/ecb155/32.png) [@henrique](https://forum.obsidian.md/u/henrique)\
**Post date:** [August 17, 2020, 2:51pm UTC](https://forum.obsidian.md/t/integrated-text-expander/3476/7 "2020-08-17T14:51:55Z")

</div>

It’s a good idea but I don’t know if I’m going to use it, I already use PhraseExpress and I can do almost anything with it.

---

<div class="post-metadata">

**Author:** ![romanov.maxim](https://forum.obsidian.md/user_avatar/forum.obsidian.md/romanov.maxim/32/44980_2.png) [@romanov.maxim](https://forum.obsidian.md/u/romanov.maxim)\
**Post date:** [October 4, 2020, 8:04am UTC](https://forum.obsidian.md/t/integrated-text-expander/3476/8 "2020-10-04T08:04:27Z")

</div>

Integrated TE will be a great feature, but probably not the most needed right now. I personally use aText, that does all I need at the moment; When the mobile version of Obsidian comes out - then it will be a really good one to have, if TE works cross-platforms.

---

<div class="post-metadata">

**Author:** ![Dor](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/d/5fc32e/32.png) [@Dor](https://forum.obsidian.md/u/Dor)\
**Post date:** [October 4, 2020, 8:58am UTC](https://forum.obsidian.md/t/integrated-text-expander/3476/9 "2020-10-04T08:58:14Z")

</div>

The general advantage of text expanders is that they work in all programs.

An integrated expander would be good for those who only write in Obsidian, but few advantages otherwise.

I’ve not checked iOS, but Android expanders aren’t great and you always have to be concerned about permissions and security with unknown vendors. Typing Hero is the only one I’ve found that seems OK; quite a few try to circumvent Google’s revised security.

---

<div class="post-metadata">

**Author:** ![akaalias](https://forum.obsidian.md/user_avatar/forum.obsidian.md/akaalias/32/2109_2.png) [@akaalias](https://forum.obsidian.md/u/akaalias)\
**Post date:** [November 9, 2020, 6:22pm UTC](https://forum.obsidian.md/t/integrated-text-expander/3476/10 "2020-11-09T18:22:46Z")

</div>

I’m still on the fence myself. I used to have Espanso running but I didn’t use it often enough. I used to have the templates plugin on but not anymore.

I made a small proof-of-concept plugin for Obsidian and am currently testing out if built-in and in-text expansion has merit over the templates plugin and other expanders.

I don’t know yet!

## Demo

![demo](https://forum.obsidian.md/uploads/default/original/2X/9/9e2ffa51abdd68da34b9f19962e8a179126773c6.gif)

## Settings

Currently limited to 2 keywords (to start testing)

 ![settings](https://forum.obsidian.md/uploads/default/original/2X/d/d2a926970bce5392af50fa9303d69006b3f8165a.png)

## Repository

Anyways, if you want to test yourself, here’s the plugin

> **[akaalias/text-expander-plugin](https://github.com/akaalias/text-expander-plugin)**
>
> A bare-bones and opinionated proof-of-concept text expander utility for Obsidian - akaalias/text-expander-plugin

Let me know what you think!

---

<div class="post-metadata">

**Author:** ![tristanbailey](https://forum.obsidian.md/user_avatar/forum.obsidian.md/tristanbailey/32/4657_2.png) [@tristanbailey](https://forum.obsidian.md/u/tristanbailey)\
**Post date:** [November 9, 2020, 8:44pm UTC](https://forum.obsidian.md/t/integrated-text-expander/3476/11 "2020-11-09T20:44:09Z")

</div>

thanks for the starter idea. I have been using Expanso and making little bash and php scripts to make templates. But would like some of the variables to be available in obsidian, so will give your plugin a try.

---

<div class="post-metadata">

**Author:** ![Scooter](https://forum.obsidian.md/user_avatar/forum.obsidian.md/scooter/32/38158_2.png) [@Scooter](https://forum.obsidian.md/u/Scooter)\
**Post date:** [March 9, 2023, 3:52pm UTC](https://forum.obsidian.md/t/integrated-text-expander/3476/12 "2023-03-09T15:52:21Z")

</div>

This is a good idea. I think the point people are missing here is that, in my opinion, the way obsidian is designed, its better to have everything integrated into Obsidian. That way you can use everything on any device without having to rely on external tools like Phrase Express. The tools that you use should all be apart of the application. Its been my experience that this way is more portable.
