# Setting default syntax highlight for new terminals

**URL:** <https://community.royalapps.com/t/setting-default-syntax-highlight-for-new-terminals/1688>\
**Category:** Royal TS (for Windows)\
**Created:** [October 28, 2022, 8:31am UTC](https://community.royalapps.com/t/setting-default-syntax-highlight-for-new-terminals/1688 "2022-10-28T08:31:29Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![erik\_ekman](https://community.royalapps.com/user_avatar/community.royalapps.com/erik_ekman/32/428_2.png) [@erik\_ekman](https://community.royalapps.com/u/erik_ekman)\
**Post date:** [October 28, 2022, 8:31am UTC](https://community.royalapps.com/t/setting-default-syntax-highlight-for-new-terminals/1688/1 "2022-10-28T08:31:29Z")

</div>

Is it possible to configure a default settings for syntax highlighting in Terminals in Royal TS 6? I’ve been fiddeling with settings but I cant get it to work. I thought this was configured in Plugins -\> Terminal -\> Override -\> Colors -\> Text Highlighting -\> Override, but when I add a bunch of regex and colors there, new terminals I create does not inherit those settings.

I would like to avoid creating terminal connections and later bulk edit them if possible.

---

<div class="post-metadata">

**Author:** ![christoph\_muehlberger](https://community.royalapps.com/user_avatar/community.royalapps.com/christoph_muehlberger/32/1572_2.png) [@christoph\_muehlberger](https://community.royalapps.com/u/christoph_muehlberger)\
**Post date:** [October 28, 2022, 10:49am UTC](https://community.royalapps.com/t/setting-default-syntax-highlight-for-new-terminals/1688/2 "2022-10-28T10:49:42Z")

</div>

Hi Erik,

this is possible via The Application Document \> Default Settings:

 ![](https://community.royalapps.com/uploads/default/original/2X/a/aedfdb9a2e830959511012857252e446e35e5633.png)

Make sure to set the Active Plugin to “Rebex” and afterwards you should be able to change the Text Highlighting default settings:

 ![](https://community.royalapps.com/uploads/default/original/2X/1/175d9ed4c654ca458095344779e5f9384f736d28.png)

I hope this helps!

Best regards,

Christoph

---

<div class="post-metadata">

**Author:** ![stefan\_koell](https://community.royalapps.com/user_avatar/community.royalapps.com/stefan_koell/32/9_2.png) [@stefan\_koell](https://community.royalapps.com/u/stefan_koell)\
**Post date:** [October 28, 2022, 11:12am UTC](https://community.royalapps.com/t/setting-default-syntax-highlight-for-new-terminals/1688/3 "2022-10-28T11:12:14Z")

</div>

Since you were using overrides, please check the help chapter which explains the use cases for those:

[https://docs.royalapps.com/r2021/royalts/tutorials/working-with-overrides.html](https://docs.royalapps.com/r2021/royalts/tutorials/working-with-overrides.html)

Regards,  
Stefan

---

<div class="post-metadata">

**Author:** ![erik\_ekman](https://community.royalapps.com/user_avatar/community.royalapps.com/erik_ekman/32/428_2.png) [@erik\_ekman](https://community.royalapps.com/u/erik_ekman)\
**Post date:** [October 28, 2022, 1:21pm UTC](https://community.royalapps.com/t/setting-default-syntax-highlight-for-new-terminals/1688/4 "2022-10-28T13:21:04Z")

</div>

Thanks! That was exactly what I was looking for.

---

<div class="post-metadata">

**Author:** ![christoph\_muehlberger](https://community.royalapps.com/user_avatar/community.royalapps.com/christoph_muehlberger/32/1572_2.png) [@christoph\_muehlberger](https://community.royalapps.com/u/christoph_muehlberger)\
**Post date:** [October 31, 2022, 8:26am UTC](https://community.royalapps.com/t/setting-default-syntax-highlight-for-new-terminals/1688/5 "2022-10-31T08:26:31Z")

</div>

Hi Erik,

you’re welcome, glad this worked for you.

If you need anything else, let us know.

In the meantime, we wish you a nice day!

Best regards,

Christoph

---

<div class="post-metadata">

**Author:** ![c\_t7](https://community.royalapps.com/letter_avatar_proxy/v4/letter/c/919ad9/32.png) [@c\_t7](https://community.royalapps.com/u/c_t7)\
**Post date:** [February 5, 2025, 9:07pm UTC](https://community.royalapps.com/t/setting-default-syntax-highlight-for-new-terminals/1688/6 "2025-02-05T21:07:43Z")

</div>

Is there support for this in the mac version?

---

<div class="post-metadata">

**Author:** ![christoph\_muehlberger](https://community.royalapps.com/user_avatar/community.royalapps.com/christoph_muehlberger/32/1572_2.png) [@christoph\_muehlberger](https://community.royalapps.com/u/christoph_muehlberger)\
**Post date:** [February 6, 2025, 5:31am UTC](https://community.royalapps.com/t/setting-default-syntax-highlight-for-new-terminals/1688/7 "2025-02-06T05:31:37Z")

</div>

Hi C,

yes, this is also possible in Royal TSX (macOS).

Here is an example of Highlighting the Username using triggers:

 ![](https://community.royalapps.com/uploads/default/original/2X/e/efecc6832960893d1649145e2a34e421c0af6bda.jpeg)

The username for the connection is “radmin”, so it is highlighted in this case:

 ![](https://community.royalapps.com/uploads/default/original/2X/e/ef310131c3568b7eb648b6a5ce9bca71847244f5.png)

As our Terminal connection object is based on iTerm2, you can find the documentation regarding Triggers including “Send Text” and “Run Command” here:

[https://iterm2.com/documentation-triggers.html](https://iterm2.com/documentation-triggers.html)

I hope this helps!

Best regards,

Christoph
