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:
- In GitHub vim-scripts user repos, only need to write repos name
- Repos under other GitHub users need to write out "username/repos name"
- 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