[Tex/LaTex] How to define custom shortcuts in WinEdt 10.2

winedt

How do I define custom shortcuts like F7 for compiling with XeLaTex and F8 with LuaLaTex ? It's on MainMenu.ini and maybe how do I change F9 for LuaLaTex or XeLaTex if F7, F8 are taken..

Best Answer

Open the option interface (menu Options -> Options interface).

Double click on Main Menu in Menus and Toolbars

enter image description here

This will open your local mainmenu.ini.

Search for the lualatex entry.

Select the value for the shortcut (or add one if you don't have one):

enter image description here

Get the code for the shortcut

In the top bar of the option interface there will now be a small keyboard. Use it to select a shortkey which will be copied to the ini-file.

enter image description here

Load the changed ini-file

This is done with the leftmost symbol in the top bar of the option interface.

If the shortcut doesn't work this normally means that some other tool is already using the shortcut.

Related Question