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

View File

@@ -30,10 +30,17 @@ c9i() { gc9 $1 && ./"${1%.*}.out" < $2 ; }
# compile and run with input file
run() {
while read line; do
./$1 $line
done < $2
# ./$1.out $line
echo ./$1.out $line
done < $1.in
}
# temp
c4g() {
gcc -Wall -std=gnu99 -g -o greeting.out greeting.c
./greeting.out "Good morning" "Emmanuel"
}
# compile a1p2 and test with simple case
ca12() {
gcc -Wall -std=gnu99 -g -o validate_sin.out validate_sin.c sin_helpers.c