Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
假设我有这样一行:
setUp.then(() => process.exit())
是否可以在 vim 中导航到该行并开始输入“proc”并让它跳转到进程?
谢谢
如果“进程”仅出现在文件的一行中,则 vim 搜索会将您带到这一行。
/proc
如果“进程”出现在多行中,那么您可以让您的搜索稍微具体一点(假设该模式=> process仅在您的文件中出现一个),而是使用以下命令进行搜索:
=> process
/=> proc