1
0
mirror of https://github.com/amix/vimrc synced 2025-06-16 01:25:00 +08:00

Updated plugins

This commit is contained in:
amix
2013-07-17 19:06:05 -04:00
parent 879a7b6bd4
commit a448b32309
85 changed files with 2174 additions and 941 deletions

View File

@ -4,13 +4,13 @@ snippet header
" Description: ${3}
${4:" Last Modified: `strftime("%B %d, %Y")`}
snippet guard
if exists('${1:did_`Filename()`}') || &cp${2: || version < 700}
if exists('${1:did_`vim_snippets#Filename()`}') || &cp${2: || version < 700}
finish
endif
let $1 = 1${3}
snippet f
fun! ${1:`expand('%') =~ 'autoload' ? substitute(matchstr(expand('%:p'),'autoload/\zs.*\ze.vim'),'[/\\]','#','g').'#' : ''`}${2:function_name}(${3})
${4:" code}
${4}
endf
snippet t
try
@ -19,19 +19,25 @@ snippet t
${3}
endtry
snippet for
for ${1:needle} in ${2:haystack}
${3:" code}
for ${1} in ${2}
${3}
endfor
snippet forkv
for [${1},${2}] in items(${3})
${4}
unlet $1 $2
endfor
snippet wh
while ${1:condition}
${2:" code}
while ${1}
${2}
endw
snippet if
if ${1:condition}
${2:" code}
if ${1}
${2}
endif
snippet ife
if ${1:condition}
if ${1}
${2}
else
${3}