Windows under Wim configured as IDE

Source: Internet
Author: User
Tags diff

1. configuration file _WIMRC

Set fileencodings=utf-8, ucs-Bom,cp936,big5set fileencoding=utf-8Source $VIMRUNTIME/Vimrc_example.vimsource $VIMRUNTIME/Mswin.vimbehave Mswin"Set the default color schemeColorScheme Blue"Set Winmanager"Set Interface SegmentationLet G:winmanagerwindowlayout ="fileexplorer| TagList""set the width of the Winmanager, default toLet G:winmanagerwidth = -Let g:winmanagerheight= the"Define open Close Winmanager shortcut key to F8Nmap <silent> <F8>:wmtoggle<cr>"automatically open Winmanager when you enter VimLet G:autoopenwinmanager =1Set diffexpr=Mydiff ()functionMydiff () let opt='-A --binary'  if&diffopt =~'icase'| Let opt = opt.'- I.'|endifif&diffopt =~'Iwhite'| Let opt = opt.'- b'|endif let Arg1=v:fname_inifArg1 =~' '| Let arg1 ='"'. Arg1.'"'|endif let Arg2=v:fname_newifArg2 =~' '| Let arg2 ='"'. Arg2.'"'|endif let Arg3=V:fname_outifArg3 =~' '| Let Arg3 ='"'. Arg3.'"'|endifif$VIMRUNTIME =~' '    if&SH=~'\<cmd'      ifEmpty (&shellxquote) Let L:shxq_sav="'Set Shellxquote&endif let cmd='"'. $VIMRUNTIME.'\diff "'    ElseLet cmd= Substitute ($VIMRUNTIME,' ','" ',"') .'\diff "'endifElseLet cmd= $VIMRUNTIME.'\diff'endif Silent Execute'!'. Cmd.' '. Opt. Arg1.' '. Arg2.'>'. Arg3ifExists'L:shxq_sav') Let&shellxquote=L:shxq_sav endifendfunction

2. Install File Manager and syntax hint plugin

File Manager Winmanager

Syntax hints Ctags

After downloading, unpack the doc and plugin directories to the VIM80 directory.

Ctags need to download source code compile, use vs2005 command line compile. nmake/f Mak_mvc.mak

Please read the Readme file and copy the compiled ctags to the Vim80 directory and execute the command line Ctags-r

Windows under Wim configured as IDE

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.