在Vim命令模式下,如果我输入:( Intellij
表示光标):
Error:(9, 8) error:
org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory Nested exception:
org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory
Possible causes for this unexpected error include:<ul><li>Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
<a href="syncProject">Re-download dependencies and sync project (requires network)</a></li><li>The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem.
<a href="stopGradleDaemons">Stop Gradle build processes (requires restart)</a></li><li>Your project may be using a third-party plugin which is not compatible with the other plugins in the project or the version of Gradle requested by the project.</li></ul>In
the case of corrupt Gradle processes, you can also
try closing the IDE and then killing all Java processes.
我想转到单词|
的开头:
:e config/application.rb|
是否有一个关键序列可以做到这一点?根据{{1}},我可以向左移动一个application
,这会将光标移到此处:
:e config/|application.rb
但我没有看到任何可以将光标向左移动:help c_<S-Left>
的内容。
答案 0 :(得分:10)
如果你想进行命令编辑,特别是对于长命令,我建议使用命令行窗口。 :h cmdwin
了解详情。
在命令行窗口中,您只需在vim编辑器中编辑命令即可。你可以在那里使用你所有的vim-fu。
要输入cmd-line win,您可以:
<ctrl-f>
q:
答案 1 :(得分:3)
存在一个可以帮助您的正确发布的插件:vim-husk。几个星期前我在hidden plugin (and don't forget the autoload plugin + the dependencies to support utf-8 characters correctly)提供了类似的快捷方式。
在这两种情况下,您的行动都将绑定到<m-b>