Vim 在搜索do时,请使用“;跳过底部,跳到顶部”;文件的
这个标题几乎透露了要点。使用n和n时,是否有一个设置可以在到达文件底部时停止搜索?关闭搜索换行:Vim 在搜索do时,请使用“;跳过底部,跳到顶部”;文件的,vim,Vim,这个标题几乎透露了要点。使用n和n时,是否有一个设置可以在到达文件底部时停止搜索?关闭搜索换行: set nowrapscan 它将给出一个错误并在缓冲区的顶部和底部停止: E384: search hit TOP without match for: set E385: search hit BOTTOM without match for: set From:(默认启用) Searches wrap around the end of the file. Also applies to
set nowrapscan
它将给出一个错误并在缓冲区的顶部和底部停止:
E384: search hit TOP without match for: set
E385: search hit BOTTOM without match for: set
From:(默认启用)
Searches wrap around the end of the file. Also applies to ]s and
[s, searching for spelling mistakes.