Page 1 of 1

How to use the F4 shortcut to save time

Posted: Mon Mar 07, 2016 9:36 am
by Albert Wiersch
Did you know the F4 key is quite powerful, useful, and time-saving?

If you are doing a repetitive operation with a text inserter command, or a text selection or sort command then you can use F4 to quickly repeat the last command.

For example, if you want to place <code> tags around a lot of little pieces of text throughout a document then you can do the following:
  1. Make sure the HTML Inserter is visible (View->Toolbars->Inserters->HTML).
  2. Select the first piece of text in the document and choose C-><code>|</code> from the HTML Inserter.
  3. For every other little piece of text you want to surround in <code> tags, simply select it and press F4 to repeat the last text insertion command.
And don't forget the User Inserter that you can configure with your own custom pieces of text. For example, do you want to surround several pieces of text with <span class="myclass"> and </span> tags? No problem! Make sure the User Inserter is visible (View->Toolbars->Inserters->User) and edit its config file (User->Edit Configuration) by adding a line like this:

Code: Select all

<tag menu='S' flags='32' inserttext='<span class="myclass">|</span>'/>
Then save the config file and reload it (User->Reload Configuration).