These are chat archives for Shougo/dein.vim

27th
Feb 2016
Shougo
@Shougo
Feb 27 2016 00:24
You can use dein#check_install().
Mike Hartington
@mhartington
Feb 27 2016 01:39
will that autoinstall them? Didn't seem to this morning
Shougo
@Shougo
Feb 27 2016 01:40
Please read the documentation.
if dein#check_install()
  call dein#install()
endif
Mike Hartington
@mhartington
Feb 27 2016 01:42
Ahh must have missed that, thanks!
Wang Shidong
@wsdjeg
Feb 27 2016 02:35
why dein use func instead of command?
Shougo
@Shougo
Feb 27 2016 02:39
I think the func is useful than command
Wang Shidong
@wsdjeg
Feb 27 2016 03:55
✔ wsdjeg:DotFiles [ master | ✚ 1 ] ➭ ls /home/wsdjeg/.cache/vimfiles/repos/github.com/
airblade     cakebaker     elentok      hail2u       juvenn          leshill      mileszs   osyo-manga  Shougo        the9ball   Valloric     Yggdroot
albfan       choplin       elixir-lang  heavenshell  kabbamine       lilydjwg     mmalecki  othree      simnalamburt  thiderman  vim-airline  ynkdir
altercation  cohama        FelikZ       hewes        kannokanno      m2mdas       mopp      pangloss    soh335        thinca     vim-jp
ap           ctrlpvim      felixSchl    honza        kchmck          majutsushi   morhetz   pielgrzym   syngan        todesking  vim-scripts
artur-shaik  daisuzu       gcmt         ianva        klen            maksimr      nanotech  plasticboy  t9md          tomasr     voi
basyura      digitaltoad   godlygeek    itchyny      kmnk            MarcWeber    nobeans   rafi        tacahiroy     tpope      voronkovich
benizi       dyng          gregsexton   jaxbot       kristijanhusak  mattn        ntpeters  raw1z       tacroe        tsukkee    wavded
benjifisher  easymotion    groenewege   JazzCore     lambdalisue     mhartington  ompugao   scrooloose  terryma       tyru       wsdjeg
brookhong    editorconfig  h14i         junegunn     leafgarland     mhinz        oppara    sgur        tex           ujihisa    Xuyuanp
✔ wsdjeg:DotFiles [ master | ✚ 1 ] ➭ ls /home/wsdjeg/.cache/vimfiles/repos/github.com/Shougo/
context_filetype.vim  neco-syntax            neoinclude.vim  neosnippet-snippets  unite-help     unite.vim
dein.vim              neco-vim               neomru.vim      neosnippet.vim       unite-outline  vimfiler.vim
deoplete.nvim         neobundle-vim-recipes  neopairs.vim    neoyank.vim          unite-session  vimproc.vim
✔ wsdjeg:DotFiles [ master | ✚ 1 ] ➭ ls /home/wsdjeg/.cache/vimfiles/repos/github.com/Shougo/unite.vim/
autoload  doc  plugin  README.md  syntax  test
✔ wsdjeg:DotFiles [ master | ✚ 1 ] ➭
nice split plugin cache by username
Shougo
@Shougo
Feb 27 2016 04:02
Yes. It is the like Go.
Wang Shidong
@wsdjeg
Feb 27 2016 04:10
but how will dein detect usera/plugina and userb/plugina as same plugin?
Shougo
@Shougo
Feb 27 2016 04:22
If the name is same, dein think it is same plugin.
Wang Shidong
@wsdjeg
Feb 27 2016 04:25
great,now I am using s:setting.pluginmanager = 'dein' " neobundle or dein switch between them
Wang Shidong
@wsdjeg
Feb 27 2016 10:23
I am readding
Shougo
@Shougo
Feb 27 2016 10:28
My GVim startup time: 68 ms
Wang Shidong
@wsdjeg
Feb 27 2016 10:28
oh my gad
Shougo
@Shougo
Feb 27 2016 10:29
My GVim minimal startup time gvim -u NONE -U NONE --noplugin -i NONE: 66ms
Wang Shidong
@wsdjeg
Feb 27 2016 10:29
I have too many plugins
Shougo
@Shougo
Feb 27 2016 10:29
My plugins are 120 items
Wang Shidong
@wsdjeg
Feb 27 2016 10:29
really?
I have 164
Shougo
@Shougo
Feb 27 2016 10:30
OK. I will upload the profile
Wang Shidong
@wsdjeg
Feb 27 2016 10:30
how to echo time we need
the link you show is wrote by a chinese,near my home
Wang Shidong
@wsdjeg
Feb 27 2016 10:36
I need so much time 1461.738 000.012: --- NVIM STARTED ---
Hmm...
Fastest is GVim.
In neovim, true color and cursor shape support is slow.
In Vim, CSApprox is too slow.
Shougo
@Shougo
Feb 27 2016 10:59
I have updated the time.
neovim: 53ms
Vim: 83ms
GVim: 66ms
Fastest is neovim
Wang Shidong
@wsdjeg
Feb 27 2016 11:30
I think it is due to most of my plugin is not lazyload,I need to refactor my vimrc
Shougo
@Shougo
Feb 27 2016 11:30
You can check it by --startuptime analyze
Wang Shidong
@wsdjeg
Feb 27 2016 11:31
yeal I have done,
Shougo
@Shougo
Feb 27 2016 11:31
Before using lazy features, my Vim startuptime is 3000ms.
It is too slow.
Wang Shidong
@wsdjeg
Feb 27 2016 11:32
gvim it faster
only 800ms
Shougo
@Shougo
Feb 27 2016 11:32
Hm
It may be terminal problem.
You can use faster terminal and avoid tmux.
Wang Shidong
@wsdjeg
Feb 27 2016 11:34
I have tried xtem and many other terminal,looks ugly, still love gnome-terminal ,I do not know how to use tmux ,
and I am using pc will small screen, no need to use tmux
Shougo
@Shougo
Feb 27 2016 11:35
I have Full HD screen.
But I don't want to split my Vim :-)
The Vim must be full screen and full power!
Wang Shidong
@wsdjeg
Feb 27 2016 11:36
yeah,as now neovim support terminal, I will use neovim with fullscreen
should I gave up neobundle? just using dein? now I am using my own func switch between dein and neobundle
Shougo
@Shougo
Feb 27 2016 11:39
Why the switch is needed?
dein has not the neobundle features?
Wang Shidong
@wsdjeg
Feb 27 2016 11:42
before using neobundle,I do not know how to install plugin, what is the order of vim loadding script,so I can say neobundle is the first plugin I use with vim,maybe just because I like it
do you use neovim in terminal? or neovim-qt?
Shougo
@Shougo
Feb 27 2016 12:01
I use neovim in terminal.
neovim GUI has problems...
I like neovim-qt though.
Waiting 0.20 release
Wang Shidong
@wsdjeg
Feb 27 2016 12:03
I have finish switch between neobundle and dein ,
dein is faster
680 ms
Shougo
@Shougo
Feb 27 2016 12:03
Yes
Wang Shidong
@wsdjeg
Feb 27 2016 12:04
now I need change my plugin load type ,most should be lazy
Shougo
@Shougo
Feb 27 2016 12:04
I think dein.vim is same level performance with vim-plug in default.
But you optimized your config, it is more faster.
Wang Shidong
@wsdjeg
Feb 27 2016 12:04
how shoud I use Unite dein
Unite dein/update?
Shougo
@Shougo
Feb 27 2016 12:05
Nothing
You can use neovim asynchronous installer
I will add channel asynchronous installer
Wang Shidong
@wsdjeg
Feb 27 2016 12:05
just call dein#update()
Shougo
@Shougo
Feb 27 2016 12:06
Yes
Wang Shidong
@wsdjeg
Feb 27 2016 12:06
only update cache/repo/?
Shougo
@Shougo
Feb 27 2016 12:06
You don't have to install vimproc to update asynchronous
Wang Shidong
@wsdjeg
Feb 27 2016 12:06
will this func update cache/dein/.dein/?
Shougo
@Shougo
Feb 27 2016 12:07
dein#update() will update under cache/dein/.dein.
And cache/repo.
Wang Shidong
@wsdjeg
Feb 27 2016 12:08
but it is not a git dir,
ok I know

vimproc to update asynchronous

as I know vimproc is not asynchronous

it will block vim
Shougo
@Shougo
Feb 27 2016 12:09
vimproc is asynchronous
But current vimproc installer just block until finish.
Wang Shidong
@wsdjeg
Feb 27 2016 12:10
I know ,just waitting the asynchronous thread finish,is it right?
Shougo
@Shougo
Feb 27 2016 12:10
In neobundle, :Unite neobundle/update asynchronous, parallel
:NeoBundleUpdate synchronous, parallel
Wang Shidong
@wsdjeg
Feb 27 2016 12:11
I know
:Unite neobundle/update looks good ,and I can see what commit has been update
Shougo
@Shougo
Feb 27 2016 12:13
You can get the log by dein#get_log().
I may add Unite log viewer like Unite neobundle/log
I don't want to create new UI.
Wang Shidong
@wsdjeg
Feb 27 2016 12:15
yes
Shougo
@Shougo
Feb 27 2016 12:15
It is hard to support.
Wang Shidong
@wsdjeg
Feb 27 2016 12:16
just use unite
Shougo
@Shougo
Feb 27 2016 12:16
Unite installer is not just use unite
You can see the implementation in neobundle.
It is too complex.
Wang Shidong
@wsdjeg
Feb 27 2016 12:17
befort call dein#update() finish ,if I use call dein#get_log() will get error
Error detected while processing function dein#get_log:                                                                                                 
line    1:                                                                                                                                             
E117: Unknown function: dein#install#_get_log                                                                                                          
E116: Invalid arguments for function join(dein#install#_get_log(), "\n")                                                                               
E15: Invalid expression: join(dein#install#_get_log(), "\n")                                                                                           
Press ENTER or type command to continue
Shougo
@Shougo
Feb 27 2016 12:18
Cannot reproduce.
Your installer seems broken.
Wang Shidong
@wsdjeg
Feb 27 2016 12:18
ok I will try more times
Shougo
@Shougo
Feb 27 2016 12:50
I have added the standalone installer.
Wang Shidong
@wsdjeg
Feb 27 2016 12:52
I just use let g:dein#install_max_processes = 25 and reinstall my 164 plugins , I only can say it is so fast