Article Title: The UbuntuLinux system uses Vim for Rails encoding. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
1. Install
The installation of VIM 7.0 and VIM is now version 7.0. I forget how it was installed at the time and it seems to be very troublesome. However, after a while, I found that compilation and installation are not very troublesome, the most troublesome thing is that there are many inexplicable problems after the installation.
Install the rails. vim series plug-ins
Currently, I have installed five plug-ins from this address, but I have not used these plug-ins. I still need to study them for a while. Now I only use the project and rails plug-ins.
2. Use Rails. vim Encoding
3. Customize VIM
It also provides a set of configuration solutions, but the Code provided by it is for C/C ++. It may not be suitable for writing Java or Ruby, so you can change it slowly, the annotation is clearly written, and the encoding is also a bit problematic. my Chinese is directly garbled (originally VIM7.0 had a good support for Chinese), and I removed the entire encoding, set encoding = UTF-8
Next, modify the color scheme and select a preferred color scheme under/usr/local/vim/vm70/colors. Next, my VIM will become beautiful, and it will look good.