Merge with UltiSnips repo (added fnct to merge)

- UltiSnips: Moved alias snippets from sh to all.

- Aliases: Snippet, commit message.
- Vim: Map fold method, preview and line break to leader keys.
This commit is contained in:
2018-02-04 14:38:17 -05:00
13 changed files with 126 additions and 25 deletions

21
UltiSnips/c.snippets Normal file
View File

@@ -0,0 +1,21 @@
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