[英]Unable to search effectively in Screen
I know that you should be able to search in Screen by 我知道您应该可以在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.
我有以下.screenrc。
My .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
How can you search effectively in Screen, such that you get all matches colored? 如何在屏幕中有效搜索,使所有匹配项都变色?
You have to enter copy mode first (by pressing Ca [
). 您必须先进入复印模式(按
Ca [
)。 In copy mode, press /
to search forward (and then type what to search for, then press Enter ), or ?
在复制模式下,按
/
向前搜索(然后键入要搜索的内容,然后按Enter ),或?
to search backward. 向后搜索。 Press Enter twice to exit copy mode.
按Enter键两次以退出复印模式。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.