Search 无法在屏幕中有效搜索
我知道你应该可以在屏幕上搜索Search 无法在屏幕中有效搜索,search,gnu-screen,Search,Gnu Screen,我知道你应该可以在屏幕上搜索 C-a / 或 或 或 但是,没有一个命令对我有效。我有以下内容 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 ### Keybi
C-a /
或
或
或
但是,没有一个命令对我有效。我有以下内容
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
如何在屏幕中有效搜索,使所有匹配项都着色?您必须先进入复制模式(按
C-a[
)。在复制模式下,按/
向前搜索(然后键入要搜索的内容,然后按enter),或?
向后搜索。按两次Enter键退出复制模式。@pts:谢谢你的回答!我稍微澄清了一下问题。看到所有匹配项都是彩色的会很好。我猜屏幕没有此搜索结果突出显示功能。如果你有首选的文本编辑器或带有tat功能的web浏览器,你可以转储副本缓冲区到文件,然后使用编辑器或浏览器在文件中搜索。复制模式完成后,从屏幕手册页:到屏幕交换文件(/tmp/screen exchange per default)。此示例演示如何将整个回滚缓冲区转储到该文件:“C-A[g SPACE g$>”。
C-a s
C-a r
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