Skip to main content

Shortcuts and configuration

Keyboard shortcuts

ShortcutAction
RRectangle tool
PPolygon tool
SSelect mode
DDimension tool
QEdit the selected item
IPlace an instance
OOpen a cell
Cmd+NCreate a cell in the current module
Cmd+Shift+RRename the open cell
FFit the layout to the canvas
UUndo (in the source buffer)
Ctrl+RRedo
Arrow keysPan
Cmd/Ctrl++ / -Zoom in or out
:Focus the Neovim command line, where :Argon arguments complete with Tab
Ctrl+BackslashSwitch between the GUI and Neovim
Ctrl+Shift+DShow diagnostics
Ctrl+Shift+MShow messages
EscCancel the current operation
EnterConfirm or finish the current operation

Configuration

Argon reads $XDG_CONFIG_HOME/argon/config.toml, or ~/.config/argon/config.toml if that variable isn't set.

[gui]
dark_mode = true
hierarchy_depth = 3
icon_size = 20
font_size = 14

[log]
level = "info"

font_size and icon_size are in logical pixels, from 1 to 256. After editing the file, run :Argon reload. To change a value for this session only, use :Argon set; to write the current settings back to disk, use :Argon saveConfig.

Troubleshooting

The open cell is invalid after a signature change

Press O and reopen it with arguments that match the new signature. Argon won't guess values for new parameters.

Something won't move

A solid edge or an existing dimension is already fixing that coordinate. An initial value can't override a constraint.

You need more detail on an error

Run :Argon diagnostics and :Argon log. For more, set log.level = "debug" and reload the configuration.

The GUI didn't start

Check that argon-analyzer and argone are on your PATH, the buffer's file ends in .ar, and the library has Argon.toml and lib.ar. Then run :Argon gui.