1
0
mirror of https://github.com/gryf/snipmate.vim.git synced 2025-12-27 17:02:36 +01:00

Version 0.61803399 (first commit)

This commit is contained in:
Michael
2009-02-16 21:11:41 -05:00
parent 2a9c9acd97
commit 9707a70f85
15 changed files with 1352 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
if !exists('loaded_snips') || exists('b:did_sh_snips')
fini
en
let b:did_sh_snips = 1
exe "Snipp if if [[ ${1:condition} ]]; then\n\t${2:#statements}\nfi"
exe "Snipp elif elif [[ ${1:condition} ]]; then\n\t${2:#statements}"
exe "Snipp for for (( ${2:i} = 0; $2 < ${1:count}; $2++ )); do\n\t${3:#statements}\ndone"
exe "Snipp wh while [[ ${1:condition} ]]; do\n\t${2:#statements}\ndone"
exe "Snipp until [[ ${1:condition} ]]; do\n\t${2:#statements}\ndone"
exe "Snipp case case ${1:word} in\n\t${2:pattern})\n\t\t${3};;\nesac"