Vim Plugin uses essays

Source: Internet
Author: User

After years of contact with Vim, thought to the top of the mountain is actually still halfway up.

This essay records the recent learning of several plugins, memo.

First Plugin:vundle

A few years ago has been to change their own plug-ins, put into the. Vim directory, now began to be managed with Vundle , which is characterized by the need to have a network, connected to GitHub.

git clone https://github.com/gmarik/vundle.vim.git ~/.vim/bundle/vundle.vim

After that, change the. VIMRC to the beginning.

 set nocompatible   be improved, Requi Red  filetype off  "  Required "  set the runtime path to include Vundle and Initialize  set Rtp+=~/.vim/bundle/vundle.vimcall vundle#begin ()   "  Alternatively, pass a path where vundle should install plugins   " call vundle#begin (' ~/some/path/here ')   "  Let Vundle manage Vundle, required  Plugin  "  '  

Ok,launch and vim Run:PluginInstall

Second Plugin:valloric/youcompleteme

Plugin ' Valloric/youcompleteme ' first installed with Vundle. This plugin is a bit complicated, so it has to be recorded. Mac users need to install Macvim.

This plug-in is downloaded and compiled, so if you run the:P luginupdate it will be compiled once again.

Compile method:

CD ~/.vim/bundle/youcompleteme. /Install. SH --clang-completer

If you want Go support, you should add--gocode-completer

Prerequisites, the installation of these under Ubuntu and Mac is the first to have a compilation environment and tools such as

Ubuntu

sudo Install build-essential cmake

MAC installs Xcode,command-line Tools,cmake because there may be before compiling the toolset, I forget that there are no executions of these.

Vim Plugin uses essays

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.