Skip to main content
The list-actions command displays all available keybind actions that can be assigned to key combinations in Ghostty.

Usage

Description

This command lists all keybind actions available in Ghostty. These are the actions you can assign to keys in your configuration file using the keybind option.
These keybind actions are distinct from CLI actions (like +list-fonts, +show-config, etc.). To see CLI actions, use ghostty +help.

Options

--docs
boolean
Print documentation for each action, including a description of what the action does and any parameters it accepts.
-h, --help
flag
Display help information for this command.

Examples

List All Actions

List Actions with Documentation

Search for Specific Actions

Find Actions with Parameters

Lists only actions that accept parameters (indicated by :...).

Common Actions

Here are some commonly used actions:

Window & Tab Management

  • new_window - Open a new window
  • new_tab - Open a new tab
  • close_surface - Close current terminal
  • close_tab - Close current tab
  • close_window - Close current window
  • quit - Quit Ghostty
  • goto_tab:N - Go to tab number N
  • next_tab / previous_tab - Navigate between tabs
  • next_split / previous_split - Navigate between splits
  • jump_to_prompt:N - Jump to Nth prompt (requires shell integration)

Clipboard

  • copy_to_clipboard - Copy selection to clipboard
  • paste_from_clipboard - Paste from clipboard
  • paste_from_selection - Paste from selection (X11)

Display

  • increase_font_size / decrease_font_size - Adjust font size
  • reset_font_size - Reset font size to default
  • toggle_fullscreen - Toggle fullscreen mode
  • clear_screen - Clear the screen

Splits

  • new_split:right|left|up|down - Create new split
  • resize_split:direction,amount - Resize split
  • toggle_split_zoom - Zoom/unzoom current split

Configuration

  • reload_config - Reload configuration file
  • open_config - Open config in editor

Using Actions in Config

To use these actions in your configuration:
keybind Syntax

Examples

Example Config

Notes

Actions marked with :... require parameters. Use --docs to see what parameters each action accepts.
Some actions may only work on certain platforms or require specific features to be enabled (like shell integration).

See Also