diff --git a/configs/shared/emacs/.emacs.d/snippets/c-mode/stdio b/configs/shared/emacs/.emacs.d/snippets/c-mode/stdio new file mode 100644 index 000000000..52bc717e4 --- /dev/null +++ b/configs/shared/emacs/.emacs.d/snippets/c-mode/stdio @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: +# key: sio +# -- +#include \ No newline at end of file diff --git a/configs/shared/emacs/.emacs.d/snippets/c-mode/stdlib b/configs/shared/emacs/.emacs.d/snippets/c-mode/stdlib new file mode 100644 index 000000000..5d44e8ed7 --- /dev/null +++ b/configs/shared/emacs/.emacs.d/snippets/c-mode/stdlib @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: +# key: slb +# -- +#include \ No newline at end of file diff --git a/configs/shared/emacs/.emacs.d/snippets/html-mode/index-boilerplate b/configs/shared/emacs/.emacs.d/snippets/html-mode/index-boilerplate new file mode 100644 index 000000000..3cea6ce00 --- /dev/null +++ b/configs/shared/emacs/.emacs.d/snippets/html-mode/index-boilerplate @@ -0,0 +1,18 @@ +# -*- mode: snippet -*- +# name: HTML index.html starter +# key: html +# -- + + + + + + $1 + + + + + + + + \ No newline at end of file diff --git a/configs/shared/emacs/.emacs.d/snippets/nix-mode/shell-nix b/configs/shared/emacs/.emacs.d/snippets/nix-mode/shell-nix new file mode 100644 index 000000000..4c308bb51 --- /dev/null +++ b/configs/shared/emacs/.emacs.d/snippets/nix-mode/shell-nix @@ -0,0 +1,12 @@ +# -*- mode: snippet -*- +# name: shell.nix boilerplate +# key: import +# -- +with import {}; + +stdenv.mkDerivation { + name = "$1"; + buildInputs = [ + $2 + ]; +} \ No newline at end of file diff --git a/configs/shared/emacs/.emacs.d/snippets/web-mode/index-boilerplate b/configs/shared/emacs/.emacs.d/snippets/web-mode/index-boilerplate new file mode 100644 index 000000000..b791cdf86 --- /dev/null +++ b/configs/shared/emacs/.emacs.d/snippets/web-mode/index-boilerplate @@ -0,0 +1,18 @@ +# -*- mode: snippet -*- +# name: HTML index.html starter +# key: html +# -- + + + + + + $1 + + + + + + + +