Dotfiles for my tiling window manager + terminal workflow.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

21 lines
329 B

snippet forg "Generic for"
for (int i = 0; i < ${1:count}; i++) {
${2}
}
endsnippet
snippet mlc "malloc" i
= malloc(sizeof(${1:type}) * ${2:amt});
endsnippet
snippet stl "strlen"
strlen(${1:var})
endsnippet
snippet scp "strcpy"
strcpy(${1:dest}, ${2:str});
endsnippet
snippet cmt "Line comment" b
/* ${1:text} */
endsnippet