Keyboard Shortcuts#

ActionShortcut / Gesture
Open FileCmd + O or open -a GalleyPDF document.pdf
PrintCmd + P
QuitHold Cmd + Q, or press it twice (Galley ▸ Warn Before Quitting turns this off)
FindCmd + F (toggle search bar)
Find Next / PreviousCmd + G / Shift + Cmd + G (also Enter / Shift + Enter while the search bar is focused)
Use Selection for FindCmd + E
Zoom In / OutCmd + + / Cmd + -
Actual SizeCmd + 0
Auto ResizeCmd + _
Single PageCmd + 1
Single Page ContinuousShift + Cmd + 1
Two PagesCmd + 2
Two Pages ContinuousShift + Cmd + 2
Next PageSpace
Previous PageShift + Space
Jump to PageType page number or label (e.g., 123, iv, cover)
Back / ForwardCmd + [ / Cmd + ] (navigation history)
Clear Selection / CancelEsc
Inverse SearchCmd + Click on PDF
Character InspectionRight-click on selected text
Color PickerShift + Cmd + K or right-click ▸ Color Picker (click to lock / unlock, Esc to close)
Copy Color as Text / as PDFShift + Cmd + C / Option + Cmd + C (while the Color Picker is open)
Measure / Move / Resize AreaShift + Drag (drag inside marquee to move; drag edges/corners to resize)
Copy SelectionCmd + C (copies as vector PDF)
Toggle PDF Info SidebarCmd + I
Toggle PDF Bookmarks SidebarCmd + B
Toggle PDF Annotations SidebarCmd + N
Copy Annotation ContentCmd + C (with an Annotations row selected)
Enter / Exit Full ScreenmacOS standard (View ▸ Enter Full Screen, Fn + F)
MinimizeCmd + M
Window TilingmacOS standard (Window ▸ Move & Resize, Fn + Ctrl + Arrow keys)

Every one of these is a menu item, and every menu item can be rebound; see Custom Key Bindings.

  • Direct Jump: type a page number or label without modifier keys, and a minimalist HUD appears at the bottom. Input auto-commits after 1 second of inactivity.
  • Window Title: displays <FileName> - Page <label> (<physical>/<total>) for a zero-distraction interface.
  • Link Preview: hovering over a PDF link for 0.3 s shows a popover with a real-size snippet of the target page (internal links) or the URL text (external links).
  • Navigation History: Cmd + [ / Cmd + ] return to where you were before following a link, clicking a bookmark or annotation, jumping to a search match, or running a Forward Search, the same keys Preview uses.
  • Last Position: reopening a PDF, after opening another one or after quitting, brings back the page, the position on it and the zoom you left it at. Galley finds the record by the file’s path and, for a file that has since been moved or renamed, by a SHA-256 of its contents. If the page count has changed (a recompile that reflowed the document, or a different file under the same name), it opens at page 1 as before. A Forward Search and galleypdf open --page always take precedence. View ▸ Restore Last Position turns this off.
  • Hold to Quit: a quick Cmd + Q only shows “Hold ⌘Q to Quit”; keep holding for a second, or press it again while the message is showing, to quit, as in Chrome. It guards the preview against a stray keystroke while you type in your editor. Quitting from the menu, the Dock or a script is immediate, and Galley ▸ Warn Before Quitting restores the immediate Cmd + Q.
  • No Cmd + W: Galley has a single window, so closing it quits the app. File ▸ Close is left without a key; bind one yourself if you want it, as shown in Custom Key Bindings.
  • macOS 27 and Single Page / Two Pages: PDFKit on macOS 27 stops turning the page on Space, Page Down, Page Up and the arrow keys in the non-continuous modes whenever its scroll view carries a content inset, as it does under Galley’s full-size title bar (Skim is affected the same way). Galley 0.8 and later detect the stuck key and turn the page themselves.
  • Persistence: Galley remembers Display Mode, Book Mode, RTL, Page Color, Restore Last Position and Warn Before Quitting via UserDefaults, and puts the Color Picker panel back where you last left it, with its display mode and simulation profile.