Note
Darwin specific, uses pbcopy and pbpaste, try xclip on GNU/Linux
Missing Ghostty terminal (https://ghostty.org) scroll buffer search by mapping CTRL-f to search in terminal.
Assuming you use bash (might work with zsh too)
- Put the following in
~/.bashrcto handle CTRL-f and invoke a script (helper)
# Ghostty does not offer scroll search