Quick actions and built-in commands for efficient development workflows.When using Gammacode, you can type
/ followed by a command name to quickly execute actions. Most commands also have keybinds using ctrl+x as the leader key.
Bash commands
Start a message with! to run a shell command:
Available slash commands
/compact
Compact the current session by summarizing previous conversations to save context space./summarizeKeybind:
ctrl+x c
This is useful when your conversation gets long and you want to preserve the important context while reducing token usage.
/details
Toggle tool execution details on/off. When enabled, shows detailed information about tool usage and execution.ctrl+x d
Use this to see more verbose output about what tools Gammacode is using and how they’re being executed.
/editor
Open external editor for composing messages. Uses the editor set in yourEDITOR environment variable.
ctrl+x e
This opens your preferred text editor for writing longer, more complex prompts or code snippets.
/exit
Exit Gammacode./quit, /qKeybind:
ctrl+x q
/export
Export current conversation to Markdown and open in your default editor. Uses the editor set in yourEDITOR environment variable.
ctrl+x x
This is useful for saving conversations, creating documentation, or sharing your development process with others.
/help
Show the help dialog with all available commands and keybinds.ctrl+x h
/init
Create or update theAGENTS.md file in your project. This file contains project-specific instructions that Gammacode will follow throughout your development workflow.
ctrl+x i
The /init command analyzes your codebase and creates a project-specific AGENTS.md file containing build commands, code style guidelines, and project conventions.
/models
List all available AI models that you can use with Gammacode.ctrl+x m
This shows you which models are available and allows you to switch between them for different tasks.
/new
Start a new session, clearing the current conversation history./clearKeybind:
ctrl+x n
Use this when you want to start fresh with a new development task or conversation.
/redo
Redo a previously undone message. Only available after using/undo.
ctrl+x r
/sessions
List and switch between active sessions, allowing you to manage multiple conversations./resume, /continueKeybind:
ctrl+x l
This is useful when working on multiple features or projects simultaneously.
/undo
Undo last message in the conversation. Removes the most recent user message, all subsequent responses, and any file changes.ctrl+x u
Command categories
Session management
/new- Start fresh conversation/sessions- Switch between conversations/compact- Summarize to save context/export- Save conversation to file
Development workflow
/init- Set up project configuration/undo- Revert changes and messages/redo- Restore undone changes!command- Execute shell commands
Environment
/models- Switch AI models/editor- Use external editor/details- Toggle verbose output
Utility
/help- Show all commands/exit- Quit Gammacode
Using keybinds
Most slash commands have corresponding keybinds usingctrl+x as the leader key:
- Press and hold
ctrl+x - Release and press the command key (e.g.,
hfor help)
ctrl+x h- Helpctrl+x n- New sessionctrl+x i- Initialize projectctrl+x u- Undoctrl+x r- Redoctrl+x q- Quit
Examples
Development workflow
Multi-session workflow
Shell integration
Best practices
Efficient command usage
- Use keybinds for frequently used commands (
ctrl+x nfor new session) - Combine shell commands with conversation (
!lsthen discuss the files) - Use
/compactregularly in long sessions to manage context - Export important conversations with
/exportfor documentation
Session management
- Use descriptive first messages for easy session identification
- Switch between sessions with
/sessionsfor different tasks - Start new sessions for unrelated topics
- Use
/undofreely - it’s safe and reversible with/redo
Development workflow
- Run
/initin new projects to set up Gammacode configuration - Use shell commands (
!) to check status, run tests, etc. - Combine
/undoand/redofor safe experimentation - Toggle
/detailswhen you need to debug tool usage