]> git.madduck.net Git - etc/vim.git/blobdiff - .vim/snippets/zsh.snippets

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

enable format_flowed support
[etc/vim.git] / .vim / snippets / zsh.snippets
deleted file mode 100644 (file)
index 7aee05bd247f79a76899a20e76383558ece36630..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1,58 +0,0 @@
-# #!/bin/zsh
-snippet #!
-       #!/bin/zsh
-
-snippet if
-       if ${1:condition}; then
-               ${2:# statements}
-       fi
-snippet ife
-       if ${1:condition}; then
-               ${2:# statements}
-       else
-               ${3:# statements}
-       fi
-snippet elif
-       elif ${1:condition} ; then
-               ${2:# statements}
-snippet for
-       for (( ${2:i} = 0; $2 < ${1:count}; $2++ )); do
-               ${3:# statements}
-       done
-snippet fore
-       for ${1:item} in ${2:list}; do
-               ${3:# statements}
-       done
-snippet wh
-       while ${1:condition}; do
-               ${2:# statements}
-       done
-snippet until
-       until ${1:condition}; do
-               ${2:# statements}
-       done
-snippet repeat
-       repeat ${1:integer}; do
-               ${2:# statements}
-       done
-snippet case
-       case ${1:word} in
-               ${2:pattern})
-                       ${3};;
-       esac
-snippet select
-       select ${1:answer} in ${2:choices}; do
-               ${3:# statements}
-       done
-snippet (
-       ( ${1:#statements} )
-snippet {
-       { ${1:#statements} }
-snippet [
-       [[ ${1:test} ]]
-snippet always
-       { ${1:try} } always { ${2:always} }
-snippet fun
-       function ${1:name} (${2:args}) {
-               ${3:# body}
-       }
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..4d48303e01aece1340ae7ea346c9328dff72a652
--- /dev/null
@@ -0,0 +1 @@
+/usr/share/vim/addons/snippets/zsh.snippets
\ No newline at end of file