When using the vim text editor under Linux system, you need to use the vundle component, then how to install the vundle component? Presumably many users have encountered such a problem, the following small series will introduce you to the Linux system vim to install the vundle component.
First, install git on Linux.
Second, set the curl command tool.
Curl is already included when you install git. What you need is a little configuration so that it can be used in the command prompt.
Locate the git installation directory, then go to the cmd directory and create a new file called curl.cmd with the following contents:
@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 %*
Enter curl –version at the command prompt to verify that curl is available.
Third, switch to the user's home directory, run:
git clone https://github.com/gmarik/vundle.git .vim/bundle/vundle
four Create a new file named .vimrc in the user's home directory. The contents of my file are as follows:
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 = {&lsquo ;indentation’: ‘ ’}
filetype plugin indent on ” required!
V. The installation of Vundle is completed.
To use Vundle, you can add Bundle ‘bundle_name’ to the _vimrc created above. Then open vim and run the Vundle-related commands to execute:
Install the plugin: :BundleInstall
Update the plugin: :BundleInstall!
Uninstalling plugins: :BundleClean
As for what plugins can be added, you can find them at vim-scripts.org. In addition, you can add git managed repo (including on GitHub, not on GitHub, and local repo).
The above is the way to install the vundle component of Linux. Before installing the vundle component, you need to install git on Linux first, otherwise the installation may not be successful.
For the Linux beginners who just started, I still dont know how to configure the ip
Most of the current notebooks are already dual graphics cards, discrete graphics and integrated grap
The Ubuntu system cannot mount the USB flash drive. The error is: mount: unknown fi
gnome-shell can be used to install many themes and extensions, and many users like
Ubuntu system uses Node.js to run Hello world method
How to install VPN in CentOS system
Linux file system entry details
Handling of the Segmentation fault error in Linux programming
Ubuntu wireless network card search can not find a solution
CentOS sets the three skills of system time
CentOS 7 tips for resetting the root password
Linux curl command operation example summary
How to use commands to transfer files between Mac and Linux
Detailed method for automatic backup and deletion of website data under Linux
How to use the command to delete and create the Linux folder
Make good use of Win7 library function Find documents quickly and easily
Advantages of Vista's sleep state
How to check the blue screen code of Win8?
How to open Win10 task manager 3 kinds of Win10 task manager open method
Features not supported by WinXP64 system
Windows 8 file drag and drop, custom lock screen function
Win7 uninstall printer driver method
How to scan the printer under the Win10 system How to operate