diff options
Diffstat (limited to 'yasnippet')
-rw-r--r-- | yasnippet/c-mode/bcom | 5 | ||||
-rw-r--r-- | yasnippet/c-mode/com | 6 | ||||
-rw-r--r-- | yasnippet/c-mode/ndef | 8 | ||||
-rw-r--r-- | yasnippet/c-mode/ts | 8 | ||||
-rw-r--r-- | yasnippet/c-mode/tu | 8 | ||||
-rw-r--r-- | yasnippet/org-mode/align | 8 | ||||
-rw-r--r-- | yasnippet/org-mode/blognew | 21 | ||||
-rw-r--r-- | yasnippet/org-mode/elisp | 7 |
8 files changed, 71 insertions, 0 deletions
diff --git a/yasnippet/c-mode/bcom b/yasnippet/c-mode/bcom new file mode 100644 index 0000000..9b74a91 --- /dev/null +++ b/yasnippet/c-mode/bcom @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: bcom +# key: bcom +# -- +/*! @brief $0 */
\ No newline at end of file diff --git a/yasnippet/c-mode/com b/yasnippet/c-mode/com new file mode 100644 index 0000000..66551f1 --- /dev/null +++ b/yasnippet/c-mode/com @@ -0,0 +1,6 @@ + +# -*- mode: snippet -*- +# name: com +# key: com +# -- +/*! $0 */
\ No newline at end of file diff --git a/yasnippet/c-mode/ndef b/yasnippet/c-mode/ndef new file mode 100644 index 0000000..838829c --- /dev/null +++ b/yasnippet/c-mode/ndef @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: ndef +# key: ndef +# -- +#ifndef $1 +#define $1 +$0 +#endif /* $1 */ diff --git a/yasnippet/c-mode/ts b/yasnippet/c-mode/ts new file mode 100644 index 0000000..2152ca2 --- /dev/null +++ b/yasnippet/c-mode/ts @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: ts +# key: ts +# -- +/*! @brief $3 */ +typedef struct $1 { + $0 +} $2;
\ No newline at end of file diff --git a/yasnippet/c-mode/tu b/yasnippet/c-mode/tu new file mode 100644 index 0000000..df97bd2 --- /dev/null +++ b/yasnippet/c-mode/tu @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: tu +# key: tu +# -- +/*! @brief $3 */ +typedef union $1 { + $0 +} $2;
\ No newline at end of file diff --git a/yasnippet/org-mode/align b/yasnippet/org-mode/align new file mode 100644 index 0000000..e387d90 --- /dev/null +++ b/yasnippet/org-mode/align @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: align +# key: align +# -- + +\begin{align} + $0 +\end{align}
\ No newline at end of file diff --git a/yasnippet/org-mode/blognew b/yasnippet/org-mode/blognew new file mode 100644 index 0000000..260e7de --- /dev/null +++ b/yasnippet/org-mode/blognew @@ -0,0 +1,21 @@ +# -*- mode: snippet -*- +# name: blognew +# key: blognew +# -- +#+title: $1 +#+author: Preston Pan +#+description: $2 +#+html_head: <link rel="stylesheet" type="text/css" href="../style.css" /> +#+html_head: <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"> +#+html_head: <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"> +#+html_head: <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"> +#+html_head: <link rel="manifest" href="/site.webmanifest"> +#+html_head: <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5"> +#+html_head: <meta name="msapplication-TileColor" content="#da532c"> +#+html_head: <meta name="theme-color" content="#ffffff"> +#+html_head: <meta name="viewport" content="width=1000; user-scalable=0;" /> +#+language: en +#+OPTIONS: broken-links:t + +* Introduction +$0
\ No newline at end of file diff --git a/yasnippet/org-mode/elisp b/yasnippet/org-mode/elisp new file mode 100644 index 0000000..43a6eb6 --- /dev/null +++ b/yasnippet/org-mode/elisp @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: elisp +# key: elisp +# -- +#+begin_src emacs-lisp :exports both +$0 +#+end_src |