]> git.r.bdr.sh - rbdr/dotfiles/blame_incremental - vim/snippets/vim.snippets
Updates powerline installation data
[rbdr/dotfiles] / vim / snippets / vim.snippets
... / ...
CommitLineData
1snippet header
2 " File: ${1:`expand('%:t')`}
3 " Author: ${2:`g:snips_author`}
4 " Description: ${3}
5 ${4:" Last Modified: `strftime("%B %d, %Y")`}
6snippet guard
7 if exists('${1:did_`Filename()`}') || &cp${2: || version < 700}
8 finish
9 endif
10 let $1 = 1${3}
11snippet f
12 fun ${1:function_name}(${2})
13 ${3:" code}
14 endf
15snippet for
16 for ${1:needle} in ${2:haystack}
17 ${3:" code}
18 endfor
19snippet wh
20 while ${1:condition}
21 ${2:" code}
22 endw
23snippet if
24 if ${1:condition}
25 ${2:" code}
26 endif
27snippet ife
28 if ${1:condition}
29 ${2}
30 else
31 ${3}
32 endif