Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Keybind action reference

Every action a keybind accepts, in the order and with the text of voyager7 +list-actions --docs. Bind one as keybind = TRIGGER=ACTION, or ACTION:PARAMETER where the action takes one; see Configuration and CLI and the keybind key. Ghostty's actions keep Ghostty's order; Voyager7's own v7_ actions follow.

Actions

ignore

Ignore this key combination.

Ghostty will not process this combination nor forward it to the child process within the terminal, but it may still be processed by the OS or other applications.

unbind

Unbind a previously bound key binding.

This cannot unbind bindings that were not bound by Ghostty or the user (e.g. bindings set by the OS or some other application).

csi

Send a CSI sequence.

The value should be the CSI sequence without the CSI header (ESC [ or \x1b[).

For example, csi:0m can be sent to reset all styles of the current text.

esc

Send an ESC sequence.

text

Send the specified text.

Uses Zig string literal syntax. This is currently not validated. If the text is invalid (i.e. contains an invalid escape sequence), the error will currently only show up in logs.

reset

Reset the terminal.

This can fix a lot of issues when a running program puts the terminal into a broken state, equivalent to running the reset command.

If you do this while in a TUI program such as vim, this may break the program. If you do this while in a shell, you may have to press enter after to get a new prompt.

copy_to_clipboard

Copy the selected text to the clipboard.

Valid values:

  • plain

    Copy the selection as plain text only.

  • vt

    Copy the selection as plain text, preserving terminal escape sequences (such as colors and styles).

  • html

    Copy the selection as HTML, preserving colors and styles as HTML markup.

  • mixed (default)

    Place multiple representations on the clipboard at once (e.g. plain text and HTML), each tagged with its content type so the receiving OS or application can pick the most appropriate representation when pasting.

paste_from_clipboard

Paste the contents of the default clipboard.

copy_url_to_clipboard

If there is a URL under the cursor, copy it to the default clipboard.

copy_title_to_clipboard

Copy the terminal title to the clipboard. If the terminal title is not set or is empty this has no effect.

increase_font_size

Increase the font size by the specified amount in points (pt).

For example, increase_font_size:1.5 will increase the font size by 1.5 points.

decrease_font_size

Decrease the font size by the specified amount in points (pt).

For example, decrease_font_size:1.5 will decrease the font size by 1.5 points.

reset_font_size

Reset the font size to the original configured size.

set_font_size

Set the font size to the specified size in points (pt).

For example, set_font_size:14.5 will set the font size to 14.5 points.

Start a search for the given text. If the text is empty, then the search is canceled. A canceled search will not disable any GUI elements showing search. For that, the explicit end_search binding should be used.

If a previous search is active, it is replaced.

search_selection

Start a search for the current text selection. If there is no selection, this does nothing. If a search is already active, this changes the search terms.

Navigate the search results. If there is no active search, this is not performed.

Valid values: previous, next.

Start a search if it isn't started already. This doesn't set any search terms, but opens the UI for searching.

End the current search if any and hide any GUI elements.

clear_screen

Clear the screen and all scrollback.

select_all

Select all text on the screen.

scroll_to_top

Scroll to the top of the screen.

scroll_to_bottom

Scroll to the bottom of the screen.

scroll_to_selection

Scroll to the selected text.

scroll_to_row

Scroll to the given absolute row in the screen with 0 being the first row.

scroll_page_up

Scroll the screen up by one page.

scroll_page_down

Scroll the screen down by one page.

scroll_page_fractional

Scroll the screen by the specified fraction of a page.

Positive values scroll downwards, and negative values scroll upwards.

For example, scroll_page_fractional:0.5 would scroll the screen downwards by half a page, while scroll_page_fractional:-1.5 would scroll it upwards by one and a half pages.

scroll_page_lines

Scroll the screen by the specified amount of lines.

Positive values scroll downwards, and negative values scroll upwards.

For example, scroll_page_lines:3 would scroll the screen downwards by 3 lines, while scroll_page_lines:-10 would scroll it upwards by 10 lines.

adjust_selection

Adjust the current selection in the given direction or position, relative to the cursor.

WARNING: This does not create a new selection, and does nothing when there currently isn't one.

Valid arguments are:

  • left, right

    Adjust the selection one cell to the left or right respectively.

  • up, down

    Adjust the selection one line upwards or downwards respectively.

  • page_up, page_down

    Adjust the selection one page upwards or downwards respectively.

  • home, end

    Adjust the selection to the top-left or the bottom-right corner of the screen respectively.

  • beginning_of_line, end_of_line

    Adjust the selection to the beginning or the end of the line respectively.

jump_to_prompt

Jump the viewport forward or back by the given number of prompts.

Requires shell integration.

Positive values scroll downwards, and negative values scroll upwards.

write_scrollback_file

Write the entire scrollback into a temporary file with the specified action. The action determines what to do with the filepath.

Valid actions are:

  • copy

    Copy the file path into the clipboard.

  • paste

    Paste the file path into the terminal.

  • open

    Open the file in the default OS editor for text files.

    The default OS editor is determined by using open on macOS and xdg-open on Linux.

write_screen_file

Write the contents of the screen into a temporary file with the specified action.

See write_scrollback_file for possible actions.

write_selection_file

Write the currently selected text into a temporary file with the specified action.

See write_scrollback_file for possible actions.

Does nothing when no text is selected.

new_window

Open a new window.

If the application isn't currently focused, this will bring it to the front.

new_tab

Open a new tab.

previous_tab

Go to the previous tab.

next_tab

Go to the next tab.

last_tab

Go to the last tab.

goto_tab

Go to the tab with the specific index, starting from 1.

If the tab number is higher than the number of tabs, this will go to the last tab.

move_tab

Moves a tab by a relative offset.

Positive values move the tab forwards, and negative values move it backwards. If the new position is out of bounds, it is wrapped around cyclically within the tab list.

For example, move_tab:1 moves the tab one position forwards, and if it was already the last tab in the list, it wraps around and becomes the first tab in the list. Likewise, move_tab:-1 moves the tab one position backwards, and if it was the first tab, then it will become the last tab.

move_tab_to_new_window

Move a tab to a new window.

prompt_surface_title

Change the title of the current focused surface via a pop-up prompt.

prompt_tab_title

Change the title of the current tab via a pop-up prompt. The title set via this prompt overrides any title set by the terminal and persists across focus changes within the tab.

prompt_window_title

Change the title of the current window via a pop-up prompt. The title set via this prompt overrides any title set by the terminal and persists across focus changes within the tab.

Only implemented on Linux.

set_surface_title

Set the title for the current focused surface.

If the title is empty, the surface title is reset to an empty title.

set_tab_title

Set the title for the current focused tab.

If the title is empty, the tab title override is cleared.

set_window_title

Set the title for the current focused window.

If the title is empty, the tab title override is cleared.

Only implement on Linux.

new_split

Create a new split in the specified direction.

Valid arguments:

  • right, down, left, up

    Creates a new split in the corresponding direction.

  • auto

    Creates a new split along the larger direction. For example, if the parent split is currently wider than it is tall, then a left-right split would be created, and vice versa.

goto_split

Focus on a split either in the specified direction (right, down, left and up), or in the adjacent split in the order of creation (previous and next).

goto_window

Focus on either the previous window or the next one ('previous', 'next')

toggle_split_zoom

Zoom in or out of the current split.

When a split is zoomed into, it will take up the entire space in the current tab, hiding other splits. The tab or tab bar would also reflect this by displaying an icon indicating the zoomed state.

resize_split

Resize the current split in the specified direction and amount in pixels. The two arguments should be joined with a comma (,), like in resize_split:up,10.

equalize_splits

Equalize the size of all splits in the current window.

inspector

Control the visibility of the terminal inspector.

Valid arguments: toggle, show, hide.

open_config

Open the configuration file in an editor.

  • os_open: Use the OS's default editor to edit the configuration file. This is the default action. (Available since 1.4.0)
  • new_window: Launch the editor specified in $EDITOR or $VISUAL in a new Ghostty window to edit the configuration file. GTK only. (Available since 1.4.0.)

reload_config

Reload the configuration.

The exact meaning depends on the app runtime in use, but this usually involves re-reading the configuration file and applying any changes Note that not all changes can be applied at runtime.

close_surface

Close the current "surface", whether that is a window, tab, split, etc.

This might trigger a close confirmation popup, depending on the value of the confirm-close-surface configuration setting.

close_tab

Close the specified tabs and all splits therein.

Valid values:

  • this (default)

    Close the current tab and all splits within it.

  • other

    Close every tab in the current window except the current tab.

  • right

    Close every tab to the right of the current tab.

This might trigger a close confirmation popup, depending on the value of the confirm-close-surface configuration setting.

close_window

Close the current window and all tabs and splits therein.

This might trigger a close confirmation popup, depending on the value of the confirm-close-surface configuration setting.

close_all_windows

Close all windows.

WARNING: This action has been deprecated and has no effect on either Linux or macOS. Users are instead encouraged to use all:close_window instead.

toggle_maximize

Maximize or unmaximize the current window.

On macOS, this zooms the window, which is the closest equivalent since macOS has no concept of a maximized window.

toggle_fullscreen

Fullscreen or unfullscreen the current window.

toggle_window_float_on_top

Toggle whether the terminal window should always float on top of other windows even when unfocused.

Terminal windows always start as normal (not float-on-top) windows.

Only implemented on macOS.

toggle_mouse_reporting

Toggle mouse reporting on or off.

When mouse reporting is disabled, mouse events will not be reported to terminal applications even if they request it. This allows you to always use the mouse for selection and other terminal UI interactions without applications capturing mouse input.

This can also be controlled via the mouse-reporting configuration option.

toggle_command_palette

Toggle the command palette.

The command palette is a popup that lets you see what actions you can perform, their associated keybindings (if any), a search bar to filter the actions, and the ability to then execute the action.

This requires libadwaita 1.5 or newer on Linux. The current libadwaita version can be found by running ghostty +version.

toggle_quick_terminal

Toggle the quick terminal.

The quick terminal, also known as the "Quake-style" or drop-down terminal, is a terminal window that appears on demand from a keybinding, often sliding in from a screen edge such as the top. This is useful for quick access to a terminal without having to open a new window or tab.

The terminal state is preserved between appearances, so showing the quick terminal after it was already hidden would display the same window instead of creating a new one.

As quick terminals are often useful when other windows are currently focused, they are best used with global keybinds. For example, one can define the following key bind to toggle the quick terminal from anywhere within the system by pressing Cmd+`:

keybind = global:cmd+backquote=toggle_quick_terminal

The quick terminal has some limitations:

  • Only one quick terminal instance can exist at a time.

  • Unlike normal terminal windows, the quick terminal will not be restored when the application is restarted on systems that support window restoration like macOS.

  • On Linux, the quick terminal is only supported on Wayland and not X11, and only on Wayland compositors that support the wlr-layer-shell-v1 protocol. In practice, this means that only GNOME users would not be able to use this feature.

  • On Linux, slide-in animations are only supported on KDE, and when the "Sliding Popups" KWin plugin is enabled.

    If you do not have this plugin enabled, open System Settings > Apps & Windows > Window Management > Desktop Effects, and enable the plugin in the plugin list. Ghostty would then need to be restarted fully for this to take effect.

  • Quick terminal tabs are only supported on Linux and not on macOS. This is because tabs on macOS require a title bar.

  • On macOS, a fullscreened quick terminal will always be in non-native fullscreen mode. This is a requirement due to how the quick terminal is rendered.

See the various configurations for the quick terminal in the configuration file to customize its behavior.

undo

Undo the last undoable action for the focused surface or terminal, if possible. This can undo actions such as closing tabs or windows.

Not every action in Ghostty can be undone or redone. The list of actions support undo/redo is currently limited to:

  • New window, close window
  • New tab, close tab
  • New split, close split

All actions are only undoable/redoable for a limited time. For example, restoring a closed split can only be done for some number of seconds since the split was closed. The exact amount is configured with the undo-timeout configuration settings.

The undo/redo actions being limited ensures that there is bounded memory usage over time, closed surfaces don't continue running in the background indefinitely, and the keybinds become available for terminal applications to use.

Only implemented on macOS.

quit

Quit Ghostty.

v7_app_menu

Open the ☰ menu at the left of the tab bar, as clicking it does. Shift+F10 by default.

v7_focus_app_menu

Give the ☰ menu button the keyboard focus, as a menu bar takes it. Alt alone does this; F10 stays a terminal key unless bound.

v7_about

Open the About Voyager7 window.

v7_open_settings

Open the Settings window. Ctrl+, by default.

v7_toggle_mark_mode

Select text with the keyboard (Windows Terminal's mark mode), starting at the cursor or with the current selection. Arrows, Home, End, PgUp and PgDn move the mark; with Shift they extend the selection, with Ctrl+Left/Right by word, with Alt+Shift as a block. Enter copies, Esc cancels. Ctrl+Shift+M by default.

v7_new_tab_profile

Open a new tab with the Nth visible profile, counting from 1 in menu order: v7_new_tab_profile:2. Ctrl+Shift+1 to 9 by default.

v7_new_split_profile

Split the focused pane with the Nth visible profile, in Ghostty's auto direction: v7_new_split_profile:1.

v7_new_window_profile

Open a new window with the Nth visible profile: v7_new_window_profile:1.

v7_open_profile_menu

Open the new tab profile menu (the ▾ button beside +). Ctrl+Shift+Space by default.

v7_copy_version_info

Copy the report of voyager7 +version --full to the clipboard, for a bug report. Unbound by default; it is in the command palette.

Not implemented yet

Ghostty keybind actions that Voyager7 does not implement yet; a binding to one is reported as unsupported. The plan is in Ghostty compatibility.

  • cursor_key
  • paste_from_selection
  • toggle_tab_overview
  • toggle_readonly
  • reset_window_size
  • show_gtk_inspector
  • show_on_screen_keyboard
  • toggle_window_decorations
  • toggle_secure_input
  • toggle_visibility
  • toggle_background_opacity
  • check_for_updates
  • redo
  • end_key_sequence
  • activate_key_table
  • activate_key_table_once
  • deactivate_key_table
  • deactivate_all_key_tables
  • crash