From 6bdf6db3b453cff3a3f46f1b8f33cac6426f98ac Mon Sep 17 00:00:00 2001 From: dx Date: Wed, 15 Jul 2020 15:56:08 +0100 Subject: ~~/.doom.d -> ~/.config/doom --- Doom/.config/doom/snippets/c++-mode/For_reverse | 7 +++++++ .../doom/snippets/csharp-mode/class ... { ... } | 9 +++++++++ Doom/.config/doom/snippets/csharp-mode/foreach | 9 +++++++++ Doom/.config/doom/snippets/csharp-mode/method | 8 ++++++++ Doom/.config/doom/snippets/csharp-mode/params | 6 ++++++ Doom/.config/doom/snippets/csharp-mode/prop | 6 ++++++ Doom/.config/doom/snippets/csharp-mode/returns | 5 +++++ Doom/.config/doom/snippets/org-mode/author | 5 +++++ Doom/.config/doom/snippets/org-mode/date | 5 +++++ Doom/.config/doom/snippets/org-mode/description | 5 +++++ Doom/.config/doom/snippets/org-mode/img | 10 ++++++++++ Doom/.config/doom/snippets/org-mode/include | 5 +++++ Doom/.config/doom/snippets/org-mode/review | 14 ++++++++++++++ Doom/.config/doom/snippets/org-mode/title | 5 +++++ Doom/.config/doom/snippets/web-mode/New component | 19 +++++++++++++++++++ 15 files changed, 118 insertions(+) create mode 100644 Doom/.config/doom/snippets/c++-mode/For_reverse create mode 100644 Doom/.config/doom/snippets/csharp-mode/class ... { ... } create mode 100644 Doom/.config/doom/snippets/csharp-mode/foreach create mode 100644 Doom/.config/doom/snippets/csharp-mode/method create mode 100644 Doom/.config/doom/snippets/csharp-mode/params create mode 100644 Doom/.config/doom/snippets/csharp-mode/prop create mode 100644 Doom/.config/doom/snippets/csharp-mode/returns create mode 100644 Doom/.config/doom/snippets/org-mode/author create mode 100644 Doom/.config/doom/snippets/org-mode/date create mode 100644 Doom/.config/doom/snippets/org-mode/description create mode 100644 Doom/.config/doom/snippets/org-mode/img create mode 100644 Doom/.config/doom/snippets/org-mode/include create mode 100644 Doom/.config/doom/snippets/org-mode/review create mode 100644 Doom/.config/doom/snippets/org-mode/title create mode 100644 Doom/.config/doom/snippets/web-mode/New component (limited to 'Doom/.config/doom/snippets') diff --git a/Doom/.config/doom/snippets/c++-mode/For_reverse b/Doom/.config/doom/snippets/c++-mode/For_reverse new file mode 100644 index 0000000..6dd5f56 --- /dev/null +++ b/Doom/.config/doom/snippets/c++-mode/For_reverse @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: For_reverse +# key: forr +# -- +for (${1:int} ${2:i} = ${3:sz}; $2 >= ${4:0}; --$2) { + $0 +} \ No newline at end of file diff --git a/Doom/.config/doom/snippets/csharp-mode/class ... { ... } b/Doom/.config/doom/snippets/csharp-mode/class ... { ... } new file mode 100644 index 0000000..5e96938 --- /dev/null +++ b/Doom/.config/doom/snippets/csharp-mode/class ... { ... } @@ -0,0 +1,9 @@ +# -*- mode: snippet -*- +# name: class ... { ... } +# key: class +# -- + +${1:public} class ${2:Name} +{ + $0 +} diff --git a/Doom/.config/doom/snippets/csharp-mode/foreach b/Doom/.config/doom/snippets/csharp-mode/foreach new file mode 100644 index 0000000..220fcd9 --- /dev/null +++ b/Doom/.config/doom/snippets/csharp-mode/foreach @@ -0,0 +1,9 @@ +# -*- mode: snippet -*- +# name: Foreach loop +# key: foreach +# condition: t +# -- +foreach (${1:var} ${2:i} in ${3:collection}) +{ + $0 +} diff --git a/Doom/.config/doom/snippets/csharp-mode/method b/Doom/.config/doom/snippets/csharp-mode/method new file mode 100644 index 0000000..a2aaf6b --- /dev/null +++ b/Doom/.config/doom/snippets/csharp-mode/method @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: public void Method { ... } +# key: method +# -- +${1:public} ${2:void} ${3:Method}(${4:int x}) +{ + ${0:return x;} +} diff --git a/Doom/.config/doom/snippets/csharp-mode/params b/Doom/.config/doom/snippets/csharp-mode/params new file mode 100644 index 0000000..b781710 --- /dev/null +++ b/Doom/.config/doom/snippets/csharp-mode/params @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: /// ... +# key: comment +# -- + +/// $0 \ No newline at end of file diff --git a/Doom/.config/doom/snippets/csharp-mode/prop b/Doom/.config/doom/snippets/csharp-mode/prop new file mode 100644 index 0000000..eb2969e --- /dev/null +++ b/Doom/.config/doom/snippets/csharp-mode/prop @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: property ... ... { ... } +# key: prop +# condition: t +# -- +public ${1:int} ${2:property} { get; set; }$0 \ No newline at end of file diff --git a/Doom/.config/doom/snippets/csharp-mode/returns b/Doom/.config/doom/snippets/csharp-mode/returns new file mode 100644 index 0000000..dee5e8d --- /dev/null +++ b/Doom/.config/doom/snippets/csharp-mode/returns @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: /// ... +# key: comment +# -- +/// $0 \ No newline at end of file diff --git a/Doom/.config/doom/snippets/org-mode/author b/Doom/.config/doom/snippets/org-mode/author new file mode 100644 index 0000000..3da977e --- /dev/null +++ b/Doom/.config/doom/snippets/org-mode/author @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: author +# key: +$0 \ No newline at end of file diff --git a/Doom/.config/doom/snippets/org-mode/include b/Doom/.config/doom/snippets/org-mode/include new file mode 100644 index 0000000..4938877 --- /dev/null +++ b/Doom/.config/doom/snippets/org-mode/include @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: include +# key: + $0 + + ) + } +} + +export default $1 \ No newline at end of file -- cgit v1.2.3-13-gbd6f