2

I sometimes use searching to navigate in a document. But I don't want the search pattern to be recorded. Is using a function like search() is one way to go?

Appendix: I just want to search for a particular pattern so I can make a map for that. The only concern is how to avoid messing up the search history?

4

1 回答 1

5

是的,您可以使用 search() 并且它不会添加到搜索历史记录中。就是这样:call search('pattern')

于 2013-06-09T14:38:04.147 回答