Fantastic Ruby on Rails development tool (see the following picture)

Source: Internet
Author: User
Tags ruby on rails
I went to bed at half past five last night and went crazy about configuring the vim environment. Finally, I finally completed the fantastic Ruby on Rails development tool. I have installed vim-Ruby in this Vim environment. Of course, you need to install it yourself. A simple command is provided below Ubuntu:
Sudo apt-Get install vim-Ruby
However, it seems that if your vim version is 7.0, Ruby is supported by default.
Then I integrated rubycomplete. Vim, rails. Vim, project. Vim, and a tool that imitates textmate to automatically complete input. After the configuration is complete, let me talk about the functions of the ROR Development Editor:
1. syntax highlighting, including the proprietary keyword of rails
2. Auto-completion. If you want to enter link_to, you only need to enter Li and press Ctrl + X, CTRL + O to obtain the Completion list. Select your own.
3. The template will enter. you can press the tab key value of forin to get the ruby for in syntax.
4. Automatic completion of rhtml. For example, if I enter it in rhtml, TD will get <TD> </TD>. For more information, see helptags: HTML.
5. complete Project support. In Vim standard mode, input: rproject will open a test bar on the left of VIM, which contains the directory tree of all rails projects. The effect is similar to textmate.
6. Integrated with rserver to enable the server, rserver! Disable the server. Rgen is equivalent to rails's generate, rmodel, rlayout, rcontroller, and other commands, which are equivalent to rails's intended commands. For a list of specific functions, see rails. vim.
In addition, many functions cannot be written at the moment. Quick installation:
In fact, it is very simple to install Vim vim-Ruby IN THE SYSTEM
Then, put my configuration package under/home/username, which is to put the plug-in/home/username /. in Vim/, click OK. put vimrc under/home/username.

Because the package is too big, please send me an email or leave a message to ask for it.
Email: prolibertine # gmail.com


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.