Ruby development environment and rails development environment:
You only need to install the following plug-ins to implement a powerful Ruby rails development environment that supports syntax highlighting, Automatic completion, and syntax error analysis.
Vim Plugin:
Pathogen. Vim
Https://github.com/tpope/vim-pathogen
Rails. Vim
Https://github.com/tpope/vim-rails#readme
Http://www.vim.org/scripts/script.php? Script_id = 1, 1567
Ctags http://www.vim.org/scripts/script.php? Script_id = 1, 610
The taglist http://www.vim.org/scripts/script.php? Script_id = 1, 273
Installation Method:
Download and decompress the package ~ /. Vim/directory.
Note:
1. install and configure ctags first.
1.1: http://prdownloads.sourceforge.net/ctags/ctags-5.8.tar.gz
1.2 tar decompression,./configure, make, make install
1.3 Vim plug-in ctags http://www.vim.org/scripts/script.php? Script_id = 1, 610
2. Install taglist (depending on ctags)
1. Download a zip file of taglist, decompress it, and copy taglist. Vim ~ /. Vim/plugin directory.
2. Modify ~ /. Vim/plugin/taglist. Vim
In if! Exists ('loaded _ taglist ')
Let tlist_ctags_cmd = "/usr/bin/ctags" // The path may be different. You can use the which ctags command to obtain the path.
For details, see readme for each plug-in compressed package.
OK! The powerful Ruby rails development environment that supports syntax highlighting, Automatic completion, and syntax error analysis is almost ready.
-------
More plug-ins:
Rails. Vim http://www.vim.org/scripts/script.php? Script_id = 1, 1567
Rubysnippets http://www.vim.org/scripts/script.php? Script_id = 1, 1966
Project http://www.vim.org/scripts/script.php? Script_id = 69
Nerd_tree http://www.vim.org/scripts/script.php? Script_id = 1, 1658
Bufexplorer http://www.vim.org/scripts/script.php? Script_id = 42
Ctags http://www.vim.org/scripts/script.php? Script_id = 1, 610
The taglist http://www.vim.org/scripts/script.php? Script_id = 1, 273
Winmanager http://www.vim.org/scripts/script.php? Script_id = 95
Matchit http://www.vim.org/scripts/script.php? Script_id = 39
Svncommand http://www.vim.org/scripts/script.php? Script_id = 1, 922
Surround http://www.vim.org/scripts/script.php? Script_id = 1, 1697
Supertab http://www.vim.org/scripts/script.php? Script_id = 1, 1643
CVIM
Http://www.vim.org/scripts/script.php? Script_id = 1, 213