From b3da68c630071683a5b973f6fece4e0cd13be093 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Sun, 19 Jan 2025 02:21:04 +0100 Subject: [PATCH] add search keybind in ghostty --- dot_config/ghostty/config | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/dot_config/ghostty/config b/dot_config/ghostty/config index 03444c0..d2e2f78 100644 --- a/dot_config/ghostty/config +++ b/dot_config/ghostty/config @@ -27,6 +27,18 @@ mouse-scroll-multiplier = 3 # keybinds keybind = global:cmd+shift+space=toggle_quick_terminal +## add missing search +## https://github.com/ghostty-org/ghostty/issues/189 +## Search entire scrollback history in default text editor +keybind = cmd+f=write_scrollback_file:open + +## Search Selection +## HOWTO: Cmd+triple_click to select your last output then press cmd+shift+f to search it +keybind = cmd+shift+f=write_selection_file:open + +## RECOMMENDED: Set this to something big so you can capture all of your scrollback +scrollback-limit = 20000000 + # fix "git" arrows in prompt, see https://github.com/ghostty-org/ghostty/discussions/3541 font-codepoint-map = U+21E1-U+21E3=Menlo