Question

I know that you should be able to search in Screen by

C-a /

or

C-a ?

or

C-a s

or

C-a r

However, none of the commands work for me. I have the following .screenrc.

My .screenrc

markkeys h=d:j=h:k=t:l=n

# to change the escape key from ^Aa to 
# NB ^n to move btw Screens
escape ^Tt

# I want to use Vim's navigation keys
bind h focus down 
bind t focus up

### Keybindings# {{{

# to disable xoff
bind s

# remove some key bindings                                                                                                                                                                                    
bind W
#bind ^\
#bind \\
bind ^h

# same as C-a "
bind 'W' windowlist

How can you search effectively in Screen, such that you get all matches colored?

Was it helpful?

Solution

You have to enter copy mode first (by pressing C-a [). In copy mode, press / to search forward (and then type what to search for, then press Enter), or ? to search backward. Press Enter twice to exit copy mode.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top