⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 winbatch.vim

📁 MSYS在windows下模拟了一个类unix的终端
💻 VIM
字号:
" Vim syntax file" Language:	WinBatch/Webbatch (*.wbt, *.web)" Maintainer:	dominique@mggen.com" URL:		http://www.mggen.com/vim/syntax/winbatch.zip" Last change:	2001 May 10" For version 5.x: Clear all syntax items" For version 6.x: Quit when a syntax file was already loadedif version < 600  syntax clearelseif exists("b:current_syntax")  finishendifsyn case ignoresyn keyword winbatchCtl	if then else endif break end return exit nextsyn keyword winbatchCtl while for gosub goto switch select to casesyn keyword winbatchCtl endselect endwhile endselect endswitch" Stringsyn region  winbatchVar		start=+%+  end=+%+" %var% in stringssyn region  winbatchString	start=+"+  end=+"+ contains=winbatchVarsyn match winbatchComment	";.*$"syn match winbatchLabel		"^\ *:[0-9a-zA-Z_\-]\+\>"" constant (bezgin by @)syn match winbatchConstant	"@[0_9a-zA-Z_\-]\+"" numbersyn match winbatchNumber	"\<[0-9]\+\(u\=l\=\|lu\|f\)\>"syn keyword winbatchImplicit aboveicons acc_attrib acc_chng_nt acc_control acc_createsyn keyword winbatchImplicit acc_delete acc_full_95 acc_full_nt acc_list acc_pfull_ntsyn keyword winbatchImplicit acc_pmang_nt acc_print_nt acc_read acc_read_95 acc_read_ntsyn keyword winbatchImplicit acc_write amc arrange ascending attr_a attr_a attr_ci attr_cisyn keyword winbatchImplicit attr_dc attr_dc attr_di attr_di attr_dm attr_dm attr_h attr_hsyn keyword winbatchImplicit attr_ic attr_ic attr_p attr_p attr_ri attr_ri attr_ro attr_rosyn keyword winbatchImplicit attr_sh attr_sh attr_sy attr_sy attr_t attr_t attr_x attr_xsyn keyword winbatchImplicit avogadro backscan boltzmann cancel capslock check columnssyn keyword winbatchImplicit commonformat cr crlf ctrl default default deg2rad descendingsyn keyword winbatchImplicit disable drive electric enable eulers false faraday float8syn keyword winbatchImplicit fwdscan gftsec globalgroup gmtsec goldenratio gravitation hiddensyn keyword winbatchImplicit icon lbutton lclick ldblclick lf lightmps lightmtps localgroupsyn keyword winbatchImplicit magfield major mbokcancel mbutton mbyesno mclick mdblclick minorsyn keyword winbatchImplicit msformat multiple ncsaformat no none none noresize normalsyn keyword winbatchImplicit notify nowait numlock off on open parsec parseonly pisyn keyword winbatchImplicit planckergs planckjoules printer rad2deg rbutton rclick rdblclicksyn keyword winbatchImplicit regclasses regcurrent regmachine regroot regusers rows savesyn keyword winbatchImplicit scrolllock server shift single sorted stack string tab tilesyn keyword winbatchImplicit true uncheck unsorted wait wholesection word1 word2 word4 yessyn keyword winbatchImplicit zoomed about abs acos addextender appexist appwaitclose asinsyn keyword winbatchImplicit askfilename askfiletext askitemlist askline askpassword askyesnosyn keyword winbatchImplicit atan average beep binaryalloc binarycopy binaryeodget binaryeodsetsyn keyword winbatchImplicit binaryfree binaryhashrec binaryincr binaryincr2 binaryincr4syn keyword winbatchImplicit binaryincrflt binaryindex binaryindexnc binaryoletype binarypeeksyn keyword winbatchImplicit binarypeek2 binarypeek4 binarypeekflt binarypeekstr binarypokesyn keyword winbatchImplicit binarypoke2 binarypoke4 binarypokeflt binarypokestr binaryreadsyn keyword winbatchImplicit binarysort binarystrcnt binarywrite boxbuttondraw boxbuttonkillsyn keyword winbatchImplicit boxbuttonstat boxbuttonwait boxcaption boxcolorsyn keyword winbatchImplicit boxdataclear boxdatatagsyn keyword winbatchImplicit boxdestroy boxdrawcircle boxdrawline boxdrawrect boxdrawtextsyn keyword winbatchImplicit boxesup boxmapmode boxnew boxopen boxpen boxshut boxtext boxtextcolorsyn keyword winbatchImplicit boxtextfont boxtitle boxupdates break buttonnames by callsyn keyword winbatchImplicit callext ceiling char2num clipappend clipget clipputsyn keyword winbatchImplicit continue cos cosh datetimesyn keyword winbatchImplicit ddeexecute ddeinitiate ddepoke dderequest ddeterminatesyn keyword winbatchImplicit ddetimeout debug debugdata decimals delay dialogsyn keyword winbatchImplicit dialogbox dirattrget dirattrset dirchange direxistsyn keyword winbatchImplicit dirget dirhome diritemize dirmake dirremove dirrenamesyn keyword winbatchImplicit dirwindows diskexist diskfree diskinfo diskscan disksizesyn keyword winbatchImplicit diskvolinfo display dllcall dllfree dllhinst dllhwnd dllloadsyn keyword winbatchImplicit dosboxcursorx dosboxcursory dosboxgetall dosboxgetdatasyn keyword winbatchImplicit dosboxheight dosboxscrmode dosboxversion dosboxwidth dosversionsyn keyword winbatchImplicit drop edosgetinfo edosgetvar edoslistvars edospathadd edospathchksyn keyword winbatchImplicit edospathdel edossetvarsyn keyword winbatchImplicit endsession envgetinfo envgetvar environmentsyn keyword winbatchImplicit environset envitemize envlistvars envpathadd envpathchksyn keyword winbatchImplicit envpathdel envsetvar errormode exclusive execute exetypeinfosyn keyword winbatchImplicit exp fabs fileappend fileattrget fileattrset fileclosesyn keyword winbatchImplicit filecompare filecopy filedelete fileexist fileextension filefullnamesyn keyword winbatchImplicit fileitemize filelocate filemapname filemove filenameeval1syn keyword winbatchImplicit filenameeval2 filenamelong filenameshort fileopen filepathsyn keyword winbatchImplicit fileread filerename fileroot filesize filetimecode filetimegetsyn keyword winbatchImplicit filetimeset filetimetouch fileverinfo filewrite fileymdhmssyn keyword winbatchImplicit findwindow floor getexacttime gettickcountsyn keyword winbatchImplicit iconarrange iconreplace ignoreinput inidelete inideletepvtsyn keyword winbatchImplicit iniitemize iniitemizepvt iniread inireadpvt iniwrite iniwritepvtsyn keyword winbatchImplicit installfile int intcontrol isdefined isfloat isint iskeydownsyn keyword winbatchImplicit islicensed isnumber itemcount itemextract iteminsert itemlocatesyn keyword winbatchImplicit itemremove itemselect itemsort keytoggleget keytogglesetsyn keyword winbatchImplicit lasterror log10 logdisk loge max message min mod mouseclicksyn keyword winbatchImplicit mouseclickbtn mousedrag mouseinfo mousemove msgtextget n3attachsyn keyword winbatchImplicit n3captureend n3captureprt n3chgpassword n3detach n3dirattrgetsyn keyword winbatchImplicit n3dirattrset n3drivepath n3drivepath2 n3drivestatus n3fileattrgetsyn keyword winbatchImplicit n3fileattrset n3getloginid n3getmapped n3getnetaddr n3getusersyn keyword winbatchImplicit n3getuserid n3logout n3map n3mapdelete n3mapdir n3maproot n3memberdelsyn keyword winbatchImplicit n3memberget n3memberset n3msgsend n3msgsendall n3serverinfosyn keyword winbatchImplicit n3serverlist n3setsrchdrv n3usergroups n3version n4attachsyn keyword winbatchImplicit n4captureend n4captureprt n4chgpassword n4detach n4dirattrgetsyn keyword winbatchImplicit n4dirattrset n4drivepath n4drivestatus n4fileattrget n4fileattrsetsyn keyword winbatchImplicit n4getloginid n4getmapped n4getnetaddr n4getuser n4getuseridsyn keyword winbatchImplicit n4login n4logout n4map n4mapdelete n4mapdir n4maproot n4memberdelsyn keyword winbatchImplicit n4memberget n4memberset n4msgsend n4msgsendall n4serverinfosyn keyword winbatchImplicit n4serverlist n4setsrchdrv n4usergroups n4version netadddrivesyn keyword winbatchImplicit netaddprinter netcancelcon netdirdialog netgetcon netgetusersyn keyword winbatchImplicit netinfo netresources netversion num2char objectclosesyn keyword winbatchImplicit objectopen parsedata pause playmedia playmidi playwaveformsyn keyword winbatchImplicit print random regapp regclosekey regconnect regcreatekeysyn keyword winbatchImplicit regdeletekey regdelvalue regentrytype regloadhive regopenkeysyn keyword winbatchImplicit regquerybin regquerydword regqueryex regqueryexpsz regqueryitemsyn keyword winbatchImplicit regquerykey regquerymulsz regqueryvalue regsetbinsyn keyword winbatchImplicit regsetdword regsetex regsetexpsz regsetmulsz regsetvaluesyn keyword winbatchImplicit regunloadhive reload reload rtstatus run runenvironsyn keyword winbatchImplicit runexit runhide runhidewait runicon runiconwait runshell runwaitsyn keyword winbatchImplicit runzoom runzoomwait sendkey sendkeyschild sendkeystosyn keyword winbatchImplicit sendmenusto shellexecute shortcutedit shortcutextra shortcutinfosyn keyword winbatchImplicit shortcutmake sin sinh snapshot sounds sqrtsyn keyword winbatchImplicit srchfree srchinit srchnext strcat strcharcount strcmpsyn keyword winbatchImplicit strfill strfix strfixchars stricmp strindex strlensyn keyword winbatchImplicit strlower strreplace strscan strsub strtrim struppersyn keyword winbatchImplicit tan tanh tcpaddr2host tcpftpchdir tcpftpclose tcpftpgetsyn keyword winbatchImplicit tcpftplist tcpftpmode tcpftpopen tcpftpput tcphost2addr tcphttpgetsyn keyword winbatchImplicit tcphttppost tcpparmget tcpparmset tcpping tcpsmtp terminatesyn keyword winbatchImplicit textbox textboxsort textoutbufdel textoutbuffer textoutdebugsyn keyword winbatchImplicit textoutfree textoutinfo textoutreset textouttrack textouttrackbsyn keyword winbatchImplicit textouttrackp textoutwait textselect timeadd timedatesyn keyword winbatchImplicit timedelay timediffdays timediffsecs timejulianday timejultoymdsyn keyword winbatchImplicit timesubtract timewait timeymdhms version versiondllsyn keyword winbatchImplicit w3addcon w3cancelcon w3dirbrowse w3getcaps w3getcon w3netdialogsyn keyword winbatchImplicit w3netgetuser w3prtbrowse w3version w95accessadd w95accessdelsyn keyword winbatchImplicit w95adddrive w95addprinter w95cancelcon w95dirdialog w95getconsyn keyword winbatchImplicit w95getuser w95resources w95shareadd w95sharedel w95sharesetsyn keyword winbatchImplicit w95version waitforkey wallpaper webbaseconv webcloselogsyn keyword winbatchImplicit webcmddata webcondata webcounter webdatdata webdumperror webhashcodesyn keyword winbatchImplicit webislocal weblogline webopenlog webout weboutfile webparamdatasyn keyword winbatchImplicit webparamnames websettimeout webverifycard winactivatesyn keyword winbatchImplicit winactivchild winarrange winclose winclosenot winconfig winexenamesyn keyword winbatchImplicit winexist winparset winparget winexistchild wingetactivesyn keyword winbatchImplicit winhelp winhide winiconize winidget winisdos winitemchildsyn keyword winbatchImplicit winitemize winitemnameid winmetrics winname winparmgetsyn keyword winbatchImplicit winparmset winplace winplaceget winplacesetsyn keyword winbatchImplicit winposition winresources winshow winstate winsysinfosyn keyword winbatchImplicit wintitle winversion winwaitchild winwaitclose winwaitexistsyn keyword winbatchImplicit winzoom wnaddcon wncancelcon wncmptrinfo wndialogsyn keyword winbatchImplicit wndlgbrowse wndlgcon wndlgcon2 wndlgcon3syn keyword winbatchImplicit wndlgcon4 wndlgdiscon wndlgnoshare wndlgshare wngetcapssyn keyword winbatchImplicit wngetcon wngetuser wnnetnames wnrestore wnservers wnsharecntsyn keyword winbatchImplicit wnsharename wnsharepath wnshares wntaccessadd wntaccessdelsyn keyword winbatchImplicit wntaccessget wntadddrive wntaddprinter wntcancelcon wntdirdialogsyn keyword winbatchImplicit wntgetcon wntgetuser wntlistgroups wntmemberdel wntmembergetsyn keyword winbatchImplicit wntmembergrps wntmemberlist wntmemberset wntresources wntshareaddsyn keyword winbatchImplicit wntsharedel wntshareset wntversion wnversion wnwrkgroups wwenvunloadsyn keyword winbatchImplicit xbaseconvert xcursorset xdisklabelget xdriveready xextenderinfosyn keyword winbatchImplicit xgetchildhwnd xgetelapsed xhex xmemcompact xmessageboxsyn keyword winbatchImplicit xsendmessage xverifyccard yield" Define the default highlighting." For version 5.7 and earlier: only when not done already" For version 5.8 and later: only when an item doesn't have highlighting yetif version >= 508 || !exists("did_winbatch_syntax_inits")  if version < 508    let did_winbatch_syntax_inits = 1    command -nargs=+ HiLink hi link <args>  else    command -nargs=+ HiLink hi def link <args>  endif  HiLink winbatchLabel		PreProc  HiLink winbatchCtl		Operator  HiLink winbatchStatement	Statement  HiLink winbatchTodo		Todo  HiLink winbatchString		String  HiLink winbatchVar		Type  HiLink winbatchComment	Comment  HiLink winbatchImplicit	Special  HiLink winbatchNumber		Number  HiLink winbatchConstant	StorageClass  delcommand HiLinkendiflet b:current_syntax = "winbatch"" vim: ts=8

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -