📄 help.vim
字号:
" Vim syntax file" Language: Vim help file" Maintainer: Bram Moolenaar (Bram@vim.org)" Last Change: 2001 Apr 25" 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 match helpHeadline "^[A-Z ]\+[ ]\+\*"me=e-1syn match helpSectionDelim "^=\{3,}.*==$"syn match helpSectionDelim "^-\{3,}.*--$"syn match helpExampleStart "^>" nextgroup=helpExamplesyn match helpExample ".*" containedsyn match helpHyperTextJump "|[#-)!+-~]\+|"syn match helpHyperTextEntry "\*[#-)!+-~]\+\*\s"he=e-1syn match helpHyperTextEntry "\*[#-)!+-~]\+\*$"syn match helpVim "Vim version [0-9.a-z]\+"syn match helpVim "VIM REFERENCE.*"syn match helpOption "'[a-z]\{2,\}'"syn match helpOption "'t_..'"syn match helpHeader ".*\~$"me=e-1 nextgroup=helpIgnoresyn match helpIgnore "." containedsyn keyword helpNote note Note NOTE note: Note: NOTE:syn match helpSpecial "\<N\>"syn match helpSpecial "(N\>"ms=s+1syn match helpSpecial "\[N]"" avoid highlighting N N in help.txtsyn match helpSpecial "N N"he=s+1syn match helpSpecial "Nth"me=e-2syn match helpSpecial "N-1"me=e-2syn match helpSpecial "{[-a-zA-Z0-9'":%#=[\]<>.]\+}"syn match helpSpecial "\s\[[-a-zA-Z0-9_]\{2,}]"ms=s+1syn match helpSpecial "<[-a-zA-Z0-9_]\+>"syn match helpSpecial "<[SCM]-.>"syn match helpSpecial "\[range]"syn match helpSpecial "\[line]"syn match helpSpecial "\[count]"syn match helpSpecial "\[offset]"syn match helpSpecial "\[cmd]"syn match helpSpecial "\[num]"syn match helpSpecial "\[+num]"syn match helpSpecial "\[-num]"syn match helpSpecial "CTRL-."syn match helpSpecial "CTRL-Break"syn match helpSpecial "CTRL-{char}"syn region helpNotVi start="{Vi[: ]" start="{not" start="{only" end="}" contains=helpLeadBlank,helpHyperTextJumpsyn match helpLeadBlank "^\s\+"" 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_help_syntax_inits") if version < 508 let did_help_syntax_inits = 1 command -nargs=+ HiLink hi link <args> else command -nargs=+ HiLink hi def link <args> endif hi link helpExampleStart helpIgnore hi link helpIgnore Ignore hi link helpHyperTextJump Subtitle hi link helpHyperTextEntry String hi link helpHeadline Statement hi link helpHeader PreProc hi link helpSectionDelim PreProc hi link helpVim Identifier hi link helpExample Comment hi link helpOption Type hi link helpNotVi Special hi link helpSpecial Special hi link helpNote Todo hi link Subtitle Identifier delcommand HiLinkendiflet b:current_syntax = "help"" vim: ts=8 sw=2
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -