I went to bed 5:30 last night, frantically configuring the vim environment and finally finished the fantastic Ruby on Rails development tool. I have installed the Vim-ruby in this vim environment, of course this should you to install, in Ubuntu below a simple command:
sudo apt-get install Vim-ruby
But as if your vim is version 7.0, the default is Ruby support.
Then I integrated the rubycomplete.vim,rails.vim,project.vim and a tool that mimics TextMate's AutoComplete input. After all this is done, I'm going to say my current ROR development editor Features:
1. Syntax highlighting, including those proprietary keyword of rails
2. Automatic completion, you want to enter link_to words now as long as input Li and then press Ctrl+x,ctrl+o can get complete list, their choice.
3. The template will be entered, you enter Forin at the tab value you can get that Ruby for the syntax is fast.
4.rhtml automatic completion. For example, I input in rhtml, TD will get <td></td>, specific reference helptags:html
5. Complete project support, entered in the Vim Standard mode: Rproject will open a test bar on the left side of vim, which has all of the entire Rails project's directory tree, the effect is similar to TextMate.
6. Integrated Rserver open Server, rserver! Shut down the server. Rgen equivalent to the rails Generate,rmodel,rlayout,rcontroller commands and rails ' tacit commands, the specific Function list reference Rails.vim
In addition, there are many functions that can not be written down. Talk about the Quick installation method:
Actually very simple, install VIM Vim-ruby in the system
And then put my configuration bag under/home/username, in fact, is to let the plugin in the/home/username/.vim/under the OK, and then I provide the. VIMRC under/home/username/.
Because the bag is too big, please send me an email or a message for your interest.
Email:prolibertine#gmail.com