64

I'm starting to use tmux, and I already love it. But if I could search through scrollback history it would be even better (e.g. like in iTerm2). Is there a way to do it as of now?

0

1 Answer 1

72

When you're in scrollback mode, you can use ctrl-S to search. More useful information here: How can I search within the output buffer of a tmux shell?

3
  • 20
    Ctrl-S works for emacs bindings. If your tmux is using vim bindings, enter copy mode and use slash (/)
    – phs
    Jan 20, 2017 at 20:23
  • Warning - this does not handle newlines. e.g if you search for a string, but that string occurs split across multiple lines, you will miss the split results!
    – Adverbly
    Jan 15, 2020 at 21:01
  • 2
    with vim bindings, / is to search down, but you most like want to search up with ?
    – jan-glx
    Jul 6, 2023 at 6:18

Not the answer you're looking for? Browse other questions tagged .