if !exists('g:loaded_snips') || exists('s:did_'.&ft.'_snips') fini en let s:did_{&ft}_snips = 1 " automatically add a closing '/' to the end of xhtml tags let c = &ft == 'xhtml' ? ' /' : '' " Some useful Unicode entities " Non-Breaking Space exe 'Snipp nbs  ' " ← exe 'Snipp left ←' " → exe 'Snipp right →' " ↑ exe 'Snipp up ↑' " ↓ exe 'Snipp down ↓' " ↩ exe 'Snipp return ↩' " ⇤ exe 'Snipp backtab ⇤' " ⇥ exe 'Snipp tab ⇥' " ⇧ exe 'Snipp shift ⇧' " ⌃ exe 'Snipp control ⌃' " ⌅ exe 'Snipp enter ⌅' " ⌘ exe 'Snipp command ⌘' " ⌥ exe 'Snipp option ⌥' " ⌦ exe 'Snipp delete ⌦' " ⌫ exe 'Snipp backspace ⌫' " ⎋ exe 'Snipp escape ⎋' " Generic Doctype exe "Snipp! doctype \"HTML 4.01 Strict\" " exe "Snipp! doctype \"HTML 4.01 Transitional\" " exe "Snipp! doctype \"HTML 5\" " exe "Snipp! doctype \"XHTML 1.0 Frameset\" " exe "Snipp! doctype \"XHTML 1.0 Strict\" " exe "Snipp! doctype \"XHTML 1.0 Transitional\" " exe "Snipp! doctype \"XHTML 1.1\" " " HTML Doctype 4.01 Strict exe "Snipp docts " " HTML Doctype 4.01 Transitional exe "Snipp doct " " HTML Doctype 5 exe 'Snipp doct5 ' " XHTML Doctype 1.0 Frameset exe "Snipp docxf " " XHTML Doctype 1.0 Strict exe "Snipp docxs " " XHTML Doctype 1.0 Transitional exe "Snipp docxt " " XHTML Doctype 1.1 exe "Snipp docx " exe "Snipp html \n${1}\n" exe "Snipp xhtml \n${1}\n" exe "Snipp body \n\t${1}\n" exe "Snipp head \n\t\n\t" \. "${1:`substitute(Filename('', 'Page Title'), '^.', '\\u&', '')`}\n\t${2}\n" exe 'Snipp title ${1:`substitute(Filename("", "Page Title"), "^.", "\\u&", "")`}${2}' exe "Snipp script ${2}" exe "Snipp scriptsrc ${2}" exe "Snipp style ${3}" exe 'Snipp base ' exe 'Snipp r ' exe "Snipp div
\n\t${2}\n
" " Embed QT Movie exe "Snipp movie \n\t\n\t\n\t\n\t\n${6}" exe "Snipp fieldset
\n\t${1:name}\n\n\t${3}\n
" exe "Snipp form
\n\t${3}\n\n\t" \."

\n
" exe 'Snipp h1

${2:$1}

' exe 'Snipp input ${4}' exe 'Snipp label ${7}' exe 'Snipp link ${4}' exe 'Snipp mailto ${3:email me}' exe 'Snipp meta ${3}' exe 'Snipp opt ${3}' exe 'Snipp optt ${2}' exe "Snipp select ${5}" exe "Snipp table \n\t\n\t\n
${2:Header}
${3:Data}
${4}" exe 'Snipp textarea ${5}'