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

@ -50,12 +50,19 @@ function ${1:function_name} (${2:argument}) {
}
endsnippet
# for one line if .. else you usually use a ? b : c
snippet ife "if ___ else"
if (${1:true}) {$0} else{};
if (${1}) {
{$2}
} else {
{$3}
};
endsnippet
snippet if "if"
if (${1:true}) {$0};
if (${1}) {
{$2}
};
endsnippet
snippet timeout "setTimeout function"