search

Home  >  Q&A  >  body text

vim - I get an error when installing emmet with vundle. I searched online and said that I need to install vundle manually. But after I installed vundle according to the official documentation, it still doesn't work?

The right side is the configuration of _vimrc, and the left side is the vundle plug-in downloaded from github. The path is on the address bar.

In addition, a message often pops up when opening gvim. I wonder if it has anything to do with this?

PHP中文网PHP中文网2743 days ago932

reply all(1)I'll reply

  • PHPz

    PHPz2017-05-16 16:36:56

    Don’t put the program in the Chinese directory, this is common sense

    Vundle.vim Temporary file related errors do occasionally occur on Windows

    I haven’t used Vundle了,因为Vundle不支持多线程
    如果是刚接触Vim的包管理器,建议用 vim-plug
    如果是vim 8.0 可以通过原生特色+job 实现多线程
    vim 7.4 也可以通过 +python/+python3/+ruby and other methods to implement multi-threading for a long time

    According to your habit, vim configuration is placed in the program directory. I will introduce you to a simple configuration method

    Run in command prompt:

    cd /d E:\程序\vim
    git clone https://github.com/junegunn/vim-plug.git 
    mkdir /p vimfiles\autoload
    move vim-plug\plug.vim vimfiles\autoload\
    del /s /q vim-plug

    The following is the vimrc configuration

    " 设置线程数量
    let g:plug_threads = 8
    call plug#begin(expand('$VIM/vimfiles/bundle'))
    
    Plug 'mattn/emmet-vim'
    call plug#end()
    
    filetype indent plugin on
    syntax enable

    Here are the plugin commands:

    Install plugin :PlugInstall
    更新插件 :PlugUpdate
    更新plug本身 :PlugUpgrade
    查看插件状态 :PlugStatus

    If there is no picture, let me just say JJ

    The lower right are the three bookmarks I specially added

    reply
    0
  • Cancelreply