V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  skywind3000  ›  全部回复第 7 页 / 共 7 页
回复总数  123
1  2  3  4  5  6  7  
@tracyone
1. 保证执行顺序:同时只能开启一个 AsyncRun 任务(和 vc 里面同时只能有一个编译任务一样),新任务需要老任务结束后才可以继续。
2. vim-dispatch :没有使用 Vim 8 / NeoVim 的自带异步任务系统,实现很简单,为了兼容老的 vim ,他做了各种“妥协”,向用户体验妥协,而且你要在 dispatch 里面看实时后台输出还需要开启 tmux ,用起来十分诡异,比 asyncrun 直接动态输出到 quickfix 差远了,关闭 dispatch 的 tmux 支持后,他的运行逻辑很简单,就是 call system('xxxx &') 在后台启动而已。
2016-10-26 05:12:17 +08:00
回复了 toddlt 创建的主题 Vim 更新 vim8.0 和 macvim 后, youcompleteme 出错
brew install 出来的 vim 和 macvim 编译选项有问题,自己到 YouCompleteMe 官网看,有这段说明,
推荐直接下载 MacVim ,然后手工安装,然后命令行版本:

https://github.com/Valloric/YouCompleteMe#im-trying-to-use-a-homebrew-vim-with-ycm-and-im-getting-segfaults

```
Question: I'm trying to use a Homebrew Vim with YCM and I'm getting segfaults

Answer: Something (I don't know what) is wrong with the way that Homebrew configures and builds Vim. I recommend using MacVim. Even if you don't like the MacVim GUI, you can use the Vim binary that is inside the MacVim.app package (it's MacVim.app/Contents/MacOS/Vim) and get the Vim console experience.
```
2016-10-26 04:13:53 +08:00
回复了 chemzqm 创建的主题 Vim vim 有望实现基于 socket 的 channel 机制实现异步通信
如果你们使用 Vim8.0 或者 NeoVim ,你们可以试试: http://github.com/skywind3000/asyncrun.vim 更好的代替 dispatch ,异步 git push, 异步编译,异步调试,比 dispatch 好很多的用户体验,如果这些还不足以打动你,可以看这个视频: https://raw.githubusercontent.com/skywind3000/asyncrun.vim/master/doc/screenshot.gif
1  2  3  4  5  6  7  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   897 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 13ms · UTC 22:40 · PVG 06:40 · LAX 15:40 · JFK 18:40
Developed with CodeLauncher
♥ Do have faith in what you're doing.