The UbuntuLinux system uses Vim for Rails Encoding

Source: Internet
Author: User
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.

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.