Shortcuts and configuration
Keyboard shortcuts
| Shortcut | Action |
|---|---|
| R | Rectangle tool |
| P | Polygon tool |
| S | Select mode |
| D | Dimension tool |
| Q | Edit the selected item |
| I | Place an instance |
| O | Open a cell |
| Cmd+N | Create a cell in the current module |
| Cmd+Shift+R | Rename the open cell |
| F | Fit the layout to the canvas |
| U | Undo (in the source buffer) |
| Ctrl+R | Redo |
| Arrow keys | Pan |
| Cmd/Ctrl++ / - | Zoom in or out |
| : | Focus the Neovim command line, where :Argon arguments complete with Tab |
| Ctrl+Backslash | Switch between the GUI and Neovim |
| Ctrl+Shift+D | Show diagnostics |
| Ctrl+Shift+M | Show messages |
| Esc | Cancel the current operation |
| Enter | Confirm 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.