网站首页  软件下载  游戏下载  翻译软件  电子书下载  电影下载  电视剧下载  教程攻略

请输入您要查询的教程攻略:

 

标题 Linux系统vim如何安装vundle组件
分类 软件教程
内容     
    Linux系统下使用vim文本编辑器的时候,需要用到vundle组件,那么vundle组件要如何安装呢?想必不少用户遇到这样的难题,下面小编就给大家介绍下Linux系统vim安装vundle组件的方法。
    Linux系统vim如何安装vundle组件
    一、在Linux上安装git。
    二、设置 curl命令工具。
    Curl已经在安装git时就带上了,接下来需要的是稍稍配置下使得它能在命令提示符中使用。
    找到git的安装目录,然后进入cmd目录,新建一个名为curl.cmd的文件,内容如下:
    @rem Do not use “echo off” to not affect any child calls.
    @setlocal
    @rem Get the abolute path to the parent directory, which is assumed to be the
    @rem Git installation root.
    @for /F “delims=” %%I in (“%~dp0.。”) do @set git_install_root=%%~fI
    @set PATH=%git_install_root%\\bin;%git_install_root%\\mingw\\bin;%PATH%
    @if not exist “%HOME%” @set HOME=%HOMEDRIVE%%HOMEPATH%
    @if not exist “%HOME%” @set HOME=%USERPROFILE%
    @curl.exe %*
    在命令提示符中输入 curl –version来验证下curl是否可用了。
    三、切换到用户主目录,运行:
    git clone https://github.com/gmarik/vundl村箫社鼓拼音:cūn xiāo shè gǔ释义:指民间鼓乐。出处:无示例:今天的晚会,村箫社鼓热闹非凡。e.git .vim/bundle/vundle
    四、在用户主目录下新建一个名为 .vimrc的文件,我的文件内容如下:
    set nu
    set fileencoding=utf-8
    set fileencodings=utf-8,gb18030,gb2312,gbk,big5
    set ts=4
    set expandtab
    set autoindent
    set nocompatible
    set syntax=on
    filetype off “ required!
    set rtp+=~/.vim/bundle/vundle/
    call vundle#rc()
    ” let Vundle manage Vundle
    “ required!
    Bundle ‘gmarik/vundle’
    Bundle ‘mattn/emmet-vim’
    Bundle ‘Auto-Pairs’
    Bundle ‘php-doc’
    Bundle ‘PHPDoc-Script-PDocS’
    let g:user_emmet_expandabbr_key = ‘《Tab》’
    let g:user_emmet_settings = {‘indentation’: ‘ ’}
    filetype plugin indent on ” required!
    五、Vundle的安装完毕。
    要使用Vundle,可以在上面创建的 _vimrc中添加 Bundle ‘bundle_name’。然后打开vim,运行Vundle相关的命令来执行:
    安装插件: :BundleInstall
    更新插件: :BundleInstall!
    卸载插件: :BundleClean
    至于有什么样的插件可以添加,可以到vim-scripts.org查找。除此之外,还可以添加git管理的repo(包括GitHub上的,不在GitHub上的,以及本地repo)。
    上面就是Linux安装vundle组件的方法介绍了,在安装vundle组件前,需要先在Linux上安装git,否则安装不一定成功。
        Linux系统vim如何安装vundle组件百七上八下依山幽路辟百顺不是不想恋爱,而是不想随便的恋爱。最好的承诺,不是爱你一万年,而是根本不需要承诺。不是不想说,只是不知道该怎么说,能和谁说。有时候,发现自己一夜之间长大,却看不到自己的未来。16. I sincerely hope you can set aside some time for the art feast.(2017.全国Ⅱ卷)王维155.大漠孤烟直,长河落日圆。《使至塞上》    留春不住,费尽莺儿语。满地残红宫锦污,昨夜南园风雨。月下飞天镜,云生结海楼。vimvundle安装,linuxvimThus, the author unfairly assumes that highly - rated public television programs are necessarily widely viewed, or popular.
随便看

 

霍普软件下载网教程攻略栏目提供软件使用教程、手机游戏攻略等方法技巧。

 

Copyright © 2002-2024 101bt.net All Rights Reserved
更新时间:2025/3/12 3:42:52