Hacker News new | ask | show | jobs
by pyrhho 5269 days ago
> [...] but thats okay.

Agree to disagree, I suppose...

How do you do reverse search, though? Any replacement for ITerm's Ctrl-F?

2 comments

When you're in copy-mode (activated by prefix-[ also prefix-pgup as mentioned above) search is like vi or emacs depending on your copy-mode (vi by default I believe).

SO: / to search down, ? to search up. If you want to search from the top down, hit "g" in copy-mode to go to the top of the buffer (in vi mode). "G" to go to the bottom.

These, especially /, are really common conventions. / is used for search by vi, less, Opera (Firefox now too I think), even twitter.com.* My point is that / and ?, and to a lesser extent g/G/etc. soon becomes second nature and are worth learning because they are so common. How do you search backwards from the bottom in iTerm?

See "copy-mode" for more info http://www.rootr.net/man/man/tmux/1

*twitter.com (as well as duckduckgo.com and to a limited extend slashdot) uses some sweet vi keybindings. Try n, j, k, r, etc.

CTRL+R ? Like normal. Is iTerm another iProduct? Never used macosx, wouldn't know.

All terminals (GNU/Linux) Ive used tmux on, ctrl+r works, and scrolling as described in previous post.