Install zencoding in VIM

Source: Internet
Author: User

The use of various major Editors is not satisfactory. notepad ++ is recommended by many people, but zencoding is too stingy. For me, other reasons such as the UE startup is too slow.

You have to use the following artifacts:

Download vim,

Http://www.vim.org/download.php#pcvim

Vim getting started Tutorial:

Http://rockux.com/archives/%e4%bd%bf%e7%94%a8vim%e7%9a%84%e5%8d%81%e5%a4%a7%e7%90%86%e7%94%b1

Zencoding download:

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

Decompress the package and overwrite it

C: \ Program Files \ Vim \ vim73 directory, that is, installation.

Modify the vim default extension shortcut:

Under the c: \ Program Files \ Vim \ vim73 directory:

Add the following to the vimrc_example.vim file:Code:

Let G: user_zen_settings = {
\ ' Indentation ' : ' ' ,
\ ' Perl ' :{
\ ' Aliases ' :{
\ ' REQ ' : ' Require '  
\},
\ ' Snippets ' :{
\ ' Use ' : " Use strict \ nuse warnings \ n " ,
\ ' Warn ' : " Warn \ " | \ " ; " ,
\}
\}
\}
 
Let G: user_zen_expandabbr_key =   ' <C-return> ' "Set to ctlr + press ENTER Extension  
Let G: use_zen_complete_tag = 1

 

 

 

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.