From 93197e7c16744df8869ba452a2514db68547bcc0 Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Wed, 14 Oct 2015 17:34:34 +0100 Subject: [PATCH] Add vim snippets for redmine filetype --- UltiSnips/redmine.snippets | 144 +++++++++++++++++++++++++++++++++++++ 1 file changed, 144 insertions(+) create mode 100644 UltiSnips/redmine.snippets diff --git a/UltiSnips/redmine.snippets b/UltiSnips/redmine.snippets new file mode 100644 index 0000000..09f5db7 --- /dev/null +++ b/UltiSnips/redmine.snippets @@ -0,0 +1,144 @@ +snippet issue "Issue Link" +#${1:id}${2:!#note-${3:id}}$0 +endsnippet + +snippet link "Link" +"${2:name}":${3:url}$0 +endsnippet + +snippet email "Email Link" +"${1:name}":mailto:${2:email}$0 +endsnippet + +snippet acronym "Acronym" +${1:acronym}(${2:meaning})$0 +endsnippet +snippet acr "Acronym" +${1:acronym}(${2:meaning})$0 +endsnippet + +snippet bold "Bold" +*$1*$0 +endsnippet +snippet b "Bold" +*$1*$0 +endsnippet + +snippet italic "Italic" +_$1_$0 +endsnippet +snippet i "Italic" +_$1_$0 +endsnippet + +snippet bolditalic "Bold Italic" +*_$1_*$0 +endsnippet +snippet bi "Bold Italic" +*_$1_*$0 +endsnippet + +snippet strike "Strike-through" +-$1-$0 +endsnippet + +snippet super "Superscript" +^$1^$0 +endsnippet + +snippet sub "Supscript" +~$1~$0 +endsnippet + +snippet mono "Inline Monospace" +@$1@$0 +endsnippet +snippet m "Inline Monospace" +@$1@$0 +endsnippet +snippet f "Inline Monospace" +@$1@$0 +endsnippet + +snippet red "Red Color" +%{color:red}${1:text}%$0 +endsnippet +snippet lred "Red Color" +%{color:lightred}${1:text}%$0 +endsnippet + +snippet green "Green Color" +%{color:green}${1:text}%$0 +endsnippet +snippet lgreen "Light Green Color" +%{color:green}${1:text}%$0 +endsnippet + +snippet blue "Blue Color" +%{color:blue}${1:text}%$0 +endsnippet +snippet lblue "Light Blue Color" +%{color:lightblue}${1:text}%$0 +endsnippet + +snippet yellow "Yellow Color" +%{color:yellow}${1:text}%$0 +endsnippet +snippet lyellow "Light Yellow Color" +%{color:lightyellow}${1:text}%$0 +endsnippet + +snippet bred "Red Background Color" +%{background:red}${1:text}%$0 +endsnippet +snippet lbred "Light Red Background Color" +%{background:red}${1:text}%$0 +endsnippet + +snippet bgreen "Green Background Color" +%{background:green}${1:text}%$0 +endsnippet +snippet lbgreen "Light Green Background Color" +%{background:green}${1:text}%$0 +endsnippet + +snippet bblue "Blue Background Color" +%{background:blue}${1:text}%$0 +endsnippet +snippet lbblue "Light Blue Background Color" +%{background:lightblue}${1:text}%$0 +endsnippet + +snippet byellow "Yellow Background Color" +%{background:yellow}${1:text}%$0 +endsnippet +snippet blyellow "Light Yellow Background Color" +%{background:lightyellow}${1:text}%$0 +endsnippet + +snippet # "Heading 1" b +h1. $0 +endsnippet + +snippet ## "Heading 2" b +h2. $0 +endsnippet + +snippet ### "Heading 3" b +h3. $0 +endsnippet + +snippet rule "Horizontal Rule" b +---- +$0 +endsnippet + +snippet pre "Predefined Block" b +
$0
+endsnippet + +snippet code "Monospace Block" b +

+$0
+
+endsnippet