Skip to content
pb-diff Help

Keyboard shortcuts

Help ▸ Keyboard Shortcuts shows the same list inside the application, drawn from the commands themselves. Every command is also on a menu, and most are on the tool bar.

Commands

Keys Command
Ctrl+N New Comparison
Ctrl+O Open Library
Ctrl+S Save
Ctrl+P Print
Ctrl+F2 Print Preview
Ctrl+W Close Tab
Ctrl+Tab Next Tab
Ctrl+Shift+Tab Previous Tab
F5 Refresh
Ctrl+C Copy
Ctrl+Insert Copy
Ctrl+Z Undo
Ctrl+Y Redo
Ctrl+F Find
F3 Find Next
Ctrl+Shift+I Only Changed Items
Ctrl+Shift+L Only Changed Lines
Alt+← First Change
Alt+↑ Previous Change
Alt+↓ Next Change
Alt+→ Last Change
Ctrl+L Compare Current Line
Ctrl++ Zoom In
Ctrl+- Zoom Out
Ctrl+0 Reset Zoom
F1 Help

The change-navigation keys step through the changes inside the item you are on, then move on to the next changed item; see File Compare. F1 opens the page of this Help for the tab in front (Help ▸ Help on This Tab), or in a dialog the dialog's own page; the object information window and Print Preview have no page of their own.

Inside a tab

Keys Where What they do
↑, ↓, then Enter or Space A compare pane with Only Changed Lines on Move onto a folded run of unchanged lines and unfold it.
Ctrl+Z The merged text of a merge Undo the last change to the script with focus.
↑, ↓, Page Up, Page Down A compare pane Move the caret a line or a page.
Ctrl+Home, Ctrl+End A compare pane Move to the first or the last line.
Ctrl+A, Ctrl+C A compare pane Select every line; copy the selection.
Ctrl+Shift+←, Ctrl+Shift+→ A compare pane Move the line between two versions, four characters at a time: the one on the right of the caret's column, or on its left in the last column. View ▸ Equal Column Widths puts the columns back to equal widths.
Enter or Ctrl+Enter The grid of a Compare Summary Open a File Compare for each selected row.
Enter The search box of a File Compare Go to the next match.

In this Help

Keys What they do
Ctrl+K or / Move to the search box.
↓, ↑, Enter Move through the search results and open one.
Esc Close the search results.