All posts

The keyboard shortcuts worth learning in Luzbase

Compile, jump between source and PDF, wrap math, move lines and save versions without reaching for the mouse. The shortcuts that save the most time, grouped by what you're doing.

Three keyboard shortcuts in Luzbase: Command Enter to compile, Command S to save a version and Ctrl Option J to show in PDF.

You don't need to learn every shortcut. You need the ten or so you'll use fifty times a day. Here they are, grouped by what you're doing.

On macOS, ⌘ is the Command key and ⌥ is Option. On Windows and Linux, use Ctrl wherever you see ⌘ and Alt wherever you see ⌥.

The two you'll use most

Shortcut

What it does

⌘ Enter

Compile

⌘ S

Save a version

Luzbase saves your typing continuously, so ⌘S doesn't "save the file". It opens Save version so you can name a snapshot, like Sent to co-authors. Muscle memory that used to protect you from losing work now gives you a proper history instead.

Moving between source and PDF

Shortcut

What it does

⌃⌥J (Ctrl+Alt+J)

Show the current line in the PDF

Double-click the source

Same as above

Double-click the PDF

Jump to the source line that produced it

This pair is the single biggest time-saver in a long document. Spot a typo on page 47 of the PDF, double-click it, and you're on the right line of the right file.

Formatting

Shortcut

What it does

⌘B / ⌘I / ⌘U

Bold, italic, underline

⌘E

Emphasis (\emph)

⌘⇧X

Strikethrough

⌘K

Insert link

⌘⌥1 / ⌘⌥2 / ⌘⌥3

Section, subsection, subsubsection

⌘⌥0

Back to normal text

⌘⇧7 / ⌘⇧8

Numbered list / bulleted list

These work in both Code and Visual mode. In Code mode they write the LaTeX for you: select a phrase, press ⌘E, and it becomes \emph{phrase}.

Math

Shortcut

What it does

⌘M

Inline math: wraps the selection in $…$

⌘⇧M

Display math

Type E = mc^2, select it, press ⌘M. Done.

Editing

Shortcut

What it does

⌃Space

Show completions

⌘/

Comment or uncomment lines

⌥↑ / ⌥↓

Move the line up or down

⌘⇧K

Delete the line

Tab / ⇧Tab

Indent or outdent a list item

⌘/ is underrated. Comment out a whole section to see whether it's the one breaking your compile, then uncomment it with the same keys.

⌥↑ / ⌥↓ is the fastest way to reorder items in a list, or rows in a table.

Finding things

Shortcut

What it does

⌘F

Find

⌘⌥F or ⌘H

Find and replace

⌘G / ⇧⌘G

Next / previous match

⌘⌥G

Go to line

Go to line pairs well with error messages from co-authors: "there's a problem on line 312 of results.tex" is now two seconds of work.

When you forget

Press F1 for the full list, or click Keyboard shortcuts in the toolbar. Nobody remembers them all. Learn two this week, two next week, and in a month the mouse is mostly for scrolling the PDF.

Start writing free.