📄 firestorm.vim
字号:
" Vim syntax file" Language: Firestorm config file" Maintainer: Gianni Tedesco <gianni@scaramanga.co.uk>" Last Change: $Id: firestorm.vim,v 1.5 2002/12/10 22:43:40 scara Exp $" Quit when a syntax file was already loadedif exists("b:current_syntax") finishendif" File namesyn match firestormAction "firestorm\.conf"" firestorm.conf syntax is case sensitivesyn case match" Comment stuffsyn keyword firestormTodo contained TODOsyn keyword firestormIndoc contained SYNOPSIS SYNTAX NOTESsyn match firestormComment "#.*$" contains=firestormTodo,firestormIndoc" General variables etc..syn match firestormBool "\<yes\>"syn match firestormBool "\<no\>"syn match firestormNumber "\<\d\+\>"syn match firestormIP "\<\d\{1,3}\.\d\{1,3}\.\d\{1,3}\.\d\{1,3}\>"syn match firestormVer "\<\d\+\>\.\<\d\+\>"" Generic keywordssyn keyword firestormConf load_plugins load_plugin requiresyn keyword firestormConf firestorm_root chrootsyn keyword firestormConf effective_uid effective_gidsyn keyword firestormConf logfilesyn match fCapStart skipwhite "^capture\s" nextgroup=fCapType skipwhitesyn region fCapType contained oneline start="." end="\s"he=s-1 nextgroup=fCapF skipwhitesyn region fCapF contained oneline start="." end="$" keepend skipwhitehi def link fCapstart Keywordhi def link fCapType Type" Signaturessyn match fSigStart skipwhite "^signatures\s" nextgroup=fCapType skipwhitehi def link fSigStart Keyword" Preprocessorssyn match fPreStart skipwhite "^preprocessor\s" nextgroup=fCapType skipwhitehi def link fPreStart Keyword" Output directorysyn match fOutStart skipwhite "^output\s" nextgroup=fCapF skipwhitehi def link fOutStart Keyword" The default highlighting.hi def link firestormTodo Todohi def link firestormIndoc Functionhi def link firestormComment Commenthi def link firestormAction Stringhi def link firestormNumber Numberhi def link firestormBool Numberhi def link firestormIP Numberhi def link firestormVer Numberhi def link firestormConf Keywordlet b:current_syntax = "firestorm"" vim: ts=8
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -