diff options
| author | verdant <im@verdant.ee> | 2026-05-27 21:49:59 +0800 |
|---|---|---|
| committer | verdant <im@verdant.ee> | 2026-05-27 21:49:59 +0800 |
| commit | 9c9d3c29acc26c69458c2f64eead62418fedf8d6 (patch) | |
| tree | 0992a915a30b779e3d06219fd17be9963c9d944b | |
| parent | 0971bc93a372a7f06e9284f1427a058e2d3fdf58 (diff) | |
| download | vemacs-9c9d3c29acc26c69458c2f64eead62418fedf8d6.tar.gz vemacs-9c9d3c29acc26c69458c2f64eead62418fedf8d6.zip | |
Add snippet templatesmain
- c-mode: main function
- prog-common: My email, My name, My email and name
Templates which is in the directory prog-common will
be shared
| -rw-r--r-- | snippets/c-mode/main | 11 | ||||
| -rw-r--r-- | snippets/c-mode/main~ | 11 | ||||
| -rw-r--r-- | snippets/markdown-mode/.yas-parents | 1 | ||||
| -rw-r--r-- | snippets/org-mode/.yas-parents | 1 | ||||
| -rw-r--r-- | snippets/prog-common/myemail | 5 | ||||
| -rw-r--r-- | snippets/prog-common/myname | 5 | ||||
| -rw-r--r-- | snippets/prog-common/nae | 5 |
7 files changed, 39 insertions, 0 deletions
diff --git a/snippets/c-mode/main b/snippets/c-mode/main new file mode 100644 index 0000000..4ef3d2a --- /dev/null +++ b/snippets/c-mode/main @@ -0,0 +1,11 @@ +# -*- mode: snippet -*- +# name: main +# key: main +# -- + +#include <stdio.h> + +int main(int arc, char** argv) +{ + return 0; +}
\ No newline at end of file diff --git a/snippets/c-mode/main~ b/snippets/c-mode/main~ new file mode 100644 index 0000000..3821a77 --- /dev/null +++ b/snippets/c-mode/main~ @@ -0,0 +1,11 @@ +# -*- mode: snippet -*- +# name: main +# key: main +# -- + +\#include <stdio.h> + +int main(int arc, char** argv) +{ + return 0; +}
\ No newline at end of file diff --git a/snippets/markdown-mode/.yas-parents b/snippets/markdown-mode/.yas-parents new file mode 100644 index 0000000..6c513f9 --- /dev/null +++ b/snippets/markdown-mode/.yas-parents @@ -0,0 +1 @@ +prog-common
\ No newline at end of file diff --git a/snippets/org-mode/.yas-parents b/snippets/org-mode/.yas-parents new file mode 100644 index 0000000..6c513f9 --- /dev/null +++ b/snippets/org-mode/.yas-parents @@ -0,0 +1 @@ +prog-common
\ No newline at end of file diff --git a/snippets/prog-common/myemail b/snippets/prog-common/myemail new file mode 100644 index 0000000..47891ce --- /dev/null +++ b/snippets/prog-common/myemail @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: myemail +# key: myemail +# -- +im@verdant.ee
\ No newline at end of file diff --git a/snippets/prog-common/myname b/snippets/prog-common/myname new file mode 100644 index 0000000..9e6b73c --- /dev/null +++ b/snippets/prog-common/myname @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: myname +# key: myname +# -- +Verdant
\ No newline at end of file diff --git a/snippets/prog-common/nae b/snippets/prog-common/nae new file mode 100644 index 0000000..b3e7542 --- /dev/null +++ b/snippets/prog-common/nae @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: nae +# key: nae +# -- +Verdant <im@verdant.ee> |
