Personal environment Configuration _linux Mint

Source: Internet
Author: User
Tags linux mint

with Linux also has a short time, encountered a variety of problems are endless, the number of re-installed system is also a lot, the recent use of arch is tired, so want to change a relatively good configuration point of the system to try, so the choice of Linux Mint. About ArchLinux Personal installation and some basic configuration, the next time you install it, the main record today under the Linux Mint some of their own personal environment configuration.

1. Vim-based configuration

The first thing to say is of course my most commonly used artifact vim configuration. About Vim, it is mainly to record the installation and use of Vundle plug-ins, as well as some other plug-in compilation methods.

Installation and configuration of the Vundle

Download Vundle

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

After installation, add the appropriate control code to the. VIMRC to use. Bundle installed plug-ins mainly include three kinds:

    1. In GitHub vim-scripts user repos, only need to write repos name
    2. Repos under other GitHub users need to write out "username/repos name"
    3. Plugins that are not on GitHub need to write out git full path

Installation and configuration of the Youcompleteme

Installing LLVM and Clang

the installed version of Clang must be above 3.2 and then copy the libclang.so Dynamic library to the ycm Python directory .

sudo Install LLCM clang

Installing CMake and Python-dev

sudo Install CMake Python-dev

Add code in. VIMRC, and then install it after Bundleinstall.

' Valloric/youcompleteme '

YCM must be compiled for use after installation.

compiling ycm

1. Copy the libclang.so to the ycm python directory. Create a new Ycm_build folder and generate the makefile with the CMake command:

" Unix makefiles " -dexternal_libclang_path=/usr/lib/libclang.so. ~/.vim/bundle/youcompleteme/third_party/ycmd/CPP

2. Compiling ycm_core.so

 make Ycm_core

3. Compiling ycm_support_libs

 make Ycm_support_libs

You can use the Vim profile and the YCM configuration file after modifying it.

Personal environment Configuration _linux Mint

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.