]> git.madduck.net Git - etc/vim.git/blobdiff - .vim/snippets/vim.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:

vim-snippets enabled
[etc/vim.git] / .vim / snippets / vim.snippets
deleted file mode 100644 (file)
index 64e7807eb4e8082b9464ad18e8e3555e8ca0e002..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1,32 +0,0 @@
-snippet header
-       " File: ${1:`expand('%:t')`}
-       " Author: ${2:`g:snips_author`}
-       " Description: ${3}
-       ${4:" Last Modified: `strftime("%B %d, %Y")`}
-snippet guard
-       if exists('${1:did_`Filename()`}') || &cp${2: || version < 700}
-               finish
-       endif
-       let $1 = 1${3}
-snippet f
-       fun ${1:function_name}(${2})
-               ${3:" code}
-       endf
-snippet for
-       for ${1:needle} in ${2:haystack}
-               ${3:" code}
-       endfor
-snippet wh
-       while ${1:condition}
-               ${2:" code}
-       endw
-snippet if
-       if ${1:condition}
-               ${2:" code}
-       endif
-snippet ife
-       if ${1:condition}
-               ${2}
-       else
-               ${3}
-       endif
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..82ef8b8df3956ec034f1be9bbda98b9d265e4e05
--- /dev/null
@@ -0,0 +1 @@
+/usr/share/vim/addons/snippets/vim.snippets
\ No newline at end of file