summaryrefslogtreecommitdiff
path: root/.emacs.d/snippets/c-mode
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/snippets/c-mode')
-rw-r--r--.emacs.d/snippets/c-mode/glib_false5
-rw-r--r--.emacs.d/snippets/c-mode/glib_print5
-rw-r--r--.emacs.d/snippets/c-mode/glib_printf5
-rw-r--r--.emacs.d/snippets/c-mode/glib_true5
4 files changed, 20 insertions, 0 deletions
diff --git a/.emacs.d/snippets/c-mode/glib_false b/.emacs.d/snippets/c-mode/glib_false
new file mode 100644
index 0000000..de9015d
--- /dev/null
+++ b/.emacs.d/snippets/c-mode/glib_false
@@ -0,0 +1,5 @@
1# -*- mode: snippet -*-
2# name: glib_false
3# key: GF
4# --
5FALSE \ No newline at end of file
diff --git a/.emacs.d/snippets/c-mode/glib_print b/.emacs.d/snippets/c-mode/glib_print
new file mode 100644
index 0000000..23adaab
--- /dev/null
+++ b/.emacs.d/snippets/c-mode/glib_print
@@ -0,0 +1,5 @@
1# -*- mode: snippet -*-
2# name: glib_print
3# key: gp
4# --
5g_printf("$0"); \ No newline at end of file
diff --git a/.emacs.d/snippets/c-mode/glib_printf b/.emacs.d/snippets/c-mode/glib_printf
new file mode 100644
index 0000000..06107db
--- /dev/null
+++ b/.emacs.d/snippets/c-mode/glib_printf
@@ -0,0 +1,5 @@
1# -*- mode: snippet -*-
2# name: glib_printf
3# key: gpf
4# --
5g_printf("${1:format string}"$2); \ No newline at end of file
diff --git a/.emacs.d/snippets/c-mode/glib_true b/.emacs.d/snippets/c-mode/glib_true
new file mode 100644
index 0000000..0baf8e8
--- /dev/null
+++ b/.emacs.d/snippets/c-mode/glib_true
@@ -0,0 +1,5 @@
1# -*- mode: snippet -*-
2# name: glib_true
3# key: GT
4# --
5TRUE \ No newline at end of file