interface overview
Twig's interface is organized to keep your code, the agent, and tools accessible while you work. This page walks through the main areas.
main layout
The interface is divided into several key areas:
sidebar
The left sidebar provides navigation and workspace management:
- file tree - browse and open files in your project
- workspace list - switch between active workspaces
- search - find files and code across the project
Collapse the sidebar when you need more space for code.
editor pane
The central area where you view and edit files:
- tabs - open multiple files and switch between them
- syntax highlighting - language-aware code coloring
- line numbers - easy reference for code locations
agent chat
The right side (or bottom, depending on layout) hosts the agent interface:
- message input - type your requests here
- conversation history - see past messages and agent actions
- action previews - review proposed changes before approval
terminal
An integrated terminal at the bottom of the window:
- shell access - run any command you'd run in your regular terminal
- command history - access previous commands
- multiple sessions - open additional terminal tabs if needed
navigation
keyboard shortcuts
Common shortcuts to speed up your workflow:
| action | shortcut |
|---|---|
| open file | cmd + p |
| toggle sidebar | cmd + b |
| focus terminal | cmd + j |
| focus agent | cmd + k |
command palette
Access commands quickly with the command palette (cmd + shift + p). Type to search for actions like:
- Opening files
- Running commands
- Changing settings
- Workspace operations
customization
layout
Adjust the layout to match how you work:
- Resize panes by dragging borders
- Collapse sections you don't need
- Rearrange panels (where supported)
appearance
Twig follows your system appearance settings (light/dark mode) by default.
tips
- maximize the editor when focused on reading code
- keep the agent visible when working on complex tasks
- use the terminal for quick commands instead of switching apps
- open multiple files to compare code side-by-side