In Linux system, if you want Vim editor to play a bigger role, you need to install some plug-ins for it. For example, the YouCompleteMe plugin (the name is very image). This article will introduce how the Linux system Vim installs the YouCompleteMe plugin.
compiler configuration options:
. /configure --with-features=huge --enable-pythoninterp --enable-python3interp --enable-luainterp --enable-multibyte --enable-sniff --enable-fontset
Install on my machine There are python2.7.5 and python3.3, but the enable-python3interp parameter still doesn't support py3. Somehow, you don't care, YouCompleteMe only requires py2.6 or above.
Installing the vundle plugin
git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
Configuring < in .vimrc Br>
set nocompatible “ be iMproved, required
filetype off ” required
<quo; set the runtime path to include Vundle and initialize
set rtp+= ~/.vim/bundle/vundle/
call vundle#rc()
” alternate, pass a path where Vundle should install plugins
“let path = ‘~/some/path/here’
”call vundle#rc(path)
<quo; let Vundle manage Vundle, required
Plugin ‘gmarik/Vundle’
& rdquo; The following are examples of different formats supported.
<; Keep Plugin commands between here and filetype plugin indent on.
” scripts on GitHub repos
Plugin ‘tpope/vim-fugitive’
Plugin ‘Lokalt Og/vim-easymotion’
Plugin ‘tpope/vim-rails.git’
& ldquo; The sparkup vim script is in a subdirectory of this repo called vim.
” Pass the path to set the runtimepath properly.
Plugin ‘rstacruz/sparkup’, {‘rtp’: ‘vim/’}
“ scripts from http ://vim-scripts.org/vim/scripts.html
Plugin ‘L9’
Plugin ‘FuzzyFinder’
” scripts not on GitHub
Plugin ‘git://git.wincent.com/command-t.git’
& ldquo; git repos on your local machine (ie when working on your own plugin)
Plugin ‘file:///home/gmarik/path/to/plugin’
” . .
filetype plugin indent on “ required
Bundle ‘Valloric/YouCompleteMe’
Save and exit, open vim, type: BundleInstall for automatic installation Previous12Next Page total 2 pages
We all know that shell commands can be easily executed under Linux. Can you execute shell commands o
The oracle database is one of the most popular server databases. It can handle dist
Some users have just come into contact with ITDB, knowing that it is a PHP open source IT asset mana
qBitTorrent is a cross-platform BitTorrent client. There are two versions of stable
How to modify disk parameters in Linux system
Linux system uses commands to maintain RHCS method
What should I do if ORA-12528 reports an error when building DataGuard in Linux?
View the Linux version of the skill
How to verify SHA1 and MD5 in Linux system?
Linux how to use the whereis command to quickly find the file
How to change the position of the close/maximize/minimize button in the Ubuntu program window
Unix uninstall gdb debugging tools trick
How to add multiple disk partitions in Win8 system
How to check the system version number (Win8.1 as an example)
Win10 preview version update slow download solution
Where is the win10 installation file downloaded by win10 through train
How to do Win8/Win8.1 Bluetooth offline
Do it without tools! Manually remove rogue software
Metro8 IE can not open the webpage solution in win8
Windows 7 hits the official Chinese package software garbled solution
Wubi Chinese character structure left and right type, upper and lower type, heterozygous type
Win8 restores the "confirm folder replacement" window method