New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatically manipulate the quickfix window? #22
Comments
嗯,并不是所有人都喜欢这个特性,我见过不少人用 AsyncRun 是默认不显示quickfix开始的时候,把statueline 变成紫色,成功了变成绿色,失败了变成红色,要看自己打开quickfix看结果;还有人喜欢IDE布局,一直开着quickfix;我自己喜欢自己主动 F10切换。 所以 asyncrun如果自动弹出 quickfix会遭致这些人的反感,加个全局配置似乎又太冗余,因为你可以通过vimrc里面加三行配置就完成这个事情: |
非常感谢!还有一个问题:AsyncRun 不能连续 exec 吗?
上面的配置 似乎只执行了 |
对,因为前一个 AsyncRun没结束,后一个没法开始。你可以用分号链接多条命令(linux)或者 & 链接多条命令(windows) exec "AsyncRun! g++ -stdc++11 % -o %<; time ./%<" |
你的工作如果很复杂,还可以在自己的 .vim 目录下面建立script文件夹,里面一堆你自己的脚本,
这样你把脚本也放到你的 dotfiles里面同步到git上,能做很多复杂的事情了,比如:
或者把 F1换成 |
非常感谢! |
确实够强大。 |
First of all, this is a nice plugin. But how about opening the quickfix window automatically when AsyncRun? I mean, instead of explicitly opening the quickfix by ourselves, the plugin could do this when necessary.
The text was updated successfully, but these errors were encountered: