无法在屏幕中有效搜索

时间:2009-05-09 17:02:29

标签: search gnu-screen

我知道您应该能够在屏幕上搜索

C-a /

C-a ?

C-a s

C-a r

但是,这些命令都不适用于我。我有以下.screenrc。

我的.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

如何在屏幕中有效搜索,以便让所有匹配变为彩色?

1 个答案:

答案 0 :(得分:2)

您必须先进入复印模式(按C-a [)。在复印模式下,按/向前搜索(然后键入要搜索的内容,然后按 Enter ),或按?向后搜索。按 Enter 两次以退出复印模式。

相关问题