mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
docs: add guide for setting quick terminal toggle keybind
This commit is contained in:

committed by
Mitchell Hashimoto

parent
bee2188014
commit
38643ec4fe
@ -1380,6 +1380,9 @@ keybind: Keybinds = .{},
|
||||
/// * `center` - Terminal appears at the center of the screen.
|
||||
///
|
||||
/// Changing this configuration requires restarting Ghostty completely.
|
||||
///
|
||||
/// Note: There is no default keybind for toggling the quick terminal.
|
||||
/// To enable this feature, bind the `toggle_quick_terminal` action to a key.
|
||||
@"quick-terminal-position": QuickTerminalPosition = .top,
|
||||
|
||||
/// The screen where the quick terminal should show up.
|
||||
|
@ -380,10 +380,17 @@ pub const Action = union(enum) {
|
||||
/// is preserved between appearances, so you can always press the keybinding
|
||||
/// to bring it back up.
|
||||
///
|
||||
/// To enable the quick terminally globally so that Ghostty doesn't
|
||||
/// have to be focused, prefix your keybind with `global`. Example:
|
||||
///
|
||||
/// ```ini
|
||||
/// keybind = global:cmd+grave_accent=toggle_quick_terminal
|
||||
/// ```
|
||||
///
|
||||
/// The quick terminal has some limitations:
|
||||
///
|
||||
/// - It is a singleton; only one instance can exist at a time.
|
||||
/// - It does not support tabs.
|
||||
/// - It does not support tabs, but it does support splits.
|
||||
/// - It will not be restored when the application is restarted
|
||||
/// (for systems that support window restoration).
|
||||
/// - It supports fullscreen, but fullscreen will always be a non-native
|
||||
|
Reference in New Issue
Block a user