[Topic DIscussion] vim使用方法求助
Tofloor
poster avatar
小友
deepin
2022-04-15 07:13
Author

各位大佬,有谁知道Vim为什么我在查找字符的时候输入 / 查找的字符 却只能找到第一个,而不能找到所有的。 但是查的资料上 ' / ' 是能将所有查找的字符高亮的。这种情况就很不知所措。

| image.png

Reply Favorite View the author
All Replies
jjcui8595
deepin
2022-04-15 16:03
#1

n下一个

Reply View the author
小友
deepin
2022-04-15 17:41
#2
jjcui8595

n下一个

原来如此,十分感谢

Reply View the author
小友
deepin
2022-04-15 17:52
#3
jjcui8595

n下一个

但是我还有一个问题,这个能不能将所选的字符全部高亮。

Reply View the author
jjcui8595
deepin
2022-04-15 17:59
#4
小友

但是我还有一个问题,这个能不能将所选的字符全部高亮。

不清楚,好像不能吧

Reply View the author
beavailable
deepin
2022-04-15 18:15
#5
小友

但是我还有一个问题,这个能不能将所选的字符全部高亮。

set hlsearch就可以了。

Reply View the author
小友
deepin
2022-04-15 21:24
#6
jjcui8595

不清楚,好像不能吧

好的,十分感谢

Reply View the author
小友
deepin
2022-04-15 21:25
#7
beavailable

set hlsearch就可以了。

谢谢指导

Reply View the author
swag
deepin
2022-04-24 19:15
#8
小友

好的,十分感谢

vim是根据文件后缀名来决定编程语言高亮的

Reply View the author