keyboard shortcuts to insert special characters

Oxygen general issues.
gszabo
Posts: 11
Joined: Wed Jan 25, 2023 1:15 am

keyboard shortcuts to insert special characters

Post by gszabo »

Hello,
Are their keyboard shortcuts for commonly used special characters such as em dashes and en dashes? If not, is there a way to add them?
Radu
Posts: 9059
Joined: Fri Jul 09, 2004 5:18 pm

Re: keyboard shortcuts to insert special characters

Post by Radu »

Hi,
Oxygen has a character map in the main menu "Edit->Insert from character map". You can also right click the toolbar area, configure the toolbars and show the "Symbols" toolbar button if you want to easily click to insert the last used symbols.
Other than that there are other ways to do this:
1) Define in the Preferences->"Editor / Content Completion / Code Templates" a code template which inserts any character or group of characters that you want. Give a shortcut to the code template. Code templates are also shown in the Author visual editing mode in the content completion window when pressing ENTER.
2) Define a custom Author action in your DITA framework extension folder and give it a shortcut:
https://blog.oxygenxml.com/topics/custo ... etion.html
There is also this Preferences->"Editor / Edit Modes / Author / AutoCorrect" page which allows you to map a sequence of characters to a replacement sequence of characters so that after you press space, type these characters and then space again they should be converted to the target sequence of character.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
gszabo
Posts: 11
Joined: Wed Jan 25, 2023 1:15 am

Re: keyboard shortcuts to insert special characters

Post by gszabo »

Radu,
Thank you for your help. I used the code template method, exactly what I needed!
Post Reply