You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
1.1 KiB
Plaintext
62 lines
1.1 KiB
Plaintext
11 years ago
|
priority -50
|
||
|
|
||
|
###########################################################################
|
||
|
# General Stuff #
|
||
|
###########################################################################
|
||
|
snippet part "Part" b
|
||
|
`!p snip.rv = len(t[1])*'#'`
|
||
|
${1:Part name}
|
||
|
`!p snip.rv = len(t[1])*'#'`
|
||
|
|
||
|
$0
|
||
|
endsnippet
|
||
|
|
||
|
snippet sec "Section" b
|
||
|
${1:Section name}
|
||
|
`!p snip.rv = len(t[1])*'='`
|
||
|
|
||
|
$0
|
||
|
endsnippet
|
||
|
|
||
|
snippet ssec "Subsection" b
|
||
|
${1:Section name}
|
||
|
`!p snip.rv = len(t[1])*'-'`
|
||
|
|
||
|
$0
|
||
|
endsnippet
|
||
|
|
||
|
snippet sssec "Subsubsection" b
|
||
|
${1:Section name}
|
||
|
`!p snip.rv = len(t[1])*'^'`
|
||
|
|
||
|
$0
|
||
|
endsnippet
|
||
|
|
||
|
snippet chap "Chapter" b
|
||
|
`!p snip.rv = len(t[1])*'*'`
|
||
|
${1:Chapter name}
|
||
|
`!p snip.rv = len(t[1])*'*'`
|
||
|
|
||
|
$0
|
||
|
endsnippet
|
||
|
|
||
|
snippet para "Paragraph" b
|
||
|
${1:Paragraph name}
|
||
|
`!p snip.rv = len(t[1])*'"'`
|
||
|
|
||
|
$0
|
||
|
endsnippet
|
||
|
|
||
|
###########################################################################
|
||
|
# More Specialized Stuff. #
|
||
|
###########################################################################
|
||
|
snippet cb "Code Block" b
|
||
|
.. code-block:: ${1:lua}
|
||
|
|
||
|
${2:code}
|
||
|
|
||
|
$0
|
||
|
endsnippet
|
||
|
|
||
|
# vim:ft=snippets:
|