Vim profile (full platform available) from http://www.oschina.net/code/snippet_103341_9644)

Source: Internet
Author: User
Tags ruby on rails
This version is applicable to Windows, Linux, and cygwin environments. The target audience is Vim beginners.


I wish you a pleasant start to release this version before the end of the November. ^-^


See the following link for the colored configuration file for Windows: http://www.ruchee.com/code/linux/vim/_vimrc.htmlLinux & cygwin: http://www.ruchee.com/code/linux/vim/.vimrc.html
For complete configuration, see the end of this article.
-----------------------------------------
Main functions of this version:
01. supports regular syntax highlighting, code indentation, line 02 with 80 characters in each line, brackets, and automatic matching of quotation marks. 03. supports one-click compilation and running of a single source file. [C/ c ++, Java, Haskell, Lua, Perl, Python, Ruby] 04. Support for one-click loading syntax template 05. Integrate snipmate, support for Tab key completion [C/C ++, Ruby] 06 languages supported by complete configuration, integration of zencoding, supports quick coding 07 for webpages, integration of General Plug-ins such as minibufexpl, nerd_tree, and taglist, facilitating development of project-level project 08, integration of fencview, fast switching of file encoding 09, and integration of txtbrowser, common TXT files are highlighted. 10. rails plug-ins are integrated. Ruby on Rails development is supported. 11. Powerline is integrated, support Status Bar color display 12. Support for ctags function jump [Linux & cygwin users need to install ctags for use]
-----------------------------------------
For more functions, see the vim configuration file [windows is _ vimrc, Linux and cygwin is. vimrc].
Each version is divided into the full version and no vimwiki version, it is recommended to use the next version, if you want to use the full version, please refer to the following tutorial to complete the environment configuration: http://www.ruchee.com/code/linux/vim/2011-05-18.html
Zencoding simple instructions for use, please refer to: http://www.ruchee.com/code/linux/vim/zencoding.html
For the keywords supported by snipmate, check the files in the vimfiles/snippets directory. You can also modify and configure the files.
Detailed key description, use methods are written in the front of the configuration file, if you have any questions, please visit the following link Message Consulting: http://www.ruchee.com/msg/index.php
The following describes how to install the configuration: Windows and Linux & cygwin. For more information, see
-----------------------------------------
Installation Method in Windows
01. Visit http://www.vim.org/download.php?pcto download the latest gvim
02. Install gvim in any directory. For the sake of convenience, I suppose you have installed gvim in D: \ apps \ gvim.
03. Add the D: \ apps \ gvim \ vim73 directory to the environment variable. [Google]
04. Delete the vimfiles directory under the gvim installation directory.
05. Copy the provided vimfiles directory to D: \ apps \ gvim to replace the deleted directory.
06. Copy all provided gadgets to the D: \ apps \ gvim \ vim73 directory.


07. Change the configuration file you selected to _ vimrc and delete the other one.


08. Replace _ vimrc with D: \ apps \ gvim.

09. Copy Monaco. TTF to the C: \ WINDOWS \ fonts directory to install the font.
10. Use any text editor to open _ vimrc and replace all the information such as the name, email address, and website address with your own information. If the path is different, replace all the information with the actual path of your local machine.
11. Then... Then, I'm done. Next I just need to learn how to use it. The instructions are all concentrated in the header of the _ vimrc file.
-----------------------------------------
Linux
& Cywgin Installation Method
01. Check that Vim is installed. No Installation Guide is provided here. If necessary, Google
02. Delete the. Vim folder and. vimrc file in the home directory. If no file exists, you do not need to perform the delete operation [use the command Rm-RF. Vim. vimrc]
03. Copy all files under the linux_cygwin directory to the Home Directory [open the terminal in the linux_cygwin folder downloaded, and then run the command CP-R. ~]
04. Rename the configuration file you selected as. vimrc, and delete the other one [use the command mV. Vim * wiki *. vimrc & RM. Vim * Full version *]
05. Open. vimrc in any text editor and replace all the name, email address, and website information with your own information. In case of different paths, replace all the information with the actual path of your local machine.
06. You can configure the file in this way. study and use the file in the header of the _ vimrc file.
-----------------------------------------
Ctags is simple to use. Here C/C ++ is used as an example.
01、first, ensure that the system can find ctags.exeand add ctags.exe to the system environment variable.
02. Take mingw as an example. Go to the include directory of the compiler installation directory (for example, c: \ mingw \ include) and run the ctags-r -- ages = C, C ++
03. Add a set tags + = c: \ mingw \ include \ tags line to the _ vimrc file.
04. When editing the C/C ++ source file, type a small part of the characters and press Ctrl + P to display the C/C ++ code prompt.
05. move the cursor over a function name and press Ctrl +]. Vim will automatically jump to the definition of the function and press Ctrl + T to return
The above is just a simple ctags usage. For more professional introduction, please google
-----------------------------------------
The document directory provides Vim tutorials and diagrams, and also contains the Wiki template of my blog, which can be used for reference using vimwiki.
Attachment: http://www.ruchee.com/download/Vim2012-04-01.7z
--------------------------------------- Label: Vim gvim

Install ctags In Debian:

Download ctags-5.8-1.i386.rpmfrom http://ctags.sourceforge.net;
Install alien
Execute alien ctags-5.8-1.i386.rpm-D to convert RPM to Deb
Use gdebi to install the converted Deb

Install alien
Execute alien ctags-5.8-1.i386.rpm-D to convert RPM to Deb
Use gdebi to install the converted Deb
Install alien
Execute alien ctags-5.8-1.i386.rpm-D to convert RPM to Deb
Use gdebi to install the converted Deb

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.