Comments (5)
我也是这样,解决方案大概只有不用ycm了...
from space-vim.
@monkeydterry 也不至于吧...., 只是在首次进入插入模式时会有一丢丢的延迟,但比起它能够提供的强大功能还是值得的. 可能会有更好的解决方案的,总要有所期待嘛 😹
from space-vim.
首次i很慢,应该是懒加载的锅
from space-vim.
@zgqq
ultisnips 是在首次进入插入模式时加载,YouCompleteMe 是针对一些文件类型 ( https://github.com/liuchengxu/space-vim/blob/master/layers/%2Btools/ycmd/packages.vim#L15 ) , 比如 c, python, shell 等等在首次进入插入模式时加载。
这是有意为之,主要是想保持启动速度,因为 ultisnips 与 YouCompleteMe 对 vim 的启动速度影响比较大,大概有几百毫秒,已经可以感知到差别。这么延迟加载能够使得空 vim 的启动时间在 200 ms, 甚至是 150 ms 以下 (大概 60 个左右的插件)。
如果不希望 lazy loading,能够接受 vim 启动不那么迅速的话,也是可以选择取消的。Exclude 以后再把这两个当做是 private plugin 放到 UserInit()
中就好了。
因为还没有两全其美的方法,所以目前的方案只能是这样。希望以后会有新的解决方式。
from space-vim.
I have switched from YCM to completor.vim and nvim-completion-manager for quite a while. These two auto-completion plugins are really great, utterly fast and lightwight. Now, it's sufficient to only have auto-completion layer enabled.
from space-vim.
Related Issues (20)
- Ctags' window is covered by the airline plug-in
- Not working on NeoVim HOT 2
- Didn't find the folder ~/.SpaceVim.d/ after running installation bash HOT 1
- How to disable fzf plugin HOT 1
- Auto-installed FZF does not work out of the box HOT 2
- How to change the cursor's highlight color HOT 1
- How to disable AddTitle() function for new files
- Helptags generation fails during space-vim's autoload when using any folder other than $HOME/.space-vim.
- Support for custom installaton folder HOT 1
- Is there any configuration support rg seaching specify file types?
- Python linters not working HOT 1
- Error detected while processing function SpaceVim#plugins#flygrep#open HOT 1
- E239 triggered "invalid sign text: ~^^" HOT 5
- How to enable cursor history jumplist content preview HOT 1
- How to make <Leader>jF which is formating the json buffer work?
- Line number display error HOT 2
- Whether there will be Neovim LSP support? HOT 2
- How do I uninstall spacevim from my Windows 11 pc. HOT 1
- 鼠标单击异常问题
- Got error when load Gvim
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from space-vim.