Skip to content

Configuration

Hammock’s settings live in one plain text file, ~/.config/hammock/config, in Ghostty’s syntax: one key = value per line, and # for comments. Settings writes the same file, and edits to it apply within a couple of seconds. Open it from Settings ▸ Appearance ▸ Edit Config File. If it’s a symlink into your dotfiles, it stays one.

The config file reference lists every key, with its default and values. For example:

app-theme = Nord
sidebar-layout = horizontal
font-family = JetBrains Mono
font-size = 14
copy-on-select = true
agent-sleep = 12h
notify-style = system
simulator-enabled = false
keybind = ctrl+cmd+b=new_browser_tab

If you use Ghostty, its font, cursor and paste-protection settings apply in Hammock too, unless Hammock’s file sets them.

app-theme picks one of Hammock’s themes, which colour the terminal, the window and the agent view together.

Terminal window
hmk theme # list them
hmk theme nord # use one

Custom sets each part on its own, such as the terminal’s colours from any Ghostty theme file, with a light and a dark one if you like:

app-theme = custom
theme = dark:Catppuccin Mocha,light:Catppuccin Latte
window-theme = Graphite

Add your own theme files to ~/.config/hammock/themes (Settings ▸ Appearance ▸ Open Themes Folder).

Change any shortcut in Settings ▸ Keyboard. In the config file, each change is a keybind line, chord=action:

# Give an action a shortcut
keybind = ctrl+cmd+b=new_browser_tab
# Free a shortcut
keybind = cmd+j=unbind
# Take an action's shortcut away
keybind = none=new_tab

Keyboard shortcuts lists every action’s name and default. The TUI has keys of its own: see The TUI.

Turn off browser, simulator, editor, diff or log panes you don’t use in Settings ▸ Tools: see Turning a kind of pane off. It also turns off automations and agents’ session search: see Turning tools off.

Open Settings with ⌘,. Its search finds any setting and jumps to it.

These docs describe Hammock 2026.11.0. What's new