Install Vim on Windows

Source: Internet
Author: User

Source:


Http://hi.baidu.com/ramboisme/blog/item/063509a71a791490d1435805.html






Required installation package:

(Http://www.vim.org /)
1. gvim71.exe (

Ftp://ftp.vim.org/pub/vim/pc/gvim72.exe


)
2. exuberant ctags 5.0 (

Http://sourceforge.net/projects/ctags/


)
3. taglist_45.zip (

Http://www.vim.org/scripts/script.php? Script_id = 1, 273


)


Installation Steps:

1.
install gvim
, default installation or all installation

2.
Installation
exuberant ctags

change ec57w32.zip
, decompress ,
copy ctags.exe
to % PATH %
in any directory.


example: C: /Windows/system32/
medium

3.
Installation
taglist_45.zip

change taglist_45.zip
extract To C: /program files/Vim/vimfiles/
medium


if you do not have the vimfiles
directory, create one.

plugin/taglist. vim
DOC/taglist.txt

4.


EditVim
Installation Directory_ Vimrc
File, this isVim
.



Add some common ones, suchC
Syntax color, automatic indentation, and file type identification.

Syntax on <br/> set tabstop = 4 <br/> set softtabstop = 4 <br/> set shiftwidth = 4 <br/> set autoindent <br/> set cindent <br /> set nu <br/> set filetype = o


5.


CloseGvim
And re-open

6. Color Scheme


The default color scheme of VIM is a bit unpleasant, that is, annotations. The default color is blue, and you can hardly see what it is in a black background.



Solution:


$ VI ~ /. Vimrc


Add a row


Colorscheme evening


Save and exit.


If the Murphy color scheme is poor, take a look at/usr/share/Vim/vim63/colors, which stores many color schemes. You can choose one of them to replace the above Evening.

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.