UserDefaults Keys#

All settings live under the com.github.munepi.galley domain.

KeyTypePurpose
syncTexEditorStringEditor used for inverse search: emacs (default), vscode, vimtex or custom. Set from the SyncTeX menu. See Inverse Search.
customEditorCommandStringInverse-search command for the Custom editor. See Custom Editor.
emacsclientPathStringExplicit path to emacsclient. See Emacsclient Path.
vimtexFlavorStringWhich binary VimTeX inverse search launches: auto (default; Neovim if present, otherwise Vim), nvim or vim.
displayModeIntegerPage layout, as a PDFDisplayMode value: 0 single page, 1 single page continuous, 2 two pages, 3 two pages continuous. See Display Modes.
displaysAsBookBooleanBook Mode — page 1 stands alone as the cover.
displaysRTLBooleanRight-To-Left spreads, for 縦書き and other right-bound documents.

The display keys are written whenever you change the corresponding View menu item, which is why the layout survives a restart.

For debug logging, see Debug Logging — logs are emitted via os_log, no UserDefaults key required.

Read current values#

defaults read com.github.munepi.galley

Reset everything#

defaults delete com.github.munepi.galley