diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2016-02-04 02:19:19 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2016-02-04 02:19:19 +0100 |
commit | ccac5d47bec254a902f8c467c21bba53f41c47b1 (patch) | |
tree | 9cd8ea3f9da7e030b14e8db98a69318b2bb44aa3 | |
parent | dd3dff6eebcd8fb14d8ba9b0666365bea62e5d81 (diff) | |
download | emacs-ccac5d47bec254a902f8c467c21bba53f41c47b1.tar.gz emacs-ccac5d47bec254a902f8c467c21bba53f41c47b1.tar.xz emacs-ccac5d47bec254a902f8c467c21bba53f41c47b1.zip |
More personal snippets
-rw-r--r-- | snippets/c++-mode/noncopyable.yasnippet | 8 | ||||
-rw-r--r-- | snippets/emacs-lisp-mode/folding-block.yasnippet | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/snippets/c++-mode/noncopyable.yasnippet b/snippets/c++-mode/noncopyable.yasnippet new file mode 100644 index 0000000..5a77377 --- /dev/null +++ b/snippets/c++-mode/noncopyable.yasnippet @@ -0,0 +1,8 @@ +# -*- mode: snippet; require-final-newline: nil -*- +# name: noncopyable +# key: noncopyable +# binding: direct-keybinding +# -- +/* no copies */ +$1(const $1&) = delete; +$1& operator=(const $1&) = delete;
\ No newline at end of file diff --git a/snippets/emacs-lisp-mode/folding-block.yasnippet b/snippets/emacs-lisp-mode/folding-block.yasnippet new file mode 100644 index 0000000..6eeb651 --- /dev/null +++ b/snippets/emacs-lisp-mode/folding-block.yasnippet @@ -0,0 +1,8 @@ +# -*- mode: snippet; require-final-newline: nil -*- +# name: folding-block +# key: {{ +# binding: direct-keybinding +# -- +;;{{{ $1 +$0 +;;}}}
\ No newline at end of file |