# TexStudio: Compile and Preview on File Save

I've spent the better part of the last couple hours searching through StackExchange and Google to find either a WYSIWYG style LaTeX editor, and for Windows, I have settled with TexStudio as the best offline option (I'm used to using Overleaf.)

In any case, one thing that would be a HUGE quality-of-life improvement for me would be to compile and preview my file upon save (Ctrl+S). Unfortunately, if I try to make Ctrl+S the shortcut to Build and View, it removes it as the hotkey to save.

Is there any way to set a hotkey for more than one command? Or any other way to automatically preview my document when I save?

I am using the built-in PDF viewer in TeXStudio.

• set a hotkey for more than one command is the same as use \label{} twice to refer two different equations!!! Just use the hot key for Build&View as mentioned before. Note that what will happen in Build&View you can configure in Options Menu. – Sigur Feb 20 '18 at 14:34