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

📄 vb.vim

📁 MSYS在windows下模拟了一个类unix的终端
💻 VIM
字号:
" Vim syntax file" Language:	Visual Basic" Maintainer:	Robert M. Cortopassi <cortopar@mindspring.com>" Last Change:	2001 May 09" This was thrown together after seeing numerous requests on the" VIM and VIM-DEV mailing lists.  It is by no means complete." Send comments, suggestions and requests to the maintainer." 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")  finishendif" VB is case insensitivesyn case ignoresyn keyword vbStatement AppActivate Base Beep Call Case ChDir ChDrive Constsyn keyword vbStatement Declare DefBool DefByte DefCur DefDate DefDbl DefDecsyn keyword vbStatement DefInt DefLng DefObj DefSng DefStr Deftype DefVarsyn keyword vbStatement DeleteSetting Dim Do Else End Enum Erase Event Exitsyn keyword vbStatement Explicit FileCopy For ForEach Function Get GoSub GoTosyn keyword vbStatement If Implements Kill Let LineInput Lock LSet MkDir Name Nextsyn keyword vbStatement OnError On Option Private Property Public Put RaiseEventsyn keyword vbStatement Randomize ReDim Rem Reset Resume Return RmDir RSetsyn keyword vbStatement SavePicture SaveSetting SendKeys SetAttr Static Sub Thensyn keyword vbStatement Type Unlock Wend While Width With Writesyn keyword vbFunction Abs Array Asc AscB AscW Atn Avgsyn keyword vbFunction CBool CByte CCur CDate CDbl Cdec Choose Chr ChrB ChrWsyn keyword vbFunction CInt CLng Command Cos Count CreateObject CSng CStrsyn keyword vbFunction CurDir CVar CVDate CVErr Date DateAdd DateDiff DatePartsyn keyword vbFunction DateSerial DateValue Day DDB Dir DoEvents Environ EOFsyn keyword vbFunction Error Exp FileAttr FileDateTime FileLen Fix Formatsyn keyword vbFunction FreeFile FV GetAllStrings GetAttr GetAutoServerSettingssyn keyword vbFunction GetObject GetSetting Hex Hour IIf IMEStatus Input InputBsyn keyword vbFunction InputBox InStr InstB Int IPmt IsArray IsDate IsEmptysyn keyword vbFunction IsError IsMissing IsNull IsNumeric IsObject LBound LCasesyn keyword vbFunction Left LeftB Len LenB LoadPicture Loc LOF Log LTrim Maxsyn keyword vbFunction Mid MidB Min Minute MIRR Month MsgBox Now NPer NPV Octsyn keyword vbFunction Partition Pmt PPmt PV QBColor Rate RGB Right RightB Rndsyn keyword vbFunction RTrim Second Seek Sgn Shell Sin SLN Space Spc Sqr StDevsyn keyword vbFunction StDevP Str StrComp StrConv String Switch Sum SYD Tab Tansyn keyword vbFunction Time Timer TimeSerial TimeValue Trim TypeName UBound UCasesyn keyword vbFunction Val Var VarP VarType Weekday Yearsyn keyword vbMethods Accept Activate Add AddCustom AddFile AddFromFilesyn keyword vbMethods AddFromTemplate AddItem AddNew AddToAddInToolbarsyn keyword vbMethods AddToolboxProgID Append AppendChunk Arrange Assertsyn keyword vbMethods AsyncRead BatchUpdate BeginTrans Bind Cancel CancelAsyncReadsyn keyword vbMethods CancelBatch CancelUpdate CanPropertyChange CaptureImagesyn keyword vbMethods CellText CellValue Circle Clear ClearFields ClearSelsyn keyword vbMethods ClearSelCols Clone Close Cls ColContaining ColumnSizesyn keyword vbMethods CommitTrans CompactDatabase Compose Connect Copysyn keyword vbMethods CopyQueryDef CreateDatabase CreateDragImage CreateEmbedsyn keyword vbMethods CreateField CreateGroup CreateIndex CreateLinksyn keyword vbMethods CreatePreparedStatement CreatePropery CreateQuerysyn keyword vbMethods CreateQueryDef CreateRelation CreateTableDef CreateUsersyn keyword vbMethods CreateWorkspace Customize Delete DeleteColumnLabelssyn keyword vbMethods DeleteColumns DeleteRowLabels DeleteRows DoVerb Drag Drawsyn keyword vbMethods Edit EditCopy EditPaste EndDoc EnsureVisiblesyn keyword vbMethods EstablishConnection Execute ExtractIcon Fetch FetchVerbssyn keyword vbMethods Files FillCache Find FindFirst FindItem FindLast FindNextsyn keyword vbMethods FindPrevious Forward GetBookmark GetChunk GetClipStringsyn keyword vbMethods GetData GetFirstVisible GetFormat GetHeader GetLineFromCharsyn keyword vbMethods GetNumTicks GetRows GetSelectedPart GetText GetVisibleCountsyn keyword vbMethods GoBack GoForward Hide HitTest HoldFields Idlesyn keyword vbMethods InitializeLabels InsertColumnLabels InsertColumnssyn keyword vbMethods InsertObjDlg InsertRowLabels InsertRows Item KillDocsyn keyword vbMethods Layout Line LinkExecute LinkPoke LinkRequest LinkSend Listensyn keyword vbMethods LoadFile LoadResData LoadResPicture LoadResString LogEventsyn keyword vbMethods MakeCompileFile MakeReplica MoreResults Move MoveDatasyn keyword vbMethods MoveFirst MoveLast MoveNext MovePrevious NavigateTo NewPagesyn keyword vbMethods NewPassword NextRecordset OLEDrag OnAddinsUpdatesyn keyword vbMethods OnConnection OnDisconnection OnStartupComplete Opensyn keyword vbMethods OpenConnection OpenDatabase OpenQueryDef OpenRecordsetsyn keyword vbMethods OpenResultset OpenURL Overlay PaintPicture Pastesyn keyword vbMethods PastSpecialDlg PeekData Play Point PopulatePartial PopupMenusyn keyword vbMethods Print PrintForm PropertyChanged PSet Quit Raisesyn keyword vbMethods RandomDataFill RandomFillColumns RandomFillRowssyn keyword vbMethods rdoCreateEnvironment rdoRegisterDataSource ReadFromFilesyn keyword vbMethods ReadProperty Rebind ReFill Refresh RefreshLinksyn keyword vbMethods RegisterDatabase Reload Remove RemoveAddInFromToolbarsyn keyword vbMethods RemoveItem Render RepairDatabase Reply ReplyAll Requerysyn keyword vbMethods ResetCustom ResetCustomLabel ResolveName RestoreToolbarsyn keyword vbMethods Resync Rollback RollbackTrans RowBookmark RowContainingsyn keyword vbMethods RowTop Save SaveAs SaveFile SaveToFile SaveToolbarsyn keyword vbMethods SaveToOle1File Scale ScaleX ScaleY Scroll Select SelectAllsyn keyword vbMethods SelectPart SelPrint Send SendData Set SetAutoServerSettingssyn keyword vbMethods SetData SetFocus SetOption SetSize SetText SetViewport Showsyn keyword vbMethods ShowColor ShowFont ShowHelp ShowOpen ShowPrinter ShowSavesyn keyword vbMethods ShowWhatsThis SignOff SignOn Size Span SplitContainingsyn keyword vbMethods StartLabelEdit StartLogging Stop Synchronize TextHeightsyn keyword vbMethods TextWidth ToDefaults TwipsToChartPart TypeByChartTypesyn keyword vbMethods Update UpdateControls UpdateRecord UpdateRow Uptosyn keyword vbMethods WhatsThisMode WriteProperty ZOrdersyn keyword vbEvents AccessKeyPress AfterAddFile AfterChangeFileNamesyn keyword vbEvents AfterCloseFile AfterColEdit AfterColUpdatesyn keyword vbEvents AfterDelete AfterInsert AfterLabelEdit AfterRemoveFilesyn keyword vbEvents AfterUpdate AfterWriteFile AmbienChanged ApplyChangessyn keyword vbEvents Associate AsyncReadComplete AxisActivated AxisLabelActivatedsyn keyword vbEvents AxisLabelSelected AxisLabelUpdated AxisSelectedsyn keyword vbEvents AxisTitleActivated AxisTitleSelected AxisTitleUpdatedsyn keyword vbEvents AxisUpdated BeforeClick BeforeColEdit BeforeColUpdatesyn keyword vbEvents BeforeConnect BeforeDelete BeforeInsert BeforeLabelEditsyn keyword vbEvents BeforeLoadFile BeforeUpdate ButtonClick ButtonCompletedsyn keyword vbEvents ButtonGotFocus ButtonLostFocus Change ChartActivatedsyn keyword vbEvents ChartSelected ChartUpdated Click ColEdit Collapsesyn keyword vbEvents ColResize ColumnClick Compare ConfigChageCancelledsyn keyword vbEvents ConfigChanged ConnectionRequest DataArrival DataChangedsyn keyword vbEvents DataUpdated DblClick Deactivate DeviceArrivalsyn keyword vbEvents DeviceOtherEvent DeviceQueryRemove DeviceQueryRemoveFailedsyn keyword vbEvents DeviceRemoveComplete DeviceRemovePending DevModeChangesyn keyword vbEvents Disconnect DisplayChanged Dissociate DoGetNewFileName Donesyn keyword vbEvents DonePainting DownClick DragDrop DragOver DropDownsyn keyword vbEvents EditProperty EnterCell EnterFocus ExitFocus Expandsyn keyword vbEvents FootnoteActivated FootnoteSelected FootnoteUpdated GotFocussyn keyword vbEvents HeadClick InfoMessage Initialize IniProperties ItemActivatedsyn keyword vbEvents ItemAdded ItemCheck ItemClick ItemReloaded ItemRemovedsyn keyword vbEvents ItemRenamed ItemSeletected KeyDown KeyPress KeyUp LeaveCellsyn keyword vbEvents LegendActivated LegendSelected LegendUpdated LinkClosesyn keyword vbEvents LinkError LinkNotify LinkOpen Load LostFocus MouseDownsyn keyword vbEvents MouseMove MouseUp NodeClick ObjectMove OLECompleteDragsyn keyword vbEvents OLEDragDrop OLEDragOver OLEGiveFeedback OLESetDatasyn keyword vbEvents OLEStartDrag OnAddNew OnComm Paint PanelClick PanelDblClicksyn keyword vbEvents PathChange PatternChange PlotActivated PlotSelectedsyn keyword vbEvents PlotUpdated PointActivated PointLabelActivatedsyn keyword vbEvents PointLabelSelected PointLabelUpdated PointSelectedsyn keyword vbEvents PointUpdated PowerQuerySuspend PowerResume PowerStatusChangedsyn keyword vbEvents PowerSuspend QueryChangeConfig QueryComplete QueryCompletedsyn keyword vbEvents QueryTimeout QueryUnload ReadProperties Repositionsyn keyword vbEvents RequestChangeFileName RequestWriteFile Resize ResultsChangedsyn keyword vbEvents RowColChange RowCurrencyChange RowResize RowStatusChangedsyn keyword vbEvents SelChange SelectionChanged SendComplete SendProgresssyn keyword vbEvents SeriesActivated SeriesSelected SeriesUpdated SettingChangedsyn keyword vbEvents SplitChange StateChanged StatusUpdate SysColorsChangedsyn keyword vbEvents Terminate TimeChanged TitleActivated TitleSelectedsyn keyword vbEvents TitleActivated UnboundAddData UnboundDeleteRowsyn keyword vbEvents UnboundGetRelativeBookmark UnboundReadData UnboundWriteDatasyn keyword vbEvents Unload UpClick Updated Validate ValidationErrorsyn keyword vbEvents WillAssociate WillChangeData WillDissociate WillExecutesyn keyword vbEvents WillUpdateRows WritePropertiessyn keyword vbTodo contained	TODO"integer number, or floating point number without a dot.syn match  vbNumber		"\<\d\+\>""floating point number, with dotsyn match  vbNumber		"\<\d\+\.\d*\>""floating point number, starting with a dotsyn match  vbNumber		"\.\d\+\>"" String and Character contstantssyn region  vbString		  start=+"+  end=+"+syn region  vbComment	start="REM" end="$" contains=vbTodosyn region  vbComment   start="'"   end="$" contains=vbTodosyn region  vbLineNumber	start="^\d" end="\s"syn match   vbTypeSpecifier  "[a-zA-Z0-9][\$%&!#]"ms=s+1" 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_vb_syntax_inits")  if version < 508    let did_vb_syntax_inits = 1    command -nargs=+ HiLink hi link <args>  else    command -nargs=+ HiLink hi def link <args>  endif  HiLink vbLineNumber	        Comment  HiLink vbNumber		Number  HiLink vbError		Error  HiLink vbStatement	        Statement  HiLink vbString		String  HiLink vbComment		Comment  HiLink vbTodo		Todo  HiLink vbFunction		Identifier  HiLink vbMethods             PreProc  HiLink vbEvents              Special  HiLink vbTypeSpecifier       Type  delcommand HiLinkendiflet b:current_syntax = "vb"" vim: ts=8

⌨️ 快捷键说明

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