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

📄 robots.vim

📁 MSYS在windows下模拟了一个类unix的终端
💻 VIM
字号:
" Vim syntax file" Language:	"Robots.txt" files" Robots.txt files indicate to WWW robots which parts of a web site should not be accessed." Maintainer:	Dominique St閜han (dominique@mggen.com)" URL: http://www.mggen.com/vim/syntax/robots.zip" Last change:	2001 May 09" 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" shut case offsyn case ignore" Commentsyn match  robotsComment	"#.*$" contains=robotsUrl,robotsMail,robotsString" Star * (means all spiders)syn match  robotsStar		"\*"" :syn match  robotsDelimiter	":"" The keywords" User-agentsyn match  robotsAgent		"^[Uu][Ss][Ee][Rr]\-[Aa][Gg][Ee][Nn][Tt]"" Disallowsyn match  robotsDisallow	"^[Dd][Ii][Ss][Aa][Ll][Ll][Oo][Ww]"" Disallow: or User-Agent: and the rest of the line before an eventual commentsynt match robotsLine		"\(^[Uu][Ss][Ee][Rr]\-[Aa][Gg][Ee][Nn][Tt]\|^[Dd][Ii][Ss][Aa][Ll][Ll][Oo][Ww]\):[^#]*"	contains=robotsAgent,robotsDisallow,robotsStar,robotsDelimiter" Some frequent things in commentssyn match  robotsUrl		"http[s]\=://\S*"syn match  robotsMail		"\S*@\S*"syn region robotsString		start=+L\="+ skip=+\\\\\|\\"+ end=+"+if version >= 508 || !exists("did_robos_syntax_inits")  if version < 508    let did_robots_syntax_inits = 1    command -nargs=+ HiLink hi link <args>  else    command -nargs=+ HiLink hi def link <args>  endif  HiLink robotsComment		Comment  HiLink robotsAgent		Type  HiLink robotsDisallow		Statement  HiLink robotsLine		Special  HiLink robotsStar		Operator  HiLink robotsDelimiter	Delimiter  HiLink robotsUrl		String  HiLink robotsMail		String  HiLink robotsString		String  delcommand HiLinkendiflet b:current_syntax = "robots"" vim: ts=8 sw=2

⌨️ 快捷键说明

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