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 thekeybind option.
These keybind actions are distinct from CLI actions (like
+list-fonts, +show-config, etc.). To see CLI actions, use ghostty +help.Options
Print documentation for each action, including a description of what the action does and any parameters it accepts.
Display help information for this command.
Examples
List All Actions
List Actions with Documentation
Search for Specific Actions
Find Actions with Parameters
:...).
Common Actions
Here are some commonly used actions:Window & Tab Management
new_window- Open a new windownew_tab- Open a new tabclose_surface- Close current terminalclose_tab- Close current tabclose_window- Close current windowquit- Quit Ghostty
Navigation
goto_tab:N- Go to tab number Nnext_tab/previous_tab- Navigate between tabsnext_split/previous_split- Navigate between splitsjump_to_prompt:N- Jump to Nth prompt (requires shell integration)
Clipboard
copy_to_clipboard- Copy selection to clipboardpaste_from_clipboard- Paste from clipboardpaste_from_selection- Paste from selection (X11)
Display
increase_font_size/decrease_font_size- Adjust font sizereset_font_size- Reset font size to defaulttoggle_fullscreen- Toggle fullscreen modeclear_screen- Clear the screen
Splits
new_split:right|left|up|down- Create new splitresize_split:direction,amount- Resize splittoggle_split_zoom- Zoom/unzoom current split
Configuration
reload_config- Reload configuration fileopen_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
- list-keybinds - List current keybindings
- Keybinding Configuration
- show-config