diff --git a/.emacs.d/ac-comphist.dat b/.emacs.d/ac-comphist.dat deleted file mode 100644 index 35eafff..0000000 --- a/.emacs.d/ac-comphist.dat +++ /dev/null @@ -1 +0,0 @@ -(nil) diff --git a/.emacs.d/snippets/antlr-mode/project b/.emacs.d/snippets/antlr-mode/project deleted file mode 100644 index 0588eb9..0000000 --- a/.emacs.d/snippets/antlr-mode/project +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: project -# key: proj -# -- - - -$0 - \ No newline at end of file diff --git a/.emacs.d/snippets/antlr-mode/property b/.emacs.d/snippets/antlr-mode/property deleted file mode 100644 index 6086cf1..0000000 --- a/.emacs.d/snippets/antlr-mode/property +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: property -# key: prop -# -- - -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/antlr-mode/target b/.emacs.d/snippets/antlr-mode/target deleted file mode 100644 index c42110d..0000000 --- a/.emacs.d/snippets/antlr-mode/target +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: target -# key: target -# -- - - $0 - \ No newline at end of file diff --git a/.emacs.d/snippets/apples-mode/.yas-parents b/.emacs.d/snippets/apples-mode/.yas-parents deleted file mode 100644 index 0539988..0000000 --- a/.emacs.d/snippets/apples-mode/.yas-parents +++ /dev/null @@ -1 +0,0 @@ -prog-mode \ No newline at end of file diff --git a/.emacs.d/snippets/apples-mode/comment b/.emacs.d/snippets/apples-mode/comment deleted file mode 100644 index d3e9f36..0000000 --- a/.emacs.d/snippets/apples-mode/comment +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: comment -# -- -(* -$0 -*) \ No newline at end of file diff --git a/.emacs.d/snippets/apples-mode/considering b/.emacs.d/snippets/apples-mode/considering deleted file mode 100644 index 2abb8ff..0000000 --- a/.emacs.d/snippets/apples-mode/considering +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: considering -# -- -considering $1 -$0 -end considering \ No newline at end of file diff --git a/.emacs.d/snippets/apples-mode/considering-application-responses b/.emacs.d/snippets/apples-mode/considering-application-responses deleted file mode 100644 index 36e6db1..0000000 --- a/.emacs.d/snippets/apples-mode/considering-application-responses +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: considering-application-responses -# -- -considering application responses -$0 -end considering \ No newline at end of file diff --git a/.emacs.d/snippets/apples-mode/display-dialog b/.emacs.d/snippets/apples-mode/display-dialog deleted file mode 100644 index ee84626..0000000 --- a/.emacs.d/snippets/apples-mode/display-dialog +++ /dev/null @@ -1,4 +0,0 @@ -# -*- mode: snippet -*- -# name: display-dialog -# -- -display dialog "$0" \ No newline at end of file diff --git a/.emacs.d/snippets/apples-mode/if b/.emacs.d/snippets/apples-mode/if deleted file mode 100644 index 404a358..0000000 --- a/.emacs.d/snippets/apples-mode/if +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: if -# -- -if $1 then -$2 -else -$0 -end if \ No newline at end of file diff --git a/.emacs.d/snippets/apples-mode/ignoring b/.emacs.d/snippets/apples-mode/ignoring deleted file mode 100644 index 8dd8e03..0000000 --- a/.emacs.d/snippets/apples-mode/ignoring +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: ignoring -# -- -ignoring $1 -$0 -end ignoring \ No newline at end of file diff --git a/.emacs.d/snippets/apples-mode/ignoring-application-responses b/.emacs.d/snippets/apples-mode/ignoring-application-responses deleted file mode 100644 index 4624d81..0000000 --- a/.emacs.d/snippets/apples-mode/ignoring-application-responses +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: ignoring-application-responses -# -- -ignoring application responses -$0 -end ignoring \ No newline at end of file diff --git a/.emacs.d/snippets/apples-mode/on b/.emacs.d/snippets/apples-mode/on deleted file mode 100644 index 81db8dc..0000000 --- a/.emacs.d/snippets/apples-mode/on +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: on -# -- -on $1 -$0 -end $1 \ No newline at end of file diff --git a/.emacs.d/snippets/apples-mode/repeat b/.emacs.d/snippets/apples-mode/repeat deleted file mode 100644 index fb9ab59..0000000 --- a/.emacs.d/snippets/apples-mode/repeat +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: repeat -# -- -repeat $1 -$0 -end repeat \ No newline at end of file diff --git a/.emacs.d/snippets/apples-mode/repeat-until b/.emacs.d/snippets/apples-mode/repeat-until deleted file mode 100644 index dd15568..0000000 --- a/.emacs.d/snippets/apples-mode/repeat-until +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: repeat-until -# -- -repeat until $1 -$0 -end repeat \ No newline at end of file diff --git a/.emacs.d/snippets/apples-mode/repeat-while b/.emacs.d/snippets/apples-mode/repeat-while deleted file mode 100644 index 97daf98..0000000 --- a/.emacs.d/snippets/apples-mode/repeat-while +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: repeat-while -# -- -repeat while $1 -$0 -end repeat \ No newline at end of file diff --git a/.emacs.d/snippets/apples-mode/repeat-with b/.emacs.d/snippets/apples-mode/repeat-with deleted file mode 100644 index e672d98..0000000 --- a/.emacs.d/snippets/apples-mode/repeat-with +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: repeat-with -# -- -repeat with $1 -$0 -end repeat \ No newline at end of file diff --git a/.emacs.d/snippets/apples-mode/tell-application b/.emacs.d/snippets/apples-mode/tell-application deleted file mode 100644 index b391385..0000000 --- a/.emacs.d/snippets/apples-mode/tell-application +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: tell-application -# -- -tell application "$1" -$0 -end tell \ No newline at end of file diff --git a/.emacs.d/snippets/apples-mode/tell-application-to-activate b/.emacs.d/snippets/apples-mode/tell-application-to-activate deleted file mode 100644 index c124bd0..0000000 --- a/.emacs.d/snippets/apples-mode/tell-application-to-activate +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: tell-application-to-activate -# -- -tell application "$1" to activate -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/apples-mode/try b/.emacs.d/snippets/apples-mode/try deleted file mode 100644 index 4213089..0000000 --- a/.emacs.d/snippets/apples-mode/try +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: try -# -- -try -$1 -on error $2 -$0 -end try \ No newline at end of file diff --git a/.emacs.d/snippets/apples-mode/using-terms-from-application b/.emacs.d/snippets/apples-mode/using-terms-from-application deleted file mode 100644 index 2b1128b..0000000 --- a/.emacs.d/snippets/apples-mode/using-terms-from-application +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: using-terms-from-application -# -- -using terms from application "$1" -$0 -end using terms from \ No newline at end of file diff --git a/.emacs.d/snippets/apples-mode/with-timeout-of-seconds b/.emacs.d/snippets/apples-mode/with-timeout-of-seconds deleted file mode 100644 index 4f56eb5..0000000 --- a/.emacs.d/snippets/apples-mode/with-timeout-of-seconds +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: with-timeout-of-seconds -# -- -with timeout of $1 seconds -$0 -end timeout \ No newline at end of file diff --git a/.emacs.d/snippets/apples-mode/with-transaction b/.emacs.d/snippets/apples-mode/with-transaction deleted file mode 100644 index c675d3b..0000000 --- a/.emacs.d/snippets/apples-mode/with-transaction +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: with-transaction -# -- -with transaction -$0 -end transaction \ No newline at end of file diff --git a/.emacs.d/snippets/applescript-mode/.yas-parents b/.emacs.d/snippets/applescript-mode/.yas-parents deleted file mode 100644 index 0539988..0000000 --- a/.emacs.d/snippets/applescript-mode/.yas-parents +++ /dev/null @@ -1 +0,0 @@ -prog-mode \ No newline at end of file diff --git a/.emacs.d/snippets/applescript-mode/comment b/.emacs.d/snippets/applescript-mode/comment deleted file mode 100644 index d3e9f36..0000000 --- a/.emacs.d/snippets/applescript-mode/comment +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: comment -# -- -(* -$0 -*) \ No newline at end of file diff --git a/.emacs.d/snippets/applescript-mode/considering b/.emacs.d/snippets/applescript-mode/considering deleted file mode 100644 index 2abb8ff..0000000 --- a/.emacs.d/snippets/applescript-mode/considering +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: considering -# -- -considering $1 -$0 -end considering \ No newline at end of file diff --git a/.emacs.d/snippets/applescript-mode/considering-application-responses b/.emacs.d/snippets/applescript-mode/considering-application-responses deleted file mode 100644 index 36e6db1..0000000 --- a/.emacs.d/snippets/applescript-mode/considering-application-responses +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: considering-application-responses -# -- -considering application responses -$0 -end considering \ No newline at end of file diff --git a/.emacs.d/snippets/applescript-mode/display-dialog b/.emacs.d/snippets/applescript-mode/display-dialog deleted file mode 100644 index ee84626..0000000 --- a/.emacs.d/snippets/applescript-mode/display-dialog +++ /dev/null @@ -1,4 +0,0 @@ -# -*- mode: snippet -*- -# name: display-dialog -# -- -display dialog "$0" \ No newline at end of file diff --git a/.emacs.d/snippets/applescript-mode/if b/.emacs.d/snippets/applescript-mode/if deleted file mode 100644 index 404a358..0000000 --- a/.emacs.d/snippets/applescript-mode/if +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: if -# -- -if $1 then -$2 -else -$0 -end if \ No newline at end of file diff --git a/.emacs.d/snippets/applescript-mode/ignoring b/.emacs.d/snippets/applescript-mode/ignoring deleted file mode 100644 index 8dd8e03..0000000 --- a/.emacs.d/snippets/applescript-mode/ignoring +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: ignoring -# -- -ignoring $1 -$0 -end ignoring \ No newline at end of file diff --git a/.emacs.d/snippets/applescript-mode/ignoring-application-responses b/.emacs.d/snippets/applescript-mode/ignoring-application-responses deleted file mode 100644 index 4624d81..0000000 --- a/.emacs.d/snippets/applescript-mode/ignoring-application-responses +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: ignoring-application-responses -# -- -ignoring application responses -$0 -end ignoring \ No newline at end of file diff --git a/.emacs.d/snippets/applescript-mode/on b/.emacs.d/snippets/applescript-mode/on deleted file mode 100644 index 81db8dc..0000000 --- a/.emacs.d/snippets/applescript-mode/on +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: on -# -- -on $1 -$0 -end $1 \ No newline at end of file diff --git a/.emacs.d/snippets/applescript-mode/repeat b/.emacs.d/snippets/applescript-mode/repeat deleted file mode 100644 index fb9ab59..0000000 --- a/.emacs.d/snippets/applescript-mode/repeat +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: repeat -# -- -repeat $1 -$0 -end repeat \ No newline at end of file diff --git a/.emacs.d/snippets/applescript-mode/repeat-until b/.emacs.d/snippets/applescript-mode/repeat-until deleted file mode 100644 index dd15568..0000000 --- a/.emacs.d/snippets/applescript-mode/repeat-until +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: repeat-until -# -- -repeat until $1 -$0 -end repeat \ No newline at end of file diff --git a/.emacs.d/snippets/applescript-mode/repeat-while b/.emacs.d/snippets/applescript-mode/repeat-while deleted file mode 100644 index 97daf98..0000000 --- a/.emacs.d/snippets/applescript-mode/repeat-while +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: repeat-while -# -- -repeat while $1 -$0 -end repeat \ No newline at end of file diff --git a/.emacs.d/snippets/applescript-mode/repeat-with b/.emacs.d/snippets/applescript-mode/repeat-with deleted file mode 100644 index e672d98..0000000 --- a/.emacs.d/snippets/applescript-mode/repeat-with +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: repeat-with -# -- -repeat with $1 -$0 -end repeat \ No newline at end of file diff --git a/.emacs.d/snippets/applescript-mode/tell-application b/.emacs.d/snippets/applescript-mode/tell-application deleted file mode 100644 index b391385..0000000 --- a/.emacs.d/snippets/applescript-mode/tell-application +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: tell-application -# -- -tell application "$1" -$0 -end tell \ No newline at end of file diff --git a/.emacs.d/snippets/applescript-mode/tell-application-to-activate b/.emacs.d/snippets/applescript-mode/tell-application-to-activate deleted file mode 100644 index c124bd0..0000000 --- a/.emacs.d/snippets/applescript-mode/tell-application-to-activate +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: tell-application-to-activate -# -- -tell application "$1" to activate -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/applescript-mode/try b/.emacs.d/snippets/applescript-mode/try deleted file mode 100644 index 4213089..0000000 --- a/.emacs.d/snippets/applescript-mode/try +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: try -# -- -try -$1 -on error $2 -$0 -end try \ No newline at end of file diff --git a/.emacs.d/snippets/applescript-mode/using-terms-from-application b/.emacs.d/snippets/applescript-mode/using-terms-from-application deleted file mode 100644 index 2b1128b..0000000 --- a/.emacs.d/snippets/applescript-mode/using-terms-from-application +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: using-terms-from-application -# -- -using terms from application "$1" -$0 -end using terms from \ No newline at end of file diff --git a/.emacs.d/snippets/applescript-mode/with-timeout-of-seconds b/.emacs.d/snippets/applescript-mode/with-timeout-of-seconds deleted file mode 100644 index 4f56eb5..0000000 --- a/.emacs.d/snippets/applescript-mode/with-timeout-of-seconds +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: with-timeout-of-seconds -# -- -with timeout of $1 seconds -$0 -end timeout \ No newline at end of file diff --git a/.emacs.d/snippets/applescript-mode/with-transaction b/.emacs.d/snippets/applescript-mode/with-transaction deleted file mode 100644 index c675d3b..0000000 --- a/.emacs.d/snippets/applescript-mode/with-transaction +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: with-transaction -# -- -with transaction -$0 -end transaction \ No newline at end of file diff --git a/.emacs.d/snippets/c-lang-common/fopen b/.emacs.d/snippets/c-lang-common/fopen deleted file mode 100644 index f41cf62..0000000 --- a/.emacs.d/snippets/c-lang-common/fopen +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: FILE *fp = fopen(..., ...); -# key: fopen -# -- -FILE *${fp} = fopen(${"file"}, "${r}"); \ No newline at end of file diff --git a/.emacs.d/snippets/c-lang-common/ifdef b/.emacs.d/snippets/c-lang-common/ifdef deleted file mode 100644 index 578ed8a..0000000 --- a/.emacs.d/snippets/c-lang-common/ifdef +++ /dev/null @@ -1,9 +0,0 @@ -# -*- mode: snippet -*- -# name: ifdef -# key: ifdef -# -- -#ifdef ${1:MACRO} - -$0 - -#endif // $1 \ No newline at end of file diff --git a/.emacs.d/snippets/c-lang-common/inc b/.emacs.d/snippets/c-lang-common/inc deleted file mode 100644 index 7760491..0000000 --- a/.emacs.d/snippets/c-lang-common/inc +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name : #include <...> -# key : incs -# -- -#include <$1> \ No newline at end of file diff --git a/.emacs.d/snippets/c-lang-common/inc.1 b/.emacs.d/snippets/c-lang-common/inc.1 deleted file mode 100644 index 95567f2..0000000 --- a/.emacs.d/snippets/c-lang-common/inc.1 +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name : #include "..." -# key : incl -# -- -#include "$1" \ No newline at end of file diff --git a/.emacs.d/snippets/c-lang-common/main b/.emacs.d/snippets/c-lang-common/main deleted file mode 100644 index b05494e..0000000 --- a/.emacs.d/snippets/c-lang-common/main +++ /dev/null @@ -1,9 +0,0 @@ -# -*- mode: snippet -*- -# name: main -# key: main -# -- -int main(${1:int argc, char *argv[]}) -{ - $0 - return 0; -} diff --git a/.emacs.d/snippets/c-lang-common/math b/.emacs.d/snippets/c-lang-common/math deleted file mode 100644 index 820fd16..0000000 --- a/.emacs.d/snippets/c-lang-common/math +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: math -# key: math -# -- -#include -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/c-lang-common/once b/.emacs.d/snippets/c-lang-common/once deleted file mode 100644 index 36d0824..0000000 --- a/.emacs.d/snippets/c-lang-common/once +++ /dev/null @@ -1,9 +0,0 @@ -#name : #ifndef XXX; #define XXX; #endif -# key: once -# -- -#ifndef ${1:`(upcase (file-name-nondirectory (file-name-sans-extension (or (buffer-file-name) ""))))`_H} -#define $1 - -$0 - -#endif /* $1 */ \ No newline at end of file diff --git a/.emacs.d/snippets/c-lang-common/typedef b/.emacs.d/snippets/c-lang-common/typedef deleted file mode 100644 index 6cb41b1..0000000 --- a/.emacs.d/snippets/c-lang-common/typedef +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: typedef -# key: typedef -# -- -typedef ${1:type} ${2:alias}; \ No newline at end of file diff --git a/.emacs.d/snippets/c-mode/.yas-parents b/.emacs.d/snippets/c-mode/.yas-parents deleted file mode 100644 index b269357..0000000 --- a/.emacs.d/snippets/c-mode/.yas-parents +++ /dev/null @@ -1,2 +0,0 @@ -cc-mode -c-lang-common diff --git a/.emacs.d/snippets/c-mode/assert b/.emacs.d/snippets/c-mode/assert deleted file mode 100644 index 964205e..0000000 --- a/.emacs.d/snippets/c-mode/assert +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: assert -# key: ass -# -- -#include -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/c-mode/compile b/.emacs.d/snippets/c-mode/compile deleted file mode 100644 index 8246a10..0000000 --- a/.emacs.d/snippets/c-mode/compile +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: compile -# key: compile -# -- -// -*- compile-command: "${1:gcc -Wall -o ${2:dest} ${3:file}}" -*- \ No newline at end of file diff --git a/.emacs.d/snippets/c-mode/define b/.emacs.d/snippets/c-mode/define deleted file mode 100644 index 9d5c5dd..0000000 --- a/.emacs.d/snippets/c-mode/define +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: define -# key: d -# -- -#define $0 \ No newline at end of file diff --git a/.emacs.d/snippets/c-mode/malloc b/.emacs.d/snippets/c-mode/malloc deleted file mode 100644 index 2a51de3..0000000 --- a/.emacs.d/snippets/c-mode/malloc +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: malloc -# key: malloc -# -- -malloc(sizeof($1)${2: * ${3:3}}); -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/c-mode/packed b/.emacs.d/snippets/c-mode/packed deleted file mode 100644 index b4eb125..0000000 --- a/.emacs.d/snippets/c-mode/packed +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: packed -# key: packed -# -- -__attribute__((__packed__))$0 \ No newline at end of file diff --git a/.emacs.d/snippets/c-mode/printf b/.emacs.d/snippets/c-mode/printf deleted file mode 100644 index ccc788c..0000000 --- a/.emacs.d/snippets/c-mode/printf +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: printf -# key: pr -# -- -printf("${1:format string}"${2: ,a0,a1}); \ No newline at end of file diff --git a/.emacs.d/snippets/c-mode/stdio b/.emacs.d/snippets/c-mode/stdio deleted file mode 100644 index 7529766..0000000 --- a/.emacs.d/snippets/c-mode/stdio +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: stdio -# key: io -# -- -#include \ No newline at end of file diff --git a/.emacs.d/snippets/c-mode/stdlib b/.emacs.d/snippets/c-mode/stdlib deleted file mode 100644 index a7d117b..0000000 --- a/.emacs.d/snippets/c-mode/stdlib +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: stdlib -# key: std -# -- -#include diff --git a/.emacs.d/snippets/c-mode/string b/.emacs.d/snippets/c-mode/string deleted file mode 100644 index d45b757..0000000 --- a/.emacs.d/snippets/c-mode/string +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: string -# key: str -# -- -#include \ No newline at end of file diff --git a/.emacs.d/snippets/c-mode/union b/.emacs.d/snippets/c-mode/union deleted file mode 100644 index b4ec5fa..0000000 --- a/.emacs.d/snippets/c-mode/union +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: union -# key: union -# -- -typedef union { - $0 -} ${1:name}; \ No newline at end of file diff --git a/.emacs.d/snippets/c-mode/unistd b/.emacs.d/snippets/c-mode/unistd deleted file mode 100644 index d5fca02..0000000 --- a/.emacs.d/snippets/c-mode/unistd +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: unistd -# key: uni -# -- -#include \ No newline at end of file diff --git a/.emacs.d/snippets/cc-mode/case b/.emacs.d/snippets/cc-mode/case deleted file mode 100644 index 75d6d31..0000000 --- a/.emacs.d/snippets/cc-mode/case +++ /dev/null @@ -1,9 +0,0 @@ -# -*- mode: snippet -*- -# name : case : {...} -# key: case -# expand-env: ((yas-also-auto-indent-first-line t)) -# -- -case ${2:constexpr}:${3: \{} - $0 - break; -${3:$(if (string-match "\{" yas-text) "\}" "")} \ No newline at end of file diff --git a/.emacs.d/snippets/cc-mode/do b/.emacs.d/snippets/cc-mode/do deleted file mode 100644 index 70e208a..0000000 --- a/.emacs.d/snippets/cc-mode/do +++ /dev/null @@ -1,7 +0,0 @@ -#name : do { ... } while (...) -# key: do -# -- -do -{ - $0 -} while (${1:condition}); \ No newline at end of file diff --git a/.emacs.d/snippets/cc-mode/else b/.emacs.d/snippets/cc-mode/else deleted file mode 100644 index 99e006d..0000000 --- a/.emacs.d/snippets/cc-mode/else +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name : else { ... } -# key: else -# -- -else${1: { - $0 -}} \ No newline at end of file diff --git a/.emacs.d/snippets/cc-mode/file_description b/.emacs.d/snippets/cc-mode/file_description deleted file mode 100644 index 5b3a1ee..0000000 --- a/.emacs.d/snippets/cc-mode/file_description +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -#cotributor: Henrique Jung -#name: File description -#key: \file -#group: doxygen -# -- -/** - * \file ${1:`(file-name-nondirectory(buffer-file-name))`} - * \brief ${2:A Documented file.} - ${3:* - * ${4:Detailed description} - * -}*/ diff --git a/.emacs.d/snippets/cc-mode/for b/.emacs.d/snippets/cc-mode/for deleted file mode 100644 index 1b7be90..0000000 --- a/.emacs.d/snippets/cc-mode/for +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: for -# key: for -# -- -for (${1:i = 0}; ${2:i < N}; ${3:++i}) { - $0 -} diff --git a/.emacs.d/snippets/cc-mode/for_n b/.emacs.d/snippets/cc-mode/for_n deleted file mode 100644 index 014d8ff..0000000 --- a/.emacs.d/snippets/cc-mode/for_n +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: York Zhao -# name: for_n -# key: forn -# -- -for (${1:auto }${2:i} = ${3:0}; $2 < ${4:MAXIMUM}; ++$2) { - $0 -} diff --git a/.emacs.d/snippets/cc-mode/function_description b/.emacs.d/snippets/cc-mode/function_description deleted file mode 100644 index 1ff27ff..0000000 --- a/.emacs.d/snippets/cc-mode/function_description +++ /dev/null @@ -1,14 +0,0 @@ -# -*- mode: snippet -*- -#cotributor: Henrique Jung -#name: Function description -#key: \brief -#group: doxygen -# -- -/** - * \brief ${1:function description} - ${2:* - * ${3:Detailed description} - * - }* \param ${4:param} - * \return ${5:return type} - */ \ No newline at end of file diff --git a/.emacs.d/snippets/cc-mode/if b/.emacs.d/snippets/cc-mode/if deleted file mode 100644 index 751c6f5..0000000 --- a/.emacs.d/snippets/cc-mode/if +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name : if (...) { ... } -# key: if -# -- -if (${1:condition}) ${2:{ - $0 -}} \ No newline at end of file diff --git a/.emacs.d/snippets/cc-mode/member_description b/.emacs.d/snippets/cc-mode/member_description deleted file mode 100644 index 54f3406..0000000 --- a/.emacs.d/snippets/cc-mode/member_description +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -#cotributor: Henrique Jung -#name: Member description -#key: !< -#group: doxygen -# -- -/*!< ${1:Detailed description after the member} */ \ No newline at end of file diff --git a/.emacs.d/snippets/cc-mode/printf b/.emacs.d/snippets/cc-mode/printf deleted file mode 100644 index 1e276ec..0000000 --- a/.emacs.d/snippets/cc-mode/printf +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: printf -# key: printf -# -- -printf("${1:%s}\\n"${1:$(if (string-match "%" yas-text) ", " "\);") -}$2${1:$(if (string-match "%" yas-text) "\);" "")} \ No newline at end of file diff --git a/.emacs.d/snippets/cc-mode/struct b/.emacs.d/snippets/cc-mode/struct deleted file mode 100644 index aeacc33..0000000 --- a/.emacs.d/snippets/cc-mode/struct +++ /dev/null @@ -1,7 +0,0 @@ -#name : struct ... { ... } -# key: struct -# -- -struct ${1:name} -{ - $0 -}; \ No newline at end of file diff --git a/.emacs.d/snippets/cc-mode/switch b/.emacs.d/snippets/cc-mode/switch deleted file mode 100644 index 6827bba..0000000 --- a/.emacs.d/snippets/cc-mode/switch +++ /dev/null @@ -1,11 +0,0 @@ -# -*- mode: snippet -*- -# name : switch (...) { case : ... default: ...} -# key: switch -# -- -switch (${1:expr}) { -case ${2:constexpr}:${3: \{} - $0 - break; -${3:$(if (string-match "\{" yas-text) "\}\n" "")}default: - break; -} \ No newline at end of file diff --git a/.emacs.d/snippets/cc-mode/ternary b/.emacs.d/snippets/cc-mode/ternary deleted file mode 100644 index 3c31d93..0000000 --- a/.emacs.d/snippets/cc-mode/ternary +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: ternary -# key: ? -# -- -(${1:cond}) ? ${2:then} : ${3:else}; \ No newline at end of file diff --git a/.emacs.d/snippets/cc-mode/while b/.emacs.d/snippets/cc-mode/while deleted file mode 100644 index e9f07ca..0000000 --- a/.emacs.d/snippets/cc-mode/while +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: while -# key: while -# -- -while (${1:condition}) { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/chef-mode/action b/.emacs.d/snippets/chef-mode/action deleted file mode 100644 index 98fa8ac..0000000 --- a/.emacs.d/snippets/chef-mode/action +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: action -# key: action -# -- -action: ${0:nothing} \ No newline at end of file diff --git a/.emacs.d/snippets/chef-mode/bash b/.emacs.d/snippets/chef-mode/bash deleted file mode 100644 index 90a485f..0000000 --- a/.emacs.d/snippets/chef-mode/bash +++ /dev/null @@ -1,14 +0,0 @@ -# -*- mode: snippet -*- -# name: bash -# key: bash -# -- -bash "${1:install something}" do - user "${2:root}" - cwd "${3:/tmp}" - creates "${4:maybe}" - code <<-EOH - STATUS=0 - $0 || STATUS=1 - exit $STATUS - EOH -end \ No newline at end of file diff --git a/.emacs.d/snippets/chef-mode/cookbook_file b/.emacs.d/snippets/chef-mode/cookbook_file deleted file mode 100644 index 9d13d2b..0000000 --- a/.emacs.d/snippets/chef-mode/cookbook_file +++ /dev/null @@ -1,10 +0,0 @@ -# -*- mode: snippet -*- -# name: cookbook_file -# key: cookbook_file -# -- -cookbook_file "${1:/tmp/file}" do - owner "${2:root}" - group "${3:root}" - mode "${4:0644}" - source "${5:my-filename}" -end \ No newline at end of file diff --git a/.emacs.d/snippets/chef-mode/cron b/.emacs.d/snippets/chef-mode/cron deleted file mode 100644 index ee4b57d..0000000 --- a/.emacs.d/snippets/chef-mode/cron +++ /dev/null @@ -1,10 +0,0 @@ -# -*- mode: snippet -*- -# name: cron -# key: cron -# -- -cron "${1:name}" do - hour "${2:5}" - minute "${3:0}" - - command "${4:/bin/true}" -end \ No newline at end of file diff --git a/.emacs.d/snippets/chef-mode/cronf b/.emacs.d/snippets/chef-mode/cronf deleted file mode 100644 index afe369c..0000000 --- a/.emacs.d/snippets/chef-mode/cronf +++ /dev/null @@ -1,16 +0,0 @@ -# -*- mode: snippet -*- -# name: cronf -# key: cronf -# -- -cron "${1:name}" do - hour "${2:*}" - minute "${3:*}" - day "${4:*}" - weekday "${6:*}" - command "${7:/bin/true}" - user "${8:root}" - mailto "${9:root@example.com}" - path "${10:/bin:/usr/bin}" - home "${11:/tmp}" - shell "${12:/bin/bash}" -end diff --git a/.emacs.d/snippets/chef-mode/deploy b/.emacs.d/snippets/chef-mode/deploy deleted file mode 100644 index 499982e..0000000 --- a/.emacs.d/snippets/chef-mode/deploy +++ /dev/null @@ -1,18 +0,0 @@ -# -*- mode: snippet -*- -# name: deploy -# key: deploy -# -- -deploy "/my/deploy/dir" do - repo "git@github.com/whoami/provideroject" - revision "abc123" # or "HEAD" or "TAG_for_1.0" or (subversion) "1234" - user "deploy_ninja" - enable_submodules true - migrate true - migration_command "rake db:migrate" - environment "RAILS_ENV" => "production", "OTHER_ENV" => "foo" - shallow_clone true - action :deploy # or :rollback - restart_command "touch tmp/restart.txt" - git_ssh_wrapper "wrap-ssh4git.sh" - scm_provider Chef::Provider::Git # is the default, for svn: Chefhef::Provider::Subversion -end diff --git a/.emacs.d/snippets/chef-mode/directory b/.emacs.d/snippets/chef-mode/directory deleted file mode 100644 index 63005be..0000000 --- a/.emacs.d/snippets/chef-mode/directory +++ /dev/null @@ -1,11 +0,0 @@ -# -*- mode: snippet -*- -# name: directory -# key: directory -# -- -directory "${1:name}" do - owner "root" - group "root" - mode "0755" - - action :create -end diff --git a/.emacs.d/snippets/chef-mode/directoryf b/.emacs.d/snippets/chef-mode/directoryf deleted file mode 100644 index 4496829..0000000 --- a/.emacs.d/snippets/chef-mode/directoryf +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: directoryf -# key: directoryf -# -- -directory "${1:name}" do - owner "$create{2:root}" - group "${3:root}" - mode "${4:0755}" - path "${5:name}" - recursive ${6:false} - - action :${7:create} -end diff --git a/.emacs.d/snippets/chef-mode/env b/.emacs.d/snippets/chef-mode/env deleted file mode 100644 index 6a8ab6d..0000000 --- a/.emacs.d/snippets/chef-mode/env +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: env -# key: env -# -- -env "${1:RAILS_ENV}" do - value "${2:production}" -end \ No newline at end of file diff --git a/.emacs.d/snippets/chef-mode/execute b/.emacs.d/snippets/chef-mode/execute deleted file mode 100644 index 356d854..0000000 --- a/.emacs.d/snippets/chef-mode/execute +++ /dev/null @@ -1,10 +0,0 @@ -# -*- mode: snippet -*- -# name: execute -# key: execute -# -- -execute "${1:name}" do - command "${2:ls -la}" - creates "${3:/tmp/something}" - - action :${4:run} -end \ No newline at end of file diff --git a/.emacs.d/snippets/chef-mode/executef b/.emacs.d/snippets/chef-mode/executef deleted file mode 100644 index 2ad7786..0000000 --- a/.emacs.d/snippets/chef-mode/executef +++ /dev/null @@ -1,18 +0,0 @@ -# -*- mode: snippet -*- -# name: executef -# key: executef -# -- -execute "${1:name}" do - command "${2:ls -la}" - creates "$ls{3:/tmp/something}" - cwd "${4:/tmp}" - environment ({${5:'HOME' => '/home/myhome'}}) - user "${6:root}" - group "${7:root}" - path "${8:['/opt/bin','/opt/sbin']}" - timeout ${9:3600} - returns ${10:0} - umask "${11:022}umask" - - action :${12:run} -end \ No newline at end of file diff --git a/.emacs.d/snippets/chef-mode/file b/.emacs.d/snippets/chef-mode/file deleted file mode 100644 index 3d85756..0000000 --- a/.emacs.d/snippets/chef-mode/file +++ /dev/null @@ -1,11 +0,0 @@ -# -*- mode: snippet -*- -# name: file -# key: file -# -- -file "${1:name}" do - owner "root" - group "root" - mode "0644" - - action :create -end \ No newline at end of file diff --git a/.emacs.d/snippets/chef-mode/filef b/.emacs.d/snippets/chef-mode/filef deleted file mode 100644 index facd77e..0000000 --- a/.emacs.d/snippets/chef-mode/filef +++ /dev/null @@ -1,14 +0,0 @@ -# -*- mode: snippet -*- -# name: filef -# key: filef -# -- -file "${1:name}" do - path "${3:path}" - backup ${4:5} - owner "${5:root}" - group "${6:root}" - mode "${7:0644}" - content "${8:content here}" - - action :${2:create} -end \ No newline at end of file diff --git a/.emacs.d/snippets/chef-mode/git b/.emacs.d/snippets/chef-mode/git deleted file mode 100644 index 309d844..0000000 --- a/.emacs.d/snippets/chef-mode/git +++ /dev/null @@ -1,11 +0,0 @@ -# -*- mode: snippet -*- -# name: git -# key: git -# -- -git "${1:/home/user/deployment}" do - repository "${2:git@github.com:gitsite/deploymentployment.git}" - reference "${3:master}" - user "${4:user}" - group "${5:templateest}" - action :sync -end \ No newline at end of file diff --git a/.emacs.d/snippets/chef-mode/group b/.emacs.d/snippets/chef-mode/group deleted file mode 100644 index 73ad1f8..0000000 --- a/.emacs.d/snippets/chef-mode/group +++ /dev/null @@ -1,10 +0,0 @@ -# -*- mode: snippet -*- -# name: group -# key: group -# -- -group "${1:name}" do - gid ${2:999} - members [${3:'paco','vicente'}] - - action :create -end \ No newline at end of file diff --git a/.emacs.d/snippets/chef-mode/http_request b/.emacs.d/snippets/chef-mode/http_request deleted file mode 100644 index b3a2882..0000000 --- a/.emacs.d/snippets/chef-mode/http_request +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: http_request -# key: http_request -# -- -http_request "${1:some message}" do - url "${2:http://example.com/check_in}" -end \ No newline at end of file diff --git a/.emacs.d/snippets/chef-mode/http_requestp b/.emacs.d/snippets/chef-mode/http_requestp deleted file mode 100644 index 96047dd..0000000 --- a/.emacs.d/snippets/chef-mode/http_requestp +++ /dev/null @@ -1,10 +0,0 @@ -# -*- mode: snippet -*- -# name: http_requestp -# key: http_requestp -# -- -http_request "${1:posting data}" do - action :post - url "${2:http://example.com/check_in}" - message ${3::some => "data"} - headers (${4:\{"AUTHORIZATION" => authorization\}}) -end \ No newline at end of file diff --git a/.emacs.d/snippets/chef-mode/ignore_failure b/.emacs.d/snippets/chef-mode/ignore_failure deleted file mode 100644 index 6dbed60..0000000 --- a/.emacs.d/snippets/chef-mode/ignore_failure +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: ignore_failure -# key: ignore_failure -# -- -ignore_failure ${0:true} \ No newline at end of file diff --git a/.emacs.d/snippets/chef-mode/inc b/.emacs.d/snippets/chef-mode/inc deleted file mode 100644 index 4fd785a..0000000 --- a/.emacs.d/snippets/chef-mode/inc +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: inc -# key: inc -# -- -include_recipe "${1:example::recipe}" \ No newline at end of file diff --git a/.emacs.d/snippets/chef-mode/link b/.emacs.d/snippets/chef-mode/link deleted file mode 100644 index f429d3c..0000000 --- a/.emacs.d/snippets/chef-mode/link +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: link -# key: link -# -- -link "${1:/tmp/passwd}" do - to "${2:/etc/passwd}" -end \ No newline at end of file diff --git a/.emacs.d/snippets/chef-mode/linkf b/.emacs.d/snippets/chef-mode/linkf deleted file mode 100644 index cec083f..0000000 --- a/.emacs.d/snippets/chef-mode/linkf +++ /dev/null @@ -1,10 +0,0 @@ -# -*- mode: snippet -*- -# name: linkf -# key: linkf -# -- -link "${1:/tmp/passwd}" do - to "${2:/etc/passwd}" - link_type :${3:symbolic} - owner "${4:root}" - group "${5:root}" -end \ No newline at end of file diff --git a/.emacs.d/snippets/chef-mode/log b/.emacs.d/snippets/chef-mode/log deleted file mode 100644 index fce4b9e..0000000 --- a/.emacs.d/snippets/chef-mode/log +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: log -# key: log -# -- -log ("${1:your string to log}") { level :${2:debug} } \ No newline at end of file diff --git a/.emacs.d/snippets/chef-mode/machine b/.emacs.d/snippets/chef-mode/machine deleted file mode 100644 index fb9ed43..0000000 --- a/.emacs.d/snippets/chef-mode/machine +++ /dev/null @@ -1,10 +0,0 @@ -# -*- mode: snippet -*- -# name: machine -# key: machine -# -- -machine "${1:name}" do - role '${2:web}' - recipe '${3:web}' - chef_environment '${4:_default}' - converge true -end diff --git a/.emacs.d/snippets/chef-mode/meta b/.emacs.d/snippets/chef-mode/meta deleted file mode 100644 index 70ba649..0000000 --- a/.emacs.d/snippets/chef-mode/meta +++ /dev/null @@ -1,10 +0,0 @@ -# -*- mode: snippet -*- -# name: meta -# key: meta -# -- -maintainer "${1:YOUR_COMPANY_NAME}" -maintainer_email "${2:YOUR_EMAIL}" -license "${3:All rights reserved}" -description "${4:Installs/Configures example}" -long_description IO.read(File.join(File.dirname(__FILE__), 'README.rdoc')) -version "${5:0.0.1}" \ No newline at end of file diff --git a/.emacs.d/snippets/chef-mode/not_if b/.emacs.d/snippets/chef-mode/not_if deleted file mode 100644 index 9cba25d..0000000 --- a/.emacs.d/snippets/chef-mode/not_if +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: not_if -# key: not_if -# -- -not_if "${1}" \ No newline at end of file diff --git a/.emacs.d/snippets/chef-mode/notifies b/.emacs.d/snippets/chef-mode/notifies deleted file mode 100644 index 072e50f..0000000 --- a/.emacs.d/snippets/chef-mode/notifies +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: notifies -# key: notifies -# -- -notifies :${1:restart}, "${2:service}[${3:name}]" \ No newline at end of file diff --git a/.emacs.d/snippets/chef-mode/only_if b/.emacs.d/snippets/chef-mode/only_if deleted file mode 100644 index 395bdf8..0000000 --- a/.emacs.d/snippets/chef-mode/only_if +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: only_if -# key: only_if -# -- -only_if "${1}" \ No newline at end of file diff --git a/.emacs.d/snippets/chef-mode/pac b/.emacs.d/snippets/chef-mode/pac deleted file mode 100644 index 60c9a8f..0000000 --- a/.emacs.d/snippets/chef-mode/pac +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: pac -# key: pac -# -- -package "${1:name}" do - action :${2:install} - version "${3:1.0-1}" -end \ No newline at end of file diff --git a/.emacs.d/snippets/chef-mode/pak b/.emacs.d/snippets/chef-mode/pak deleted file mode 100644 index 86fec9b..0000000 --- a/.emacs.d/snippets/chef-mode/pak +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: pak -# key: pak -# -- -package "${1:name}" do - action :${2:install} - version "${3:1.0-1}" -end \ No newline at end of file diff --git a/.emacs.d/snippets/chef-mode/provider b/.emacs.d/snippets/chef-mode/provider deleted file mode 100644 index f049cb8..0000000 --- a/.emacs.d/snippets/chef-mode/provider +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: provider -# key: provider -# -- -provider Chef::Provider::${0:Package::Rubygems} \ No newline at end of file diff --git a/.emacs.d/snippets/chef-mode/python b/.emacs.d/snippets/chef-mode/python deleted file mode 100644 index 7cd8b4e..0000000 --- a/.emacs.d/snippets/chef-mode/python +++ /dev/null @@ -1,11 +0,0 @@ -# -*- mode: snippet -*- -# name: python -# key: python -# -- -python "${1:install something}" do - user "${2:root}" - cwd "${3:/tmp}" - code <<-EOH - $0 - EOH -end \ No newline at end of file diff --git a/.emacs.d/snippets/chef-mode/remote_file b/.emacs.d/snippets/chef-mode/remote_file deleted file mode 100644 index 0c78cc9..0000000 --- a/.emacs.d/snippets/chef-mode/remote_file +++ /dev/null @@ -1,11 +0,0 @@ -# -*- mode: snippet -*- -# name: remote_file -# key: remote_file -# -- -remote_file "${1:/tmp/remote_file}" do - owner "${2:root}" - group "${3:root}" - mode "${4:0644}" - source "${5:http://www.example.com/remote_file}" - checksum "${6:sha256checksum}" -end \ No newline at end of file diff --git a/.emacs.d/snippets/chef-mode/retries b/.emacs.d/snippets/chef-mode/retries deleted file mode 100644 index d87a424..0000000 --- a/.emacs.d/snippets/chef-mode/retries +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: retries -# key: retries -# -- -retries ${1:1} -retry_delay ${2:2} \ No newline at end of file diff --git a/.emacs.d/snippets/chef-mode/role b/.emacs.d/snippets/chef-mode/role deleted file mode 100644 index ccce3ed..0000000 --- a/.emacs.d/snippets/chef-mode/role +++ /dev/null @@ -1,12 +0,0 @@ -# -*- mode: snippet -*- -# name: role -# key: role -# -- -name "${1:role name}" - description "${2:Description for the role}" - env_run_lists "${3:role name}" => [ - ] - run_list "" - default_attributes( - ${4::attribute => "example"} - ) diff --git a/.emacs.d/snippets/chef-mode/ruby b/.emacs.d/snippets/chef-mode/ruby deleted file mode 100644 index 105a05d..0000000 --- a/.emacs.d/snippets/chef-mode/ruby +++ /dev/null @@ -1,9 +0,0 @@ -# -*- mode: snippet -*- -# name: ruby -# key: ruby -# -- -ruby_block "${1:reload client config}" do - block do - ${0:Chef::Config.from_file("/Chefetc/chef/client.rb")} - end -end \ No newline at end of file diff --git a/.emacs.d/snippets/chef-mode/script b/.emacs.d/snippets/chef-mode/script deleted file mode 100644 index 227c464..0000000 --- a/.emacs.d/snippets/chef-mode/script +++ /dev/null @@ -1,15 +0,0 @@ -# -*- mode: snippet -*- -# name: script -# key: script -# -- -script "${1:do something}" do - interpreter "bash" - user "${2:root}" - cwd "${3:/tmp}" - creates "${4:maybe}" - code <<-EOH - STATUS=0 - $0 || STATUS=1 - exit $STATUS - EOH -end diff --git a/.emacs.d/snippets/chef-mode/service b/.emacs.d/snippets/chef-mode/service deleted file mode 100644 index f653c28..0000000 --- a/.emacs.d/snippets/chef-mode/service +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: service -# key: service -# -- -service "${1:name}" do - supports :status => ${2:true}, :restart => ${3:true}, :truereload => ${4:true} - action ${5:[ :enable, :start ]} -end \ No newline at end of file diff --git a/.emacs.d/snippets/chef-mode/servicep b/.emacs.d/snippets/chef-mode/servicep deleted file mode 100644 index c7b0940..0000000 --- a/.emacs.d/snippets/chef-mode/servicep +++ /dev/null @@ -1,9 +0,0 @@ -# -*- mode: snippet -*- -# name: servicep -# key: servicep -# -- -service "${1:name}" do - pattern "${2:pattern}" - supports :status => ${3:true}, :restart => ${4:true}, :reload => ${5:true} - action ${6:[ :enable, :start ]} -end \ No newline at end of file diff --git a/.emacs.d/snippets/chef-mode/subscribes b/.emacs.d/snippets/chef-mode/subscribes deleted file mode 100644 index 05ec673..0000000 --- a/.emacs.d/snippets/chef-mode/subscribes +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: subscribes -# key: subscribes -# -- -subscribes :${1:restart}, "${2:template}[${3:name}]" \ No newline at end of file diff --git a/.emacs.d/snippets/chef-mode/supports b/.emacs.d/snippets/chef-mode/supports deleted file mode 100644 index 6fe4c84..0000000 --- a/.emacs.d/snippets/chef-mode/supports +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: supports -# key: supports -# -- -supports :status => :${1:true}, :restart => :${2:true}, :reload => :${3:true} \ No newline at end of file diff --git a/.emacs.d/snippets/chef-mode/template b/.emacs.d/snippets/chef-mode/template deleted file mode 100644 index 8a01cc2..0000000 --- a/.emacs.d/snippets/chef-mode/template +++ /dev/null @@ -1,10 +0,0 @@ -# -*- mode: snippet -*- -# name: template -# key: template -# -- -template "${1:name}" do - source "${2:source}.erb" - owner "root" - group "root" - mode "0644" -end diff --git a/.emacs.d/snippets/chef-mode/templatev b/.emacs.d/snippets/chef-mode/templatev deleted file mode 100644 index c933cd7..0000000 --- a/.emacs.d/snippets/chef-mode/templatev +++ /dev/null @@ -1,11 +0,0 @@ -# -*- mode: snippet -*- -# name: templatev -# key: templatev -# -- -template "${1:name}" do - source "${2:source}.erb" - owner "root" - group "root" - node "0644" - variables( ${3::config_var => node[:configs][:config_var]} ) -end diff --git a/.emacs.d/snippets/chef-mode/user b/.emacs.d/snippets/chef-mode/user deleted file mode 100644 index 5f98dde..0000000 --- a/.emacs.d/snippets/chef-mode/user +++ /dev/null @@ -1,14 +0,0 @@ -# -*- mode: snippet -*- -# name: user -# key: user -# -- -user "${1:random}" do - action :create - comment "${2:Random User}" - uid ${3:1000} - gid "${4:users}" - home "${5:/home/random}" - shell "${6:/bin/zsh}" - password "${7:\$1\$JJsvHslV\$szsCjVEroftprNn4JHtDi.}" - supports :manage_home =>manage_home true -end diff --git a/.emacs.d/snippets/cider-repl-mode/.yas-parents b/.emacs.d/snippets/cider-repl-mode/.yas-parents deleted file mode 100644 index b91f032..0000000 --- a/.emacs.d/snippets/cider-repl-mode/.yas-parents +++ /dev/null @@ -1 +0,0 @@ -clojure-mode diff --git a/.emacs.d/snippets/clojure-mode/.yas-parents b/.emacs.d/snippets/clojure-mode/.yas-parents deleted file mode 100644 index 75d003f..0000000 --- a/.emacs.d/snippets/clojure-mode/.yas-parents +++ /dev/null @@ -1 +0,0 @@ -prog-mode diff --git a/.emacs.d/snippets/clojure-mode/bench b/.emacs.d/snippets/clojure-mode/bench deleted file mode 100644 index fd4e151..0000000 --- a/.emacs.d/snippets/clojure-mode/bench +++ /dev/null @@ -1,7 +0,0 @@ -# name: bench -# key: bench -# -- -(dotimes [_ 5 ]$> - (time (dotimes [i 1000000]$> - $0$> - )))$> \ No newline at end of file diff --git a/.emacs.d/snippets/clojure-mode/bp b/.emacs.d/snippets/clojure-mode/bp deleted file mode 100644 index 5760865..0000000 --- a/.emacs.d/snippets/clojure-mode/bp +++ /dev/null @@ -1,4 +0,0 @@ -# name: bp -# key: bp -# -- -(swank.core/break) diff --git a/.emacs.d/snippets/clojure-mode/def b/.emacs.d/snippets/clojure-mode/def deleted file mode 100644 index 7ac6697..0000000 --- a/.emacs.d/snippets/clojure-mode/def +++ /dev/null @@ -1,4 +0,0 @@ -# name: def -# key: def -# -- -(def $0) diff --git a/.emacs.d/snippets/clojure-mode/defm b/.emacs.d/snippets/clojure-mode/defm deleted file mode 100644 index 1f6bb7c..0000000 --- a/.emacs.d/snippets/clojure-mode/defm +++ /dev/null @@ -1,7 +0,0 @@ -# name: defmacro -# key: defm -# -- -(defmacro $1 - "$2"$> - [$3]$> - $0)$> diff --git a/.emacs.d/snippets/clojure-mode/defn b/.emacs.d/snippets/clojure-mode/defn deleted file mode 100644 index f68b48e..0000000 --- a/.emacs.d/snippets/clojure-mode/defn +++ /dev/null @@ -1,7 +0,0 @@ -# name: defn -# key: defn -# -- -(defn $1 - "$2"$> - [$3]$> - $0)$> diff --git a/.emacs.d/snippets/clojure-mode/defr b/.emacs.d/snippets/clojure-mode/defr deleted file mode 100644 index 101a0e9..0000000 --- a/.emacs.d/snippets/clojure-mode/defr +++ /dev/null @@ -1,8 +0,0 @@ -# name: defrecord -# key: defr -# -- -(defrecord - ^{"$1"}$> - $2$> - [$3]$> - $0)$> diff --git a/.emacs.d/snippets/clojure-mode/deft b/.emacs.d/snippets/clojure-mode/deft deleted file mode 100644 index 3337e9a..0000000 --- a/.emacs.d/snippets/clojure-mode/deft +++ /dev/null @@ -1,8 +0,0 @@ -# name: deftype -# key: deft -# -- -(deftype - ^{"$1"}$> - $2$> - [$3]$> - $0)$> \ No newline at end of file diff --git a/.emacs.d/snippets/clojure-mode/doseq b/.emacs.d/snippets/clojure-mode/doseq deleted file mode 100644 index 9a7d3aa..0000000 --- a/.emacs.d/snippets/clojure-mode/doseq +++ /dev/null @@ -1,6 +0,0 @@ -# name: doseq -# key: doseq -# -- -(doseq [$1 $2] - $3)$> -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/clojure-mode/fn b/.emacs.d/snippets/clojure-mode/fn deleted file mode 100644 index e949ed8..0000000 --- a/.emacs.d/snippets/clojure-mode/fn +++ /dev/null @@ -1,5 +0,0 @@ -# name: fn -# key: fn -# -- -(fn [$1] - $0)$> diff --git a/.emacs.d/snippets/clojure-mode/for b/.emacs.d/snippets/clojure-mode/for deleted file mode 100644 index 6ff8781..0000000 --- a/.emacs.d/snippets/clojure-mode/for +++ /dev/null @@ -1,5 +0,0 @@ -# name: for -# key: for -# -- -(for [$1 $2] - $3)$> diff --git a/.emacs.d/snippets/clojure-mode/if b/.emacs.d/snippets/clojure-mode/if deleted file mode 100644 index e3a0bd3..0000000 --- a/.emacs.d/snippets/clojure-mode/if +++ /dev/null @@ -1,8 +0,0 @@ -# -*- coding: utf-8 -*- -# name: if -# key: if -# -- -(if $1 - $2$> - $3)$> -$0 diff --git a/.emacs.d/snippets/clojure-mode/ifl b/.emacs.d/snippets/clojure-mode/ifl deleted file mode 100644 index a8df766..0000000 --- a/.emacs.d/snippets/clojure-mode/ifl +++ /dev/null @@ -1,7 +0,0 @@ -# -*- coding: utf-8 -*- -# name: ifl -# key: ifl -# -- -(if-let [$1 $2] - $3)$> -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/clojure-mode/import b/.emacs.d/snippets/clojure-mode/import deleted file mode 100644 index 35332f6..0000000 --- a/.emacs.d/snippets/clojure-mode/import +++ /dev/null @@ -1,5 +0,0 @@ -# name: import -# key: import -# expand-env: ((yas-triggers-in-field nil)) -# -- -(:import ($1))$> \ No newline at end of file diff --git a/.emacs.d/snippets/clojure-mode/is b/.emacs.d/snippets/clojure-mode/is deleted file mode 100644 index 6a8e54a..0000000 --- a/.emacs.d/snippets/clojure-mode/is +++ /dev/null @@ -1,5 +0,0 @@ -# -*- coding: utf-8 -*- -# name: is -# key: is -# -- -(is (= $1 $2)) diff --git a/.emacs.d/snippets/clojure-mode/let b/.emacs.d/snippets/clojure-mode/let deleted file mode 100644 index 9d83ae2..0000000 --- a/.emacs.d/snippets/clojure-mode/let +++ /dev/null @@ -1,7 +0,0 @@ -# -*- coding: utf-8 -*- -# name: let -# key: let -# -- -(let [$1 $2]$> - $3)$> -$0 diff --git a/.emacs.d/snippets/clojure-mode/map b/.emacs.d/snippets/clojure-mode/map deleted file mode 100644 index a699c4a..0000000 --- a/.emacs.d/snippets/clojure-mode/map +++ /dev/null @@ -1,5 +0,0 @@ -# -*- coding: utf-8 -*- -# name: map -# key: map -# -- -(map $1 $2) \ No newline at end of file diff --git a/.emacs.d/snippets/clojure-mode/map.lambda b/.emacs.d/snippets/clojure-mode/map.lambda deleted file mode 100644 index 9771706..0000000 --- a/.emacs.d/snippets/clojure-mode/map.lambda +++ /dev/null @@ -1,5 +0,0 @@ -# -*- coding: utf-8 -*- -# name: map lambda -# key: map -# -- -(map #($1) $2)$> \ No newline at end of file diff --git a/.emacs.d/snippets/clojure-mode/mdoc b/.emacs.d/snippets/clojure-mode/mdoc deleted file mode 100644 index 0917228..0000000 --- a/.emacs.d/snippets/clojure-mode/mdoc +++ /dev/null @@ -1,5 +0,0 @@ -# -*- coding: utf-8 -*- -# name: mdoc -# key: mdoc -# -- -^{:doc "$1"} \ No newline at end of file diff --git a/.emacs.d/snippets/clojure-mode/ns b/.emacs.d/snippets/clojure-mode/ns deleted file mode 100644 index 9be7469..0000000 --- a/.emacs.d/snippets/clojure-mode/ns +++ /dev/null @@ -1,22 +0,0 @@ -# -*- coding: utf-8 -*- -# name: ns -# key: ns -# -- -(ns `(cl-flet ((try-src-prefix - (path src-pfx) - (let ((parts (split-string path src-pfx))) - (if (= 2 (length parts)) - (cl-second parts) - nil)))) - (let* ((p (buffer-file-name)) - (p2 (cl-first - (cl-remove-if-not '(lambda (x) x) - (mapcar - '(lambda (pfx) - (try-src-prefix p pfx)) - '("/src/cljs/" "/src/clj/" "/src/" "/test/"))))) - (p3 (file-name-sans-extension p2)) - (p4 (mapconcat '(lambda (x) x) - (split-string p3 "/") - "."))) - (replace-regexp-in-string "_" "-" p4)))`) diff --git a/.emacs.d/snippets/clojure-mode/opts b/.emacs.d/snippets/clojure-mode/opts deleted file mode 100644 index 4e04fa0..0000000 --- a/.emacs.d/snippets/clojure-mode/opts +++ /dev/null @@ -1,6 +0,0 @@ -# key: opts -# name: opts -# -- -{:keys [$1]$> - :or {$2}$> - :as $3}$> \ No newline at end of file diff --git a/.emacs.d/snippets/clojure-mode/pr b/.emacs.d/snippets/clojure-mode/pr deleted file mode 100644 index 6d98a41..0000000 --- a/.emacs.d/snippets/clojure-mode/pr +++ /dev/null @@ -1,6 +0,0 @@ -# -*- coding: utf-8 -*- -# name: pr -# key: pr -# -- -(prn $1) -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/clojure-mode/print b/.emacs.d/snippets/clojure-mode/print deleted file mode 100644 index a23c1c8..0000000 --- a/.emacs.d/snippets/clojure-mode/print +++ /dev/null @@ -1,6 +0,0 @@ -# -*- coding: utf-8 -*- -# name: print -# key: print -# -- -(println $1) -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/clojure-mode/reduce b/.emacs.d/snippets/clojure-mode/reduce deleted file mode 100644 index 68f7375..0000000 --- a/.emacs.d/snippets/clojure-mode/reduce +++ /dev/null @@ -1,5 +0,0 @@ -# -*- coding: utf-8 -*- -# name: reduce -# key: reduce -# -- -(reduce ${1:(fn [p n] $0)} $2) diff --git a/.emacs.d/snippets/clojure-mode/require b/.emacs.d/snippets/clojure-mode/require deleted file mode 100644 index 41ceed5..0000000 --- a/.emacs.d/snippets/clojure-mode/require +++ /dev/null @@ -1,5 +0,0 @@ -# name: require -# key: require -# expand-env: ((yas-triggers-in-field nil)) -# -- -(:require [$1 :as $2])$> diff --git a/.emacs.d/snippets/clojure-mode/test b/.emacs.d/snippets/clojure-mode/test deleted file mode 100644 index 0d7751d..0000000 --- a/.emacs.d/snippets/clojure-mode/test +++ /dev/null @@ -1,6 +0,0 @@ -# name: test -# key: test -# -- -(deftest $1 - (is (= $2))$> - $0)$> diff --git a/.emacs.d/snippets/clojure-mode/try b/.emacs.d/snippets/clojure-mode/try deleted file mode 100644 index 397cc6c..0000000 --- a/.emacs.d/snippets/clojure-mode/try +++ /dev/null @@ -1,7 +0,0 @@ -# name: try -# key: try -# -- -(try -$1$> -(catch ${2:Exception} e$> -$3$>))$> \ No newline at end of file diff --git a/.emacs.d/snippets/clojure-mode/use b/.emacs.d/snippets/clojure-mode/use deleted file mode 100644 index 2778bb9..0000000 --- a/.emacs.d/snippets/clojure-mode/use +++ /dev/null @@ -1,5 +0,0 @@ -# name: use -# key: use -# expand-env: ((yas-triggers-in-field nil)) -# -- -(:use [$1 :refer [$2]])$> \ No newline at end of file diff --git a/.emacs.d/snippets/clojure-mode/when b/.emacs.d/snippets/clojure-mode/when deleted file mode 100644 index e17bb6b..0000000 --- a/.emacs.d/snippets/clojure-mode/when +++ /dev/null @@ -1,7 +0,0 @@ -# -*- coding: utf-8 -*- -# name: when -# key: when -# -- -(when $1 - $2)$> -$0$> diff --git a/.emacs.d/snippets/clojure-mode/whenl b/.emacs.d/snippets/clojure-mode/whenl deleted file mode 100644 index 929019e..0000000 --- a/.emacs.d/snippets/clojure-mode/whenl +++ /dev/null @@ -1,7 +0,0 @@ -# -*- coding: utf-8 -*- -# name: whenl -# key: whenl -# -- -(when-let [$1 $2] - $3)$> - $0$> \ No newline at end of file diff --git a/.emacs.d/snippets/cmake-mode/add_executable b/.emacs.d/snippets/cmake-mode/add_executable deleted file mode 100644 index 34e1546..0000000 --- a/.emacs.d/snippets/cmake-mode/add_executable +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: add_executable -# key: exe -# -- -add_executable($1 ${2:main.cpp}) -target_link_libraries($1 $3) \ No newline at end of file diff --git a/.emacs.d/snippets/cmake-mode/add_library b/.emacs.d/snippets/cmake-mode/add_library deleted file mode 100644 index 55c3def..0000000 --- a/.emacs.d/snippets/cmake-mode/add_library +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: add_library -# key: lib -# -- -add_library($1 ${2:class.cpp}) -target_link_libraries($1 $3) \ No newline at end of file diff --git a/.emacs.d/snippets/cmake-mode/cmake_minimum_required b/.emacs.d/snippets/cmake-mode/cmake_minimum_required deleted file mode 100644 index 1d1b7aa..0000000 --- a/.emacs.d/snippets/cmake-mode/cmake_minimum_required +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: cmake_minimum_required -# key: min -# -- -cmake_minimum_required(VERSION ${1:2.6}) \ No newline at end of file diff --git a/.emacs.d/snippets/cmake-mode/foreach b/.emacs.d/snippets/cmake-mode/foreach deleted file mode 100644 index c512312..0000000 --- a/.emacs.d/snippets/cmake-mode/foreach +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: foreach -# key: for -# -- -foreach(${1:var} \${${2:array}}) - $3 -endforeach($1)$0 \ No newline at end of file diff --git a/.emacs.d/snippets/cmake-mode/function b/.emacs.d/snippets/cmake-mode/function deleted file mode 100644 index d330315..0000000 --- a/.emacs.d/snippets/cmake-mode/function +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: function -# key: fun -# -- -function(${1:name}) - $2 -endfunction($1)$0 \ No newline at end of file diff --git a/.emacs.d/snippets/cmake-mode/if b/.emacs.d/snippets/cmake-mode/if deleted file mode 100644 index 9f96b97..0000000 --- a/.emacs.d/snippets/cmake-mode/if +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: if -# key: if -# -- -if(${1:cond}) - $2 -endif($1)$0 \ No newline at end of file diff --git a/.emacs.d/snippets/cmake-mode/ifelse b/.emacs.d/snippets/cmake-mode/ifelse deleted file mode 100644 index 984896f..0000000 --- a/.emacs.d/snippets/cmake-mode/ifelse +++ /dev/null @@ -1,9 +0,0 @@ -# -*- mode: snippet -*- -# name: ifelse -# key: if -# -- -if(${1:cond}) - $2 -else(${3:cond}) - $0 -endif($1)$0 \ No newline at end of file diff --git a/.emacs.d/snippets/cmake-mode/include b/.emacs.d/snippets/cmake-mode/include deleted file mode 100644 index caf4742..0000000 --- a/.emacs.d/snippets/cmake-mode/include +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: include -# key: inc -# -- -include($0) diff --git a/.emacs.d/snippets/cmake-mode/macro b/.emacs.d/snippets/cmake-mode/macro deleted file mode 100644 index 09652a5..0000000 --- a/.emacs.d/snippets/cmake-mode/macro +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: macro -# key: macro -# -- -macro(${1:name}${2: args}) - $2 -endmacro($1)$0 \ No newline at end of file diff --git a/.emacs.d/snippets/cmake-mode/message b/.emacs.d/snippets/cmake-mode/message deleted file mode 100644 index ede2c77..0000000 --- a/.emacs.d/snippets/cmake-mode/message +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: message -# key: msg -# -- -message(${1:STATUS }"$0") \ No newline at end of file diff --git a/.emacs.d/snippets/cmake-mode/option b/.emacs.d/snippets/cmake-mode/option deleted file mode 100644 index b8b51e4..0000000 --- a/.emacs.d/snippets/cmake-mode/option +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: option -# key: opt -# -- -option(${1:OPT} "${2:docstring}" ${3:value}) \ No newline at end of file diff --git a/.emacs.d/snippets/cmake-mode/project b/.emacs.d/snippets/cmake-mode/project deleted file mode 100644 index 67b0138..0000000 --- a/.emacs.d/snippets/cmake-mode/project +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: project -# key: proj -# -- -project($0) \ No newline at end of file diff --git a/.emacs.d/snippets/cmake-mode/set b/.emacs.d/snippets/cmake-mode/set deleted file mode 100644 index 8d105bd..0000000 --- a/.emacs.d/snippets/cmake-mode/set +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: set -# key: set -# -- -set(${1:var} ${2:value}) \ No newline at end of file diff --git a/.emacs.d/snippets/conf-unix-mode/.yas-parents b/.emacs.d/snippets/conf-unix-mode/.yas-parents deleted file mode 100644 index d58dacb..0000000 --- a/.emacs.d/snippets/conf-unix-mode/.yas-parents +++ /dev/null @@ -1 +0,0 @@ -text-mode \ No newline at end of file diff --git a/.emacs.d/snippets/conf-unix-mode/section b/.emacs.d/snippets/conf-unix-mode/section deleted file mode 100644 index 7f5553d..0000000 --- a/.emacs.d/snippets/conf-unix-mode/section +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: section -# key: sec -# section for xorg.conf -# -- -Section "${1:Device}" - $0 -EndSection \ No newline at end of file diff --git a/.emacs.d/snippets/cperl-mode/.yas-parents b/.emacs.d/snippets/cperl-mode/.yas-parents deleted file mode 100644 index bfa2993..0000000 --- a/.emacs.d/snippets/cperl-mode/.yas-parents +++ /dev/null @@ -1 +0,0 @@ -perl-mode diff --git a/.emacs.d/snippets/cpp-omnet-mode/EV b/.emacs.d/snippets/cpp-omnet-mode/EV deleted file mode 100644 index ab5d427..0000000 --- a/.emacs.d/snippets/cpp-omnet-mode/EV +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: EV -# key: ev -# -- -EV << "${1:string}"$0; \ No newline at end of file diff --git a/.emacs.d/snippets/cpp-omnet-mode/emit_signal b/.emacs.d/snippets/cpp-omnet-mode/emit_signal deleted file mode 100644 index 5303595..0000000 --- a/.emacs.d/snippets/cpp-omnet-mode/emit_signal +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: emit_signal -# key: emit -# -- -emit(${1:signal_id}, ${2:long}); \ No newline at end of file diff --git a/.emacs.d/snippets/cpp-omnet-mode/intuniform b/.emacs.d/snippets/cpp-omnet-mode/intuniform deleted file mode 100644 index 24921d7..0000000 --- a/.emacs.d/snippets/cpp-omnet-mode/intuniform +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: intuniform -# key: intuni -# -- -intuniform(${1:0}, ${2:1}) \ No newline at end of file diff --git a/.emacs.d/snippets/cpp-omnet-mode/math b/.emacs.d/snippets/cpp-omnet-mode/math deleted file mode 100644 index bb6f4ba..0000000 --- a/.emacs.d/snippets/cpp-omnet-mode/math +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: math -# key: math -# -- -#include \ No newline at end of file diff --git a/.emacs.d/snippets/cpp-omnet-mode/nan b/.emacs.d/snippets/cpp-omnet-mode/nan deleted file mode 100644 index 601b373..0000000 --- a/.emacs.d/snippets/cpp-omnet-mode/nan +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: nan -# key: nan -# -- -isnan(${1:x}) \ No newline at end of file diff --git a/.emacs.d/snippets/cpp-omnet-mode/omnet b/.emacs.d/snippets/cpp-omnet-mode/omnet deleted file mode 100644 index 6342017..0000000 --- a/.emacs.d/snippets/cpp-omnet-mode/omnet +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: omnet -# key: omnet -# -- -#include \ No newline at end of file diff --git a/.emacs.d/snippets/cpp-omnet-mode/parameter_omnetpp b/.emacs.d/snippets/cpp-omnet-mode/parameter_omnetpp deleted file mode 100644 index d1aea19..0000000 --- a/.emacs.d/snippets/cpp-omnet-mode/parameter_omnetpp +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: parameter_omnetpp -# key: par -# -- -${1:var} = par("${2:par}"); \ No newline at end of file diff --git a/.emacs.d/snippets/cpp-omnet-mode/scheduleAt b/.emacs.d/snippets/cpp-omnet-mode/scheduleAt deleted file mode 100644 index e3edb3e..0000000 --- a/.emacs.d/snippets/cpp-omnet-mode/scheduleAt +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: scheduleAt -# key: sched -# -- -scheduleAt(simTime()+${1:1.0}, ${2:event}); \ No newline at end of file diff --git a/.emacs.d/snippets/cpp-omnet-mode/uniform b/.emacs.d/snippets/cpp-omnet-mode/uniform deleted file mode 100644 index d1f81d5..0000000 --- a/.emacs.d/snippets/cpp-omnet-mode/uniform +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: uniform -# key: uni -# uniform distribution -# -- -uniform(${1:0}, ${2:1}) \ No newline at end of file diff --git a/.emacs.d/snippets/csharp-mode/.yas-parents b/.emacs.d/snippets/csharp-mode/.yas-parents deleted file mode 100644 index ce9828b..0000000 --- a/.emacs.d/snippets/csharp-mode/.yas-parents +++ /dev/null @@ -1 +0,0 @@ -cc-mode diff --git a/.emacs.d/snippets/csharp-mode/attrib b/.emacs.d/snippets/csharp-mode/attrib deleted file mode 100644 index ccc9754..0000000 --- a/.emacs.d/snippets/csharp-mode/attrib +++ /dev/null @@ -1,8 +0,0 @@ -#contributor : Alejandro Espinoza Esparza -#name : private attribute ....; -# key: attrib -# -- -/// -/// $3 -/// -private $1 $2; \ No newline at end of file diff --git a/.emacs.d/snippets/csharp-mode/attrib.1 b/.emacs.d/snippets/csharp-mode/attrib.1 deleted file mode 100644 index ba06d76..0000000 --- a/.emacs.d/snippets/csharp-mode/attrib.1 +++ /dev/null @@ -1,22 +0,0 @@ -#contributor : Alejandro Espinoza Esparza -#name : private attribute ....; public property ... ... { ... } -# key: attrib -# -- -/// -/// $3 -/// -private $1 $2; - -/// -/// $4 -/// -/// $5 -public $1 $2 -{ - get { - return this.$2; - } - set { - this.$2 = value; - } -} \ No newline at end of file diff --git a/.emacs.d/snippets/csharp-mode/attrib.2 b/.emacs.d/snippets/csharp-mode/attrib.2 deleted file mode 100644 index 82962fb..0000000 --- a/.emacs.d/snippets/csharp-mode/attrib.2 +++ /dev/null @@ -1,22 +0,0 @@ -#contributor : Alejandro Espinoza Esparza -#name : private _attribute ....; public Property ... ... { ... } -# key: attrib -# -- -/// -/// $3 -/// -private $1 ${2:$(if (> (length yas-text) 0) (format "_%s%s" (downcase (substring yas-text 0 1)) (substring yas-text 1 (length yas-text))) "")}; - -/// -/// ${3:Description} -/// -/// $1 -public ${1:Type} ${2:Name} -{ - get { - return this.${2:$(if (> (length yas-text) 0) (format "_%s%s" (downcase (substring yas-text 0 1)) (substring yas-text 1 (length yas-text))) "")}; - } - set { - this.${2:$(if (> (length yas-text) 0) (format "_%s%s" (downcase (substring yas-text 0 1)) (substring yas-text 1 (length yas-text))) "")} = value; - } -} \ No newline at end of file diff --git a/.emacs.d/snippets/csharp-mode/class b/.emacs.d/snippets/csharp-mode/class deleted file mode 100644 index bea8a1e..0000000 --- a/.emacs.d/snippets/csharp-mode/class +++ /dev/null @@ -1,22 +0,0 @@ -#contributor : Alejandro Espinoza Esparza -#name : class ... { ... } -# key: class -# -- -${5:public} class ${1:Name} -{ - #region Ctor & Destructor - /// - /// ${3:Standard Constructor} - /// - public $1($2) - { - } - - /// - /// ${4:Default Destructor} - /// - public ~$1() - { - } - #endregion -} \ No newline at end of file diff --git a/.emacs.d/snippets/csharp-mode/comment b/.emacs.d/snippets/csharp-mode/comment deleted file mode 100644 index 44f2fb3..0000000 --- a/.emacs.d/snippets/csharp-mode/comment +++ /dev/null @@ -1,7 +0,0 @@ -#contributor : Alejandro Espinoza Esparza -#name : /// ... -# key: comment -# -- -/// -/// $1 -/// \ No newline at end of file diff --git a/.emacs.d/snippets/csharp-mode/comment.1 b/.emacs.d/snippets/csharp-mode/comment.1 deleted file mode 100644 index dda243e..0000000 --- a/.emacs.d/snippets/csharp-mode/comment.1 +++ /dev/null @@ -1,5 +0,0 @@ -#contributor : Alejandro Espinoza Esparza -#name : /// ... -# key: comment -# -- -/// $2 \ No newline at end of file diff --git a/.emacs.d/snippets/csharp-mode/comment.2 b/.emacs.d/snippets/csharp-mode/comment.2 deleted file mode 100644 index 34bc58c..0000000 --- a/.emacs.d/snippets/csharp-mode/comment.2 +++ /dev/null @@ -1,5 +0,0 @@ -#contributor : Alejandro Espinoza Esparza -#name : /// ... -# key: comment -# -- -/// $1 \ No newline at end of file diff --git a/.emacs.d/snippets/csharp-mode/comment.3 b/.emacs.d/snippets/csharp-mode/comment.3 deleted file mode 100644 index 15f2e1a..0000000 --- a/.emacs.d/snippets/csharp-mode/comment.3 +++ /dev/null @@ -1,5 +0,0 @@ -#contributor : Alejandro Espinoza Esparza -#name : /// ... -# key: comment -# -- -/// $2 \ No newline at end of file diff --git a/.emacs.d/snippets/csharp-mode/fore b/.emacs.d/snippets/csharp-mode/fore deleted file mode 100644 index d45c0d0..0000000 --- a/.emacs.d/snippets/csharp-mode/fore +++ /dev/null @@ -1,8 +0,0 @@ -#contributor : Jostein Kjønigsen -#name : foreach { ... } -# key: fore -# -- -foreach (${1:var} ${2:item} in ${3:list}) -{ - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/csharp-mode/main b/.emacs.d/snippets/csharp-mode/main deleted file mode 100644 index 0075116..0000000 --- a/.emacs.d/snippets/csharp-mode/main +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: main -# key: main -# -- -static void Main(string[] args) -{ - $0 -} diff --git a/.emacs.d/snippets/csharp-mode/method b/.emacs.d/snippets/csharp-mode/method deleted file mode 100644 index e8cb7fc..0000000 --- a/.emacs.d/snippets/csharp-mode/method +++ /dev/null @@ -1,11 +0,0 @@ -#contributor : Alejandro Espinoza Esparza -#name : public void Method { ... } -# key: method -# -- -/// -/// ${5:Description} -/// ${2:$(if (string= (upcase yas-text) "VOID") "" (format "%s%s%s" "\n/// " yas-text ""))} -${1:public} ${2:void} ${3:MethodName}($4) -{ -$0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/csharp-mode/namespace b/.emacs.d/snippets/csharp-mode/namespace deleted file mode 100644 index 4d8d154..0000000 --- a/.emacs.d/snippets/csharp-mode/namespace +++ /dev/null @@ -1,8 +0,0 @@ -#contributor : Alejandro Espinoza Esparza -#name : namespace .. { ... } -# key: namespace -# -- -namespace $1 -{ -$0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/csharp-mode/prop b/.emacs.d/snippets/csharp-mode/prop deleted file mode 100644 index 7d75dee..0000000 --- a/.emacs.d/snippets/csharp-mode/prop +++ /dev/null @@ -1,17 +0,0 @@ -#contributor : Alejandro Espinoza Esparza -#name : property ... ... { ... } -# key: prop -# -- -/// -/// $5 -/// -/// $6 -$1 $2 $3 -{ - get { - return this.$4; - } - set { - this.$4 = value; - } -} \ No newline at end of file diff --git a/.emacs.d/snippets/csharp-mode/region b/.emacs.d/snippets/csharp-mode/region deleted file mode 100644 index 498d153..0000000 --- a/.emacs.d/snippets/csharp-mode/region +++ /dev/null @@ -1,7 +0,0 @@ -#contributor : Alejandro Espinoza Esparza -#name : #region ... #endregion -# key: region -# -- -#region $1 -$0 -#endregion \ No newline at end of file diff --git a/.emacs.d/snippets/csharp-mode/using b/.emacs.d/snippets/csharp-mode/using deleted file mode 100644 index 4556b8c..0000000 --- a/.emacs.d/snippets/csharp-mode/using +++ /dev/null @@ -1,5 +0,0 @@ -#contributor : Alejandro Espinoza Esparza -#name : using ...; -# key: using -# -- -using $1; \ No newline at end of file diff --git a/.emacs.d/snippets/csharp-mode/using.1 b/.emacs.d/snippets/csharp-mode/using.1 deleted file mode 100644 index fd80875..0000000 --- a/.emacs.d/snippets/csharp-mode/using.1 +++ /dev/null @@ -1,5 +0,0 @@ -#contributor : Alejandro Espinoza Esparza -#name : using System; -# key: using -# -- -using System; \ No newline at end of file diff --git a/.emacs.d/snippets/csharp-mode/using.2 b/.emacs.d/snippets/csharp-mode/using.2 deleted file mode 100644 index ebcaadb..0000000 --- a/.emacs.d/snippets/csharp-mode/using.2 +++ /dev/null @@ -1,5 +0,0 @@ -#contributor : Alejandro Espinoza Esparza -#name : using System....; -# key: using -# -- -using System.$1; \ No newline at end of file diff --git a/.emacs.d/snippets/css-mode/bg b/.emacs.d/snippets/css-mode/bg deleted file mode 100644 index d731807..0000000 --- a/.emacs.d/snippets/css-mode/bg +++ /dev/null @@ -1,3 +0,0 @@ -#name : background-color: ... -# -- -background-color: #${1:DDD}; \ No newline at end of file diff --git a/.emacs.d/snippets/css-mode/bg.1 b/.emacs.d/snippets/css-mode/bg.1 deleted file mode 100644 index d31f540..0000000 --- a/.emacs.d/snippets/css-mode/bg.1 +++ /dev/null @@ -1,3 +0,0 @@ -#name : background-image: ... -# -- -background-image: url($1); \ No newline at end of file diff --git a/.emacs.d/snippets/css-mode/bor b/.emacs.d/snippets/css-mode/bor deleted file mode 100644 index eb3a2b4..0000000 --- a/.emacs.d/snippets/css-mode/bor +++ /dev/null @@ -1,3 +0,0 @@ -#name : border size style color -# -- -border: ${1:1px} ${2:solid} #${3:999}; \ No newline at end of file diff --git a/.emacs.d/snippets/css-mode/cl b/.emacs.d/snippets/css-mode/cl deleted file mode 100644 index 4fc7a8d..0000000 --- a/.emacs.d/snippets/css-mode/cl +++ /dev/null @@ -1,4 +0,0 @@ -#contributor : rejeep -#name : clear: ... -# -- -clear: $1; diff --git a/.emacs.d/snippets/css-mode/disp.block b/.emacs.d/snippets/css-mode/disp.block deleted file mode 100644 index f74ea3c..0000000 --- a/.emacs.d/snippets/css-mode/disp.block +++ /dev/null @@ -1,4 +0,0 @@ -#contributor : rejeep -#name : display: block -# -- -display: block; diff --git a/.emacs.d/snippets/css-mode/disp.inline b/.emacs.d/snippets/css-mode/disp.inline deleted file mode 100644 index 30275a8..0000000 --- a/.emacs.d/snippets/css-mode/disp.inline +++ /dev/null @@ -1,4 +0,0 @@ -#contributor : rejeep -#name : display: inline -# -- -display: inline; diff --git a/.emacs.d/snippets/css-mode/disp.none b/.emacs.d/snippets/css-mode/disp.none deleted file mode 100644 index 80632a5..0000000 --- a/.emacs.d/snippets/css-mode/disp.none +++ /dev/null @@ -1,4 +0,0 @@ -#contributor : rejeep -#name : display: none -# -- -display: none; diff --git a/.emacs.d/snippets/css-mode/ff b/.emacs.d/snippets/css-mode/ff deleted file mode 100644 index a7352cf..0000000 --- a/.emacs.d/snippets/css-mode/ff +++ /dev/null @@ -1,4 +0,0 @@ -#contributor : rejeep -#name : font-family: ... -# -- -font-family: $1; diff --git a/.emacs.d/snippets/css-mode/fs b/.emacs.d/snippets/css-mode/fs deleted file mode 100644 index c28cdbb..0000000 --- a/.emacs.d/snippets/css-mode/fs +++ /dev/null @@ -1,4 +0,0 @@ -#contributor : rejeep -#name : font-size: ... -# -- -font-size: ${12px}; diff --git a/.emacs.d/snippets/css-mode/mar.bottom b/.emacs.d/snippets/css-mode/mar.bottom deleted file mode 100644 index 9672f60..0000000 --- a/.emacs.d/snippets/css-mode/mar.bottom +++ /dev/null @@ -1,4 +0,0 @@ -#contributor : rejeep -#name : margin-bottom: ... -# -- -margin-bottom: $1; diff --git a/.emacs.d/snippets/css-mode/mar.left b/.emacs.d/snippets/css-mode/mar.left deleted file mode 100644 index 414353e..0000000 --- a/.emacs.d/snippets/css-mode/mar.left +++ /dev/null @@ -1,4 +0,0 @@ -#contributor : rejeep -#name : margin-left: ... -# -- -margin-left: $1; diff --git a/.emacs.d/snippets/css-mode/mar.mar b/.emacs.d/snippets/css-mode/mar.mar deleted file mode 100644 index 13354db..0000000 --- a/.emacs.d/snippets/css-mode/mar.mar +++ /dev/null @@ -1,4 +0,0 @@ -#contributor : rejeep -#name : margin: ... -# -- -margin: $1; diff --git a/.emacs.d/snippets/css-mode/mar.margin b/.emacs.d/snippets/css-mode/mar.margin deleted file mode 100644 index 97de70c..0000000 --- a/.emacs.d/snippets/css-mode/mar.margin +++ /dev/null @@ -1,4 +0,0 @@ -#contributor : rejeep -#name : margin top right bottom left -# -- -margin: ${top} ${right} ${bottom} ${left}; diff --git a/.emacs.d/snippets/css-mode/mar.right b/.emacs.d/snippets/css-mode/mar.right deleted file mode 100644 index 47a4973..0000000 --- a/.emacs.d/snippets/css-mode/mar.right +++ /dev/null @@ -1,4 +0,0 @@ -#contributor : rejeep -#name : margin-right: ... -# -- -margin-right: $1; diff --git a/.emacs.d/snippets/css-mode/mar.top b/.emacs.d/snippets/css-mode/mar.top deleted file mode 100644 index c805754..0000000 --- a/.emacs.d/snippets/css-mode/mar.top +++ /dev/null @@ -1,4 +0,0 @@ -#contributor : rejeep -#name : margin-top: ... -# -- -margin-top: $1; diff --git a/.emacs.d/snippets/css-mode/pad.bottom b/.emacs.d/snippets/css-mode/pad.bottom deleted file mode 100644 index 3b9495e..0000000 --- a/.emacs.d/snippets/css-mode/pad.bottom +++ /dev/null @@ -1,4 +0,0 @@ -#contributor : rejeep -#name : padding-bottom: ... -# -- -padding-bottom: $1; diff --git a/.emacs.d/snippets/css-mode/pad.left b/.emacs.d/snippets/css-mode/pad.left deleted file mode 100644 index ecae515..0000000 --- a/.emacs.d/snippets/css-mode/pad.left +++ /dev/null @@ -1,4 +0,0 @@ -#contributor : rejeep -#name : padding-left: ... -# -- -padding-left: $1; diff --git a/.emacs.d/snippets/css-mode/pad.pad b/.emacs.d/snippets/css-mode/pad.pad deleted file mode 100644 index ee3a682..0000000 --- a/.emacs.d/snippets/css-mode/pad.pad +++ /dev/null @@ -1,4 +0,0 @@ -#contributor : rejeep -#name : padding: ... -# -- -padding: $1; diff --git a/.emacs.d/snippets/css-mode/pad.padding b/.emacs.d/snippets/css-mode/pad.padding deleted file mode 100644 index c1009d3..0000000 --- a/.emacs.d/snippets/css-mode/pad.padding +++ /dev/null @@ -1,4 +0,0 @@ -#contributor : rejeep -#name : padding: top right bottom left -# -- -padding: ${top} ${right} ${bottom} ${left}; diff --git a/.emacs.d/snippets/css-mode/pad.right b/.emacs.d/snippets/css-mode/pad.right deleted file mode 100644 index 98a9e12..0000000 --- a/.emacs.d/snippets/css-mode/pad.right +++ /dev/null @@ -1,4 +0,0 @@ -#contributor : rejeep -#name : padding-right: ... -# -- -padding-right: $1; diff --git a/.emacs.d/snippets/css-mode/pad.top b/.emacs.d/snippets/css-mode/pad.top deleted file mode 100644 index 34987f6..0000000 --- a/.emacs.d/snippets/css-mode/pad.top +++ /dev/null @@ -1,4 +0,0 @@ -#contributor : rejeep -#name : padding-top: ... -# -- -padding-top: $1; diff --git a/.emacs.d/snippets/css-mode/v b/.emacs.d/snippets/css-mode/v deleted file mode 100644 index fec5bd5..0000000 --- a/.emacs.d/snippets/css-mode/v +++ /dev/null @@ -1,10 +0,0 @@ -# -*- mode: snippet -*- -# name: -vendor-prefix -# contributor: Prateek Saxena -# key: -v -# -- -$1: $2; --webkit-$1: $2; --moz-$1: $2; --ms-$1: $2; --o-$1: $2; \ No newline at end of file diff --git a/.emacs.d/snippets/dix-mode/call-macro b/.emacs.d/snippets/dix-mode/call-macro deleted file mode 100644 index c71fc1f..0000000 --- a/.emacs.d/snippets/dix-mode/call-macro +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: -# key: m -# condition: (progn (backward-char 1) (dix-transfer-enclosing-allows "call-macro")) -# binding: direct-keybinding -# -- -$0 diff --git a/.emacs.d/snippets/dix-mode/choose b/.emacs.d/snippets/dix-mode/choose deleted file mode 100644 index 196036e..0000000 --- a/.emacs.d/snippets/dix-mode/choose +++ /dev/null @@ -1,10 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: elements -# key: c -# condition: (progn (backward-char 1) (dix-transfer-enclosing-allows "choose")) -# binding: direct-keybinding -# -- - - $0 - - diff --git a/.emacs.d/snippets/dix-mode/clip b/.emacs.d/snippets/dix-mode/clip deleted file mode 100644 index cbad381..0000000 --- a/.emacs.d/snippets/dix-mode/clip +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: elements -# key: c -# condition: (progn (backward-char 1) (dix-transfer-enclosing-allows "clip")) -# binding: direct-keybinding -# -- -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/dix-mode/e-in-mono-section b/.emacs.d/snippets/dix-mode/e-in-mono-section deleted file mode 100644 index 9d14896..0000000 --- a/.emacs.d/snippets/dix-mode/e-in-mono-section +++ /dev/null @@ -1,9 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: in monodix section -# key: after leaving -# -- - ${1:$(dix-yas-lm-to-i)} -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/dix-mode/e-in-pardef b/.emacs.d/snippets/dix-mode/e-in-pardef deleted file mode 100644 index 01292b1..0000000 --- a/.emacs.d/snippets/dix-mode/e-in-pardef +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: in pardefs -# key:

$1 $1$0

diff --git a/.emacs.d/snippets/dix-mode/let b/.emacs.d/snippets/dix-mode/let deleted file mode 100644 index d3b67e8..0000000 --- a/.emacs.d/snippets/dix-mode/let +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: elements -# key: l -# condition: (progn (backward-char 1) (dix-transfer-enclosing-allows "let")) -# binding: direct-keybinding -# -- -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/dix-mode/lit b/.emacs.d/snippets/dix-mode/lit deleted file mode 100644 index e00bdf5..0000000 --- a/.emacs.d/snippets/dix-mode/lit +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: elements -# key: l -# condition: (progn (backward-char 1) (dix-transfer-enclosing-allows "lit")) -# binding: direct-keybinding -# -- -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/dix-mode/lit-tag b/.emacs.d/snippets/dix-mode/lit-tag deleted file mode 100644 index 3e53a0d..0000000 --- a/.emacs.d/snippets/dix-mode/lit-tag +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: elements -# key: lt -# condition: (progn (backward-char 1) (dix-transfer-enclosing-allows "lit-tag")) -# binding: direct-keybinding -# -- -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/dix-mode/otherwise b/.emacs.d/snippets/dix-mode/otherwise deleted file mode 100644 index 0b59230..0000000 --- a/.emacs.d/snippets/dix-mode/otherwise +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: elements -# key: o -# condition: (progn (backward-char 1) (dix-transfer-enclosing-allows "otherwise")) -# binding: direct-keybinding -# -- -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/dix-mode/p b/.emacs.d/snippets/dix-mode/p deleted file mode 100644 index 29bc348..0000000 --- a/.emacs.d/snippets/dix-mode/p +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name:

element -# key: p -# condition: (progn (backward-char 1) (equal (dix-enclosing-elt 'noerror) "e")) -# binding: direct-keybinding -# -- -

$1 $1$0

\ No newline at end of file diff --git a/.emacs.d/snippets/dix-mode/par b/.emacs.d/snippets/dix-mode/par deleted file mode 100644 index 99a2bf4..0000000 --- a/.emacs.d/snippets/dix-mode/par +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: element -# key:

$0 \ No newline at end of file diff --git a/.emacs.d/snippets/dix-mode/pardef b/.emacs.d/snippets/dix-mode/pardef deleted file mode 100644 index b048656..0000000 --- a/.emacs.d/snippets/dix-mode/pardef +++ /dev/null @@ -1,12 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: element -# key:

-

${1:$(dix-yas-pdname-to-suffix yas-text)} ${1:$(dix-yas-pdname-to-suffix yas-text)}${1:$(dix-yas-pdname-to-pos yas-text)}$2

-

${1:$(dix-yas-pdname-to-suffix yas-text)}$0 ${1:$(dix-yas-pdname-to-suffix yas-text)}${1:$(dix-yas-pdname-to-pos yas-text)}$2

-

${1:$(dix-yas-pdname-to-suffix yas-text)} ${1:$(dix-yas-pdname-to-suffix yas-text)}${1:$(dix-yas-pdname-to-pos yas-text)}$2

-

${1:$(dix-yas-pdname-to-suffix yas-text)} ${1:$(dix-yas-pdname-to-suffix yas-text)}${1:$(dix-yas-pdname-to-pos yas-text)}$2

- \ No newline at end of file diff --git a/.emacs.d/snippets/dix-mode/s b/.emacs.d/snippets/dix-mode/s deleted file mode 100644 index 6e854eb..0000000 --- a/.emacs.d/snippets/dix-mode/s +++ /dev/null @@ -1,9 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: element -# key: $0 \ No newline at end of file diff --git a/.emacs.d/snippets/dix-mode/sdef b/.emacs.d/snippets/dix-mode/sdef deleted file mode 100644 index fa4447d..0000000 --- a/.emacs.d/snippets/dix-mode/sdef +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: element -# key: diff --git a/.emacs.d/snippets/dix-mode/section b/.emacs.d/snippets/dix-mode/section deleted file mode 100644 index e2893b9..0000000 --- a/.emacs.d/snippets/dix-mode/section +++ /dev/null @@ -1,9 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name:
element -# key: -$0 -
diff --git a/.emacs.d/snippets/dix-mode/var b/.emacs.d/snippets/dix-mode/var deleted file mode 100644 index 897813d..0000000 --- a/.emacs.d/snippets/dix-mode/var +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: elements -# key: v -# condition: (progn (backward-char 1) (dix-transfer-enclosing-allows "var")) -# binding: direct-keybinding -# -- -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/dix-mode/when b/.emacs.d/snippets/dix-mode/when deleted file mode 100644 index 879c0ff..0000000 --- a/.emacs.d/snippets/dix-mode/when +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: elements -# key: w -# condition: (progn (backward-char 1) (dix-transfer-enclosing-allows "when")) -# binding: direct-keybinding -# -- -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/dix-mode/with-param b/.emacs.d/snippets/dix-mode/with-param deleted file mode 100644 index 3af7299..0000000 --- a/.emacs.d/snippets/dix-mode/with-param +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: -# key: w -# condition: (progn (backward-char 1) (dix-transfer-enclosing-allows "with-param")) -# binding: direct-keybinding -# -- -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/elixir-mode/.yas-parents b/.emacs.d/snippets/elixir-mode/.yas-parents deleted file mode 100644 index 75d003f..0000000 --- a/.emacs.d/snippets/elixir-mode/.yas-parents +++ /dev/null @@ -1 +0,0 @@ -prog-mode diff --git a/.emacs.d/snippets/elixir-mode/call b/.emacs.d/snippets/elixir-mode/call deleted file mode 100644 index 27779ab..0000000 --- a/.emacs.d/snippets/elixir-mode/call +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: call -# key: call -# -- -GenServer.call(${1:__MODULE__}, $0) diff --git a/.emacs.d/snippets/elixir-mode/case b/.emacs.d/snippets/elixir-mode/case deleted file mode 100644 index 1630d2e..0000000 --- a/.emacs.d/snippets/elixir-mode/case +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: case -# key: case -# -- -case $1 do - $0 -end diff --git a/.emacs.d/snippets/elixir-mode/cast b/.emacs.d/snippets/elixir-mode/cast deleted file mode 100644 index d06f3b7..0000000 --- a/.emacs.d/snippets/elixir-mode/cast +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: cast -# key: cast -# -- -GenServer.cast(${1:__MODULE__}, $0) diff --git a/.emacs.d/snippets/elixir-mode/cond b/.emacs.d/snippets/elixir-mode/cond deleted file mode 100644 index 40934ff..0000000 --- a/.emacs.d/snippets/elixir-mode/cond +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: cond -# key: cond -# -- -cond do - $0 -end diff --git a/.emacs.d/snippets/elixir-mode/def b/.emacs.d/snippets/elixir-mode/def deleted file mode 100644 index 171c165..0000000 --- a/.emacs.d/snippets/elixir-mode/def +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: def -# key: def -# -- -def ${1:function}${2:(${3:args})} do - $0 -end diff --git a/.emacs.d/snippets/elixir-mode/defmacro b/.emacs.d/snippets/elixir-mode/defmacro deleted file mode 100644 index 6412f6c..0000000 --- a/.emacs.d/snippets/elixir-mode/defmacro +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: defmacro -# key: defmacro -# -- -defmacro $1 do - $0 -end diff --git a/.emacs.d/snippets/elixir-mode/defmacrop b/.emacs.d/snippets/elixir-mode/defmacrop deleted file mode 100644 index d1bbde6..0000000 --- a/.emacs.d/snippets/elixir-mode/defmacrop +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: defmacrop -# key: defmacrop -# -- -defmacrop $1 do - $0 -end diff --git a/.emacs.d/snippets/elixir-mode/defmodule b/.emacs.d/snippets/elixir-mode/defmodule deleted file mode 100644 index 83568ea..0000000 --- a/.emacs.d/snippets/elixir-mode/defmodule +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: defmodule -# key: defmodule -# -- -defmodule $1 do - $0 -end diff --git a/.emacs.d/snippets/elixir-mode/defp b/.emacs.d/snippets/elixir-mode/defp deleted file mode 100644 index d2236d2..0000000 --- a/.emacs.d/snippets/elixir-mode/defp +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: defp -# key: defp -# -- -defp $1 do - $0 -end diff --git a/.emacs.d/snippets/elixir-mode/do b/.emacs.d/snippets/elixir-mode/do deleted file mode 100644 index 807dc99..0000000 --- a/.emacs.d/snippets/elixir-mode/do +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: do -# key: do -# -- -do - $0 -end diff --git a/.emacs.d/snippets/elixir-mode/doc b/.emacs.d/snippets/elixir-mode/doc deleted file mode 100644 index c23f906..0000000 --- a/.emacs.d/snippets/elixir-mode/doc +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: doc -# key: doc -# -- -@doc """ -$0 -""" diff --git a/.emacs.d/snippets/elixir-mode/fn b/.emacs.d/snippets/elixir-mode/fn deleted file mode 100644 index 0bdf073..0000000 --- a/.emacs.d/snippets/elixir-mode/fn +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: fn -# key: fn -# -- -fn ${1:x} -> $1$0 end \ No newline at end of file diff --git a/.emacs.d/snippets/elixir-mode/for b/.emacs.d/snippets/elixir-mode/for deleted file mode 100644 index 42b0c0f..0000000 --- a/.emacs.d/snippets/elixir-mode/for +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: for -# key: for -# -- -for ${2:x} <- ${1:enum} do - $2$0 -end diff --git a/.emacs.d/snippets/elixir-mode/hcall b/.emacs.d/snippets/elixir-mode/hcall deleted file mode 100644 index d878b74..0000000 --- a/.emacs.d/snippets/elixir-mode/hcall +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: hcall -# key: hcall -# -- -def handle_call($1, _from, state) do - reply = $0 - {:reply, reply, state} -end diff --git a/.emacs.d/snippets/elixir-mode/hcast b/.emacs.d/snippets/elixir-mode/hcast deleted file mode 100644 index a217806..0000000 --- a/.emacs.d/snippets/elixir-mode/hcast +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: hcast -# key: hcast -# -- -def handle_cast($1, state) do - $0 - {:noreply, state} -end diff --git a/.emacs.d/snippets/elixir-mode/hinfo b/.emacs.d/snippets/elixir-mode/hinfo deleted file mode 100644 index f4539ac..0000000 --- a/.emacs.d/snippets/elixir-mode/hinfo +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: hinfo -# key: hinfo -# -- -def handle_info($1, state) do - $0 - {:noreply, state} -end diff --git a/.emacs.d/snippets/elixir-mode/if b/.emacs.d/snippets/elixir-mode/if deleted file mode 100644 index 664d903..0000000 --- a/.emacs.d/snippets/elixir-mode/if +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: if -# key: if -# -- -if ${1:condition} do - $0 -end diff --git a/.emacs.d/snippets/elixir-mode/ife b/.emacs.d/snippets/elixir-mode/ife deleted file mode 100644 index 9bc95a5..0000000 --- a/.emacs.d/snippets/elixir-mode/ife +++ /dev/null @@ -1,9 +0,0 @@ -# -*- mode: snippet -*- -# name: if-else -# key: ife -# -- -if ${1:condition} do - $2 -else - $3 -end diff --git a/.emacs.d/snippets/elixir-mode/io b/.emacs.d/snippets/elixir-mode/io deleted file mode 100644 index dd916b4..0000000 --- a/.emacs.d/snippets/elixir-mode/io +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: io -# key: io -# -- -IO.puts("$1")$0 diff --git a/.emacs.d/snippets/elixir-mode/iop b/.emacs.d/snippets/elixir-mode/iop deleted file mode 100644 index a9ce985..0000000 --- a/.emacs.d/snippets/elixir-mode/iop +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: iop -# key: iop -# -- -IO.puts("$1 #{inspect $1}")$0 diff --git a/.emacs.d/snippets/elixir-mode/mdoc b/.emacs.d/snippets/elixir-mode/mdoc deleted file mode 100644 index c0cc4f2..0000000 --- a/.emacs.d/snippets/elixir-mode/mdoc +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: moduledoc -# key: mdoc -# -- -@moduledoc """ -$0 -""" diff --git a/.emacs.d/snippets/elixir-mode/pry b/.emacs.d/snippets/elixir-mode/pry deleted file mode 100644 index 5704c72..0000000 --- a/.emacs.d/snippets/elixir-mode/pry +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: pry -# key: pry -# group: debug -# -- -require IEx; IEx.pry diff --git a/.emacs.d/snippets/elixir-mode/test b/.emacs.d/snippets/elixir-mode/test deleted file mode 100644 index 9babbd4..0000000 --- a/.emacs.d/snippets/elixir-mode/test +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: test -# key: test -# -- -test "$1" do - $0 -end diff --git a/.emacs.d/snippets/elixir-mode/unless b/.emacs.d/snippets/elixir-mode/unless deleted file mode 100644 index 3b1a165..0000000 --- a/.emacs.d/snippets/elixir-mode/unless +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: unless -# key: unless -# -- -unless ${1:condition} do - $0 -end diff --git a/.emacs.d/snippets/emacs-lisp-mode/.read_me b/.emacs.d/snippets/emacs-lisp-mode/.read_me deleted file mode 100644 index 49c8e00..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/.read_me +++ /dev/null @@ -1,7 +0,0 @@ --*- coding: utf-8 -*- -Originally started by Xah Lee (xahlee.org) on 2009-02-22 -Released under GPL 3. - -Feel free to add missing ones or modify existing ones to improve. - -Those starting with “x-” are supposed to be idiom templates. Not sure it's very useful. They might start with “i-” or "id-" in the future. \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/add-hook b/.emacs.d/snippets/emacs-lisp-mode/add-hook deleted file mode 100644 index de8d16d..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/add-hook +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet; -*- -#contributor: Xah Lee (XahLee.org) -#name: add-hook -#key: add-hook -#key: ah -# -- -(add-hook '${1:name}-hook ${2:'${3:function}})$0 diff --git a/.emacs.d/snippets/emacs-lisp-mode/and b/.emacs.d/snippets/emacs-lisp-mode/and deleted file mode 100644 index 6502b6a..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/and +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: and -#key: and -#key: a -# -- -(and $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/append b/.emacs.d/snippets/emacs-lisp-mode/append deleted file mode 100644 index 4d74636..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/append +++ /dev/null @@ -1,5 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: append -#key: append -# -- -(append $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/apply b/.emacs.d/snippets/emacs-lisp-mode/apply deleted file mode 100644 index 2618e56..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/apply +++ /dev/null @@ -1,5 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: apply -#key: apply -# -- -(apply $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/aref b/.emacs.d/snippets/emacs-lisp-mode/aref deleted file mode 100644 index 4900445..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/aref +++ /dev/null @@ -1,5 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: aref -#key: aref -# -- -(aref ${1:array} {2:index}) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/aset b/.emacs.d/snippets/emacs-lisp-mode/aset deleted file mode 100644 index 60db82d..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/aset +++ /dev/null @@ -1,5 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: aset -#key: aset -# -- -(aset ${1:array} ${2:index} ${3:element}) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/assq b/.emacs.d/snippets/emacs-lisp-mode/assq deleted file mode 100644 index 81ed9cc..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/assq +++ /dev/null @@ -1,5 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: assq -#key: assq -# -- -(assq ${1:key} ${2:list}) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/autoload b/.emacs.d/snippets/emacs-lisp-mode/autoload deleted file mode 100644 index 5502d3d..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/autoload +++ /dev/null @@ -1,5 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: autoload -#key: autoload -# -- -(autoload ${1:function} "${2:filename}"${3: "docstring"}${4: interactive}${5: type}) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/backward-char b/.emacs.d/snippets/emacs-lisp-mode/backward-char deleted file mode 100644 index 296cf97..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/backward-char +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: backward-char -#key: backward-char -#key: bc -# -- -(backward-char $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/beginning-of-line b/.emacs.d/snippets/emacs-lisp-mode/beginning-of-line deleted file mode 100644 index 7dfd32c..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/beginning-of-line +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: beginning-of-line -#key: beginning-of-line -#key: bol -# -- -(beginning-of-line) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/bounds-of-thing-at-point b/.emacs.d/snippets/emacs-lisp-mode/bounds-of-thing-at-point deleted file mode 100644 index ada1bc0..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/bounds-of-thing-at-point +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: bounds-of-thing-at-point -#key: bounds-of-thing-at-point -#key: botap -# -- -(bounds-of-thing-at-point $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/buffer-file-name b/.emacs.d/snippets/emacs-lisp-mode/buffer-file-name deleted file mode 100644 index d983182..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/buffer-file-name +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: buffer-file-name -#key: buffer-file-name -#key: bfn -# -- -(buffer-file-name) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/buffer-modified-p b/.emacs.d/snippets/emacs-lisp-mode/buffer-modified-p deleted file mode 100644 index f3ca3aa..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/buffer-modified-p +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: buffer-modified-p -#key: buffer-modified-p -#key: bmp -# -- -(buffer-modified-p $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/buffer-substring b/.emacs.d/snippets/emacs-lisp-mode/buffer-substring deleted file mode 100644 index 767dd5a..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/buffer-substring +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: buffer-substring -#key: buffer-substring -#key: bs -# -- -(buffer-substring ${1:start} ${2:end}) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/buffer-substring-no-properties b/.emacs.d/snippets/emacs-lisp-mode/buffer-substring-no-properties deleted file mode 100644 index 4c27737..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/buffer-substring-no-properties +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: buffer-substring-no-properties -#key: buffer-substring-no-properties -#key: bsnp -# -- -(buffer-substring-no-properties ${1:start} ${2:end}) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/car b/.emacs.d/snippets/emacs-lisp-mode/car deleted file mode 100644 index 09ff8e4..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/car +++ /dev/null @@ -1,5 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: car -#key: car -# -- -(car $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/cdr b/.emacs.d/snippets/emacs-lisp-mode/cdr deleted file mode 100644 index 404d1d2..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/cdr +++ /dev/null @@ -1,5 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: cdr -#key: cdr -# -- -(cdr $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/concat b/.emacs.d/snippets/emacs-lisp-mode/concat deleted file mode 100644 index b94cfeb..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/concat +++ /dev/null @@ -1,5 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: concat -#key: concat -# -- -(concat $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/cond b/.emacs.d/snippets/emacs-lisp-mode/cond deleted file mode 100644 index 6cee429..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/cond +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: cond -#key: cond -# -- -(cond - (${1:condition} ${2:body})$0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/condition-case b/.emacs.d/snippets/emacs-lisp-mode/condition-case deleted file mode 100644 index d1249ff..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/condition-case +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: condition-case -#key: condition-case -#key: cc -# -- -(condition-case $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/cons b/.emacs.d/snippets/emacs-lisp-mode/cons deleted file mode 100644 index f186919..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/cons +++ /dev/null @@ -1,5 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: cons -#key: cons -# -- -(cons $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/consp b/.emacs.d/snippets/emacs-lisp-mode/consp deleted file mode 100644 index 55e9f77..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/consp +++ /dev/null @@ -1,5 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: consp -#key: consp -# -- -(consp $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/const b/.emacs.d/snippets/emacs-lisp-mode/const deleted file mode 100644 index fb13fcc..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/const +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: defconst -# key: const -# -- -(defconst ${1:name} ${2:value}${3: "${4:docstring}"})$0 \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/copy-directory b/.emacs.d/snippets/emacs-lisp-mode/copy-directory deleted file mode 100644 index 0b08d80..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/copy-directory +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: copy-directory -#key: copy-directory -#key: cd -# -- -(copy-directory ${1:directory} {2:target}${3: keep-time}${4: parents}) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/copy-file b/.emacs.d/snippets/emacs-lisp-mode/copy-file deleted file mode 100644 index b093970..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/copy-file +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: copy-file -#key: copy-file -#key: cf -# -- -(copy-file ${1:filename} ${2:newname}${3: ok-if-already-exists}${4: keep-time}{5: preserve-uid-gid}) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/current-buffer b/.emacs.d/snippets/emacs-lisp-mode/current-buffer deleted file mode 100644 index b25a48a..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/current-buffer +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: current-buffer -#key: current-buffer -#key: cb -# -- -(current-buffer) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/custom-autoload b/.emacs.d/snippets/emacs-lisp-mode/custom-autoload deleted file mode 100644 index 5b68e3f..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/custom-autoload +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: custom-autoload -#key: custom-autoload -#key: ca -# -- -(custom-autoload ${1:symbol} ${2:load}${3: noset}) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/defalias b/.emacs.d/snippets/emacs-lisp-mode/defalias deleted file mode 100644 index a2940b8..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/defalias +++ /dev/null @@ -1,5 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: defalias -#key: defalias -# -- -(defalias '${1:symbol} '${2:alias}${3: "docstring"}) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/defcustom b/.emacs.d/snippets/emacs-lisp-mode/defcustom deleted file mode 100644 index 10ff35a..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/defcustom +++ /dev/null @@ -1,5 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: defcustom -#key: defcustom -# -- -(defcustom ${1:symbol} ${2:standard} "${3:docstring}"${4: args}) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/define-key b/.emacs.d/snippets/emacs-lisp-mode/define-key deleted file mode 100644 index 4a63b5a..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/define-key +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: define-key -#key: define-key -#key: dk -# -- -(define-key ${1:mode}-map (kbd "${2:key}") $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/defsubst b/.emacs.d/snippets/emacs-lisp-mode/defsubst deleted file mode 100644 index 235aed0..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/defsubst +++ /dev/null @@ -1,5 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: defsubst -#key: defsubst -# -- -(defsubst $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/defun b/.emacs.d/snippets/emacs-lisp-mode/defun deleted file mode 100644 index d01a0fa..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/defun +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: defun -# key: def -# -- -(defun ${1:fun} (${2:args}) - "${3:docstring}" - ${4:(interactive${5: "${6:P}"})} - $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/defvar b/.emacs.d/snippets/emacs-lisp-mode/defvar deleted file mode 100644 index ed1bf8b..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/defvar +++ /dev/null @@ -1,4 +0,0 @@ -#name: defvar -#key: defvar -# -- -(defvar ${1:symbol} ${2:initvalue} "${3:docstring}") diff --git a/.emacs.d/snippets/emacs-lisp-mode/delete-char b/.emacs.d/snippets/emacs-lisp-mode/delete-char deleted file mode 100644 index da983bd..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/delete-char +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: delete-char -#key: delete-char -#key: dc -# -- -(delete-char $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/delete-directory b/.emacs.d/snippets/emacs-lisp-mode/delete-directory deleted file mode 100644 index bd6182b..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/delete-directory +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: delete-directory -#key: delete-directory -#key: dd -# -- -(delete-directory ${1:dicretory}${2: recursive}) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/delete-file b/.emacs.d/snippets/emacs-lisp-mode/delete-file deleted file mode 100644 index dfbd4f1..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/delete-file +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: delete-file -#key: delete-file -#key: df -# -- -(delete-file $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/delete-region b/.emacs.d/snippets/emacs-lisp-mode/delete-region deleted file mode 100644 index acffd38..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/delete-region +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: delete-region -#key: delete-region -#key: dr -# -- -(delete-region $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/directory-files b/.emacs.d/snippets/emacs-lisp-mode/directory-files deleted file mode 100644 index 5eb4c06..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/directory-files +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: directory-files -#key: directory-files -#key: df -# -- -(directory-files ${1:directory}${2: full}${3: match}${4: nosort}) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/dired.process_marked b/.emacs.d/snippets/emacs-lisp-mode/dired.process_marked deleted file mode 100644 index 1b42597..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/dired.process_marked +++ /dev/null @@ -1,16 +0,0 @@ -#name : process marked files in dired -#contributor : Xah Lee -# -- -;; idiom for processing a list of files in dired's marked files - -;; suppose myProcessFile is your function that takes a file path -;; and do some processing on the file - -(defun dired-myProcessFile () - "apply myProcessFile function to marked files in dired." - (interactive) - (require 'dired) - (mapc 'myProcessFile (dired-get-marked-files)) -) - -;; to use it, type M-x dired-myProcessFile diff --git a/.emacs.d/snippets/emacs-lisp-mode/dolist b/.emacs.d/snippets/emacs-lisp-mode/dolist deleted file mode 100644 index b425153..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/dolist +++ /dev/null @@ -1,5 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: dolist -#key: dolist -# -- -(dolist $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/end-of-line b/.emacs.d/snippets/emacs-lisp-mode/end-of-line deleted file mode 100644 index f8a2d9f..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/end-of-line +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: end-of-line -#key: end-of-line -#key: eol -# -- -(end-of-line) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/eq b/.emacs.d/snippets/emacs-lisp-mode/eq deleted file mode 100644 index 3d29f52..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/eq +++ /dev/null @@ -1,5 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: eq -#key: eq -# -- -(eq $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/equal b/.emacs.d/snippets/emacs-lisp-mode/equal deleted file mode 100644 index 7b0dd58..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/equal +++ /dev/null @@ -1,5 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: equal -#key: equal -# -- -(equal $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/error b/.emacs.d/snippets/emacs-lisp-mode/error deleted file mode 100644 index 39ed35c..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/error +++ /dev/null @@ -1,5 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: error -#key: error -# -- -(error "${1:message}"${2: format-args}) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/ert-deftest b/.emacs.d/snippets/emacs-lisp-mode/ert-deftest deleted file mode 100644 index 0ccdb73..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/ert-deftest +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -#contributor: Raghav Kumar Gautam -#name: ert-deftest -#key: edt -# -- -(ert-deftest ${1:test-name} () - $0) diff --git a/.emacs.d/snippets/emacs-lisp-mode/expand-file-name b/.emacs.d/snippets/emacs-lisp-mode/expand-file-name deleted file mode 100644 index c5eb0e7..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/expand-file-name +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: expand-file-name -#key: expand-file-name -#key: efn -# -- -(expand-file-name $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/fboundp b/.emacs.d/snippets/emacs-lisp-mode/fboundp deleted file mode 100644 index 830b46d..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/fboundp +++ /dev/null @@ -1,5 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: fboundp -#key: fboundp -# -- -(fboundp '$0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/file-name-directory b/.emacs.d/snippets/emacs-lisp-mode/file-name-directory deleted file mode 100644 index e7fb5c0..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/file-name-directory +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: file-name-directory -#key: file-name-directory -#key: fnd -# -- -(file-name-directory $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/file-name-extension b/.emacs.d/snippets/emacs-lisp-mode/file-name-extension deleted file mode 100644 index d02a3f0..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/file-name-extension +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: file-name-extension -#key: file-name-extension -#key: fne -# -- -(file-name-extension ${1:filename}${2: period}) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/file-name-nondirectory b/.emacs.d/snippets/emacs-lisp-mode/file-name-nondirectory deleted file mode 100644 index 5f1ccb1..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/file-name-nondirectory +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: file-name-nondirectory -#key: file-name-nondirectory -#key: fnn -# -- -(file-name-nondirectory $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/file-name-sans-extension b/.emacs.d/snippets/emacs-lisp-mode/file-name-sans-extension deleted file mode 100644 index 8b18db5..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/file-name-sans-extension +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: file-name-sans-extension -#key: file-name-sans-extension -#key: fnse -# -- -(file-name-sans-extension $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/file-relative-name b/.emacs.d/snippets/emacs-lisp-mode/file-relative-name deleted file mode 100644 index 7a702bc..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/file-relative-name +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: file-relative-name -#key: file-relative-name -#key: frn -# -- -(file-relative-name $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/file.process b/.emacs.d/snippets/emacs-lisp-mode/file.process deleted file mode 100644 index abd1a33..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/file.process +++ /dev/null @@ -1,17 +0,0 @@ -#name : a function that process a file -#contributor : Xah Lee -# -- -(defun doThisFile (fpath) - "Process the file at path FPATH ..." - (let () - ;; create temp buffer without undo record or font lock. (more efficient) - ;; first space in temp buff name is necessary - (set-buffer (get-buffer-create " myTemp")) - (insert-file-contents fpath nil nil nil t) - - ;; process it ... - ;; (goto-char 0) ; move to begining of file's content (in case it was open) - ;; ... do something here - ;; (write-file fpath) ;; write back to the file - - (kill-buffer " myTemp"))) diff --git a/.emacs.d/snippets/emacs-lisp-mode/file.read-lines b/.emacs.d/snippets/emacs-lisp-mode/file.read-lines deleted file mode 100644 index 7dba173..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/file.read-lines +++ /dev/null @@ -1,17 +0,0 @@ -#name : read lines of a file -#contributor : Xah Lee -# -- -(defun read-lines (filePath) - "Return a list of lines in FILEPATH." - (with-temp-buffer - (insert-file-contents filePath) - (split-string - (buffer-string) "\n" t))) - -;; process all lines -(mapc - (lambda (aLine) - (message aLine) ; do your stuff here - ) - (read-lines "inputFilePath") -) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/find-file b/.emacs.d/snippets/emacs-lisp-mode/find-file deleted file mode 100644 index 69d26ec..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/find-file +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: find-file -#key: find-file -#key: ff -# -- -(find-file $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/find-replace b/.emacs.d/snippets/emacs-lisp-mode/find-replace deleted file mode 100644 index cefcf51..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/find-replace +++ /dev/null @@ -1,17 +0,0 @@ -#name : find and replace on region -#contributor : Xah Lee -# -- -(defun replace-html-chars-region (start end) - "Replace “<” to “<” and other chars in HTML. -This works on the current region." - (interactive "r") - (save-restriction - (narrow-to-region start end) - (goto-char (point-min)) - (while (search-forward "&" nil t) (replace-match "&" nil t)) - (goto-char (point-min)) - (while (search-forward "<" nil t) (replace-match "<" nil t)) - (goto-char (point-min)) - (while (search-forward ">" nil t) (replace-match ">" nil t)) - ) - ) diff --git a/.emacs.d/snippets/emacs-lisp-mode/format b/.emacs.d/snippets/emacs-lisp-mode/format deleted file mode 100644 index 3f93f7c..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/format +++ /dev/null @@ -1,5 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: format -#key: f -# -- -(format "${1:message}" ${2:format-args}) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/forward-char b/.emacs.d/snippets/emacs-lisp-mode/forward-char deleted file mode 100644 index 1298e98..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/forward-char +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: forward-char -#key: forward-char -#key: fc -# -- -(forward-char $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/forward-line b/.emacs.d/snippets/emacs-lisp-mode/forward-line deleted file mode 100644 index 0556255..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/forward-line +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: forward-line -#key: forward-line -#key: fl -# -- -(forward-line $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/funcall b/.emacs.d/snippets/emacs-lisp-mode/funcall deleted file mode 100644 index fb486bc..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/funcall +++ /dev/null @@ -1,5 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: funcall -#key: funcall -# -- -(funcall $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/function b/.emacs.d/snippets/emacs-lisp-mode/function deleted file mode 100644 index 824721d..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/function +++ /dev/null @@ -1,5 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: function -#key: function -# -- -(function $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/get b/.emacs.d/snippets/emacs-lisp-mode/get deleted file mode 100644 index e371823..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/get +++ /dev/null @@ -1,5 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: get -#key: get -# -- -(get ${1:symbol} {2:propname}) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/global-set-key b/.emacs.d/snippets/emacs-lisp-mode/global-set-key deleted file mode 100644 index 5a2f3cc..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/global-set-key +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: global-set-key -#key: global-set-key -#key: gsk -# -- -(global-set-key (kbd "${1:key}") $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/goto-char b/.emacs.d/snippets/emacs-lisp-mode/goto-char deleted file mode 100644 index 7cb8d2b..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/goto-char +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: goto-char -#key: goto-char -#key: gc -# -- -(goto-char $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/grabstring b/.emacs.d/snippets/emacs-lisp-mode/grabstring deleted file mode 100644 index 55600b1..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/grabstring +++ /dev/null @@ -1,4 +0,0 @@ -#name : grab buffer substring -#contributor : Xah Lee -# -- -(setq $0 (buffer-substring-no-properties myStartPos myEndPos)) diff --git a/.emacs.d/snippets/emacs-lisp-mode/grabthing b/.emacs.d/snippets/emacs-lisp-mode/grabthing deleted file mode 100644 index 772b8dc..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/grabthing +++ /dev/null @@ -1,4 +0,0 @@ -#name : grab word under cursor -#contributor : Xah Lee -# -- -(setq $0 (thing-at-point 'symbol)) diff --git a/.emacs.d/snippets/emacs-lisp-mode/hash b/.emacs.d/snippets/emacs-lisp-mode/hash deleted file mode 100644 index a5d5786..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/hash +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: hash -# key: hash -# -- -(make-hash-table $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/if b/.emacs.d/snippets/emacs-lisp-mode/if deleted file mode 100644 index c797755..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/if +++ /dev/null @@ -1,5 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: if -#key: if -# -- -(if $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/insert b/.emacs.d/snippets/emacs-lisp-mode/insert deleted file mode 100644 index ae5943d..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/insert +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: insert -#key: insert -#key: i -# -- -(insert $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/insert-file-contents b/.emacs.d/snippets/emacs-lisp-mode/insert-file-contents deleted file mode 100644 index 5a14157..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/insert-file-contents +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: insert-file-contents -#key: insert-file-contents -#key: ifc -# -- -(insert-file-contents ${1:filename}${2: visit}${3: beg}${4: end}${5: replace}) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/interactive b/.emacs.d/snippets/emacs-lisp-mode/interactive deleted file mode 100644 index 9d73dba..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/interactive +++ /dev/null @@ -1,5 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: interactive -#key: interactive -# -- -(interactive${1: "${2:P}"}) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/kbd b/.emacs.d/snippets/emacs-lisp-mode/kbd deleted file mode 100644 index be91b08..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/kbd +++ /dev/null @@ -1,5 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: kbd -#key: kbd -# -- -(kbd "$0") \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/kill-buffer b/.emacs.d/snippets/emacs-lisp-mode/kill-buffer deleted file mode 100644 index 491a73b..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/kill-buffer +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: kill-buffer -#key: kill-buffer -#key: kb -# -- -(kill-buffer $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/lambda b/.emacs.d/snippets/emacs-lisp-mode/lambda deleted file mode 100644 index 503fad1..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/lambda +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet; -*- -#contributor: Xah Lee (XahLee.org) -#name: lambda -#key: lam -# -- -(lambda ($1) ${2:(interactive${3: "$4"}) }$0) diff --git a/.emacs.d/snippets/emacs-lisp-mode/length b/.emacs.d/snippets/emacs-lisp-mode/length deleted file mode 100644 index 46a379b..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/length +++ /dev/null @@ -1,5 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: length -#key: length -# -- -(length $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/let b/.emacs.d/snippets/emacs-lisp-mode/let deleted file mode 100644 index 19df819..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/let +++ /dev/null @@ -1,7 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: let -#key: let -#key: l -# -- -(let${1:*} (${2:args}) - $0) diff --git a/.emacs.d/snippets/emacs-lisp-mode/line-beginning-position b/.emacs.d/snippets/emacs-lisp-mode/line-beginning-position deleted file mode 100644 index 647158b..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/line-beginning-position +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: line-beginning-position -#key: line-beginning-position -#key: lbp -# -- -(line-beginning-position) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/line-end-position b/.emacs.d/snippets/emacs-lisp-mode/line-end-position deleted file mode 100644 index f3a4f4c..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/line-end-position +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: line-end-position -#key: line-end-position -#key: lep -# -- -(line-end-position) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/list b/.emacs.d/snippets/emacs-lisp-mode/list deleted file mode 100644 index 11be961..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/list +++ /dev/null @@ -1,5 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: list -#key: list -# -- -(list $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/looking-at b/.emacs.d/snippets/emacs-lisp-mode/looking-at deleted file mode 100644 index 83741dd..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/looking-at +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: looking-at -#key: looking-at -#key: la -# -- -(looking-at $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/make-directory b/.emacs.d/snippets/emacs-lisp-mode/make-directory deleted file mode 100644 index 292f1a3..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/make-directory +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: make-directory -#key: make-directory -#key: md -# -- -(make-directory ${1:directory}${2: parents}) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/make-local-variable b/.emacs.d/snippets/emacs-lisp-mode/make-local-variable deleted file mode 100644 index 06e0ff4..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/make-local-variable +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: make-local-variable -#key: make-local-variable -#key: mlv -# -- -(make-local-variable $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/mapc b/.emacs.d/snippets/emacs-lisp-mode/mapc deleted file mode 100644 index af5d786..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/mapc +++ /dev/null @@ -1,5 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: mapc -#key: mapc -# -- -(mapc ${1:function} $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/mapcar b/.emacs.d/snippets/emacs-lisp-mode/mapcar deleted file mode 100644 index 097de14..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/mapcar +++ /dev/null @@ -1,5 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: mapcar -#key: mapcar -# -- -(mapcar $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/match-beginning b/.emacs.d/snippets/emacs-lisp-mode/match-beginning deleted file mode 100644 index 4ef7ba2..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/match-beginning +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: match-beginning -#key: match-beginning -#key: mb -# -- -(match-beginning $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/match-end b/.emacs.d/snippets/emacs-lisp-mode/match-end deleted file mode 100644 index 7fb0daa..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/match-end +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: match-end -#key: match-end -#key: me -# -- -(match-end $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/match-string b/.emacs.d/snippets/emacs-lisp-mode/match-string deleted file mode 100644 index 32dd538..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/match-string +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: match-string -#key: match-string -#key: ms -# -- -(match-string $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/memq b/.emacs.d/snippets/emacs-lisp-mode/memq deleted file mode 100644 index f718991..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/memq +++ /dev/null @@ -1,5 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: memq -#key: memq -# -- -(memq ${1:element} ${2:list}) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/message b/.emacs.d/snippets/emacs-lisp-mode/message deleted file mode 100644 index 6ea047c..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/message +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: message -#key: message -#key: m -# -- -(message "${1:message}"${2: format-args}) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/minor_mode b/.emacs.d/snippets/emacs-lisp-mode/minor_mode deleted file mode 100644 index 27f0474..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/minor_mode +++ /dev/null @@ -1,20 +0,0 @@ -# -*- mode: snippet -*- -# name: minor_mode -# key: minor -# -- -(defvar ${1:mode}-modeline-indicator " ${2:indicator}" - "call ($1-install-mode) again if this is changed") - -(defvar $1-mode nil) -(make-variable-buffer-local '$1-mode) -(put '$1-mode 'permanent-local t) - -(defun $1-mode (&optional arg) - "$0" - (interactive "P") - (setq $1-mode - (if (null arg) (not $1-mode) - (> (prefix-numeric-value arg) 0))) - (force-mode-line-update)) - -(provide '$1-mode) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/not b/.emacs.d/snippets/emacs-lisp-mode/not deleted file mode 100644 index 94fa6ab..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/not +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: not -#key: not -#key: n -# -- -(not $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/nth b/.emacs.d/snippets/emacs-lisp-mode/nth deleted file mode 100644 index 5e1b68a..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/nth +++ /dev/null @@ -1,5 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: nth -#key: nth -# -- -(nth ${1:index} ${2:list}) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/null b/.emacs.d/snippets/emacs-lisp-mode/null deleted file mode 100644 index 9d451ec..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/null +++ /dev/null @@ -1,5 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: null -#key: null -# -- -(null $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/number-to-string b/.emacs.d/snippets/emacs-lisp-mode/number-to-string deleted file mode 100644 index 42eccb7..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/number-to-string +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: number-to-string -#key: number-to-string -#key: nts -# -- -(number-to-string $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/or b/.emacs.d/snippets/emacs-lisp-mode/or deleted file mode 100644 index 8aaef27..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/or +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: or -#key: or -#key: o -# -- -(or $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/point b/.emacs.d/snippets/emacs-lisp-mode/point deleted file mode 100644 index 6aa6b74..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/point +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: point -#key: point -#key: p -# -- -(point) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/point-max b/.emacs.d/snippets/emacs-lisp-mode/point-max deleted file mode 100644 index 6544869..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/point-max +++ /dev/null @@ -1,5 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: point-max -#key: point-max -# -- -(point-max) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/point-min b/.emacs.d/snippets/emacs-lisp-mode/point-min deleted file mode 100644 index 029d736..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/point-min +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: point-min -#key: point-min -#key: pm -# -- -(point-min) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/princ b/.emacs.d/snippets/emacs-lisp-mode/princ deleted file mode 100644 index 88ad7d7..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/princ +++ /dev/null @@ -1,5 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: princ -#key: princ -# -- -(princ $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/print b/.emacs.d/snippets/emacs-lisp-mode/print deleted file mode 100644 index 7d0f421..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/print +++ /dev/null @@ -1,5 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: print -#key: print -# -- -(print $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/progn b/.emacs.d/snippets/emacs-lisp-mode/progn deleted file mode 100644 index d07c5c3..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/progn +++ /dev/null @@ -1,5 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: progn -#key: progn -# -- -(progn $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/push b/.emacs.d/snippets/emacs-lisp-mode/push deleted file mode 100644 index 76d14a5..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/push +++ /dev/null @@ -1,5 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: push -#key: push -# -- -(push $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/put b/.emacs.d/snippets/emacs-lisp-mode/put deleted file mode 100644 index 7c2a9cf..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/put +++ /dev/null @@ -1,5 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: put -#key: put -# -- -(put ${1:symbol} ${2:propname} ${3:value}) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/re-search-backward b/.emacs.d/snippets/emacs-lisp-mode/re-search-backward deleted file mode 100644 index 1aefc70..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/re-search-backward +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: re-search-backward -#key: re-search-backward -#key: rsb -# -- -(re-search-backward ${1:regexp}${2: bound}${3: noerror}${4: count}) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/re-search-forward b/.emacs.d/snippets/emacs-lisp-mode/re-search-forward deleted file mode 100644 index 35a3861..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/re-search-forward +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: re-search-forward -#key: re-search-forward -#key: rsf -# -- -(re-search-forward ${1:regexp}${2: bound}${3: noerror}${4: count}) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/region-active-p b/.emacs.d/snippets/emacs-lisp-mode/region-active-p deleted file mode 100644 index e70553e..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/region-active-p +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: region-active-p -#key: region-active-p -#key: rap -# -- -(region-active-p) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/region-beginning b/.emacs.d/snippets/emacs-lisp-mode/region-beginning deleted file mode 100644 index 55496e2..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/region-beginning +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: region-beginning -#key: region-beginning -#key: rb -# -- -(region-beginning) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/region-end b/.emacs.d/snippets/emacs-lisp-mode/region-end deleted file mode 100644 index fddcd9f..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/region-end +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: region-end -#key: region-end -#key: re -# -- -(region-end) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/rename-file b/.emacs.d/snippets/emacs-lisp-mode/rename-file deleted file mode 100644 index 63b9dbc..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/rename-file +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: rename-file -#key: rename-file -#key: rf -# -- -(rename-file ${1:file} ${2:newname}${3: ok-if-already-exists}) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/repeat b/.emacs.d/snippets/emacs-lisp-mode/repeat deleted file mode 100644 index ff8fae1..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/repeat +++ /dev/null @@ -1,5 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: repeat -#key: repeat -# -- -(repeat $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/replace-regexp b/.emacs.d/snippets/emacs-lisp-mode/replace-regexp deleted file mode 100644 index b6b2746..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/replace-regexp +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: replace-regexp -#key: replace-regexp -#key: rr -# -- -(replace-regexp ${1:regexp}${2: delimited}${3: start}${4: end}) diff --git a/.emacs.d/snippets/emacs-lisp-mode/replace-regexp-in-string b/.emacs.d/snippets/emacs-lisp-mode/replace-regexp-in-string deleted file mode 100644 index 5f07473..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/replace-regexp-in-string +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: replace-regexp-in-string -#key: replace-regexp-in-string -#key: rris -# -- -(replace-regexp-in-string ${1:regexp} ${2:rep} ${3:string}${4: fixedcase}${5: literal}${6: subexp}${7: start}) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/require b/.emacs.d/snippets/emacs-lisp-mode/require deleted file mode 100644 index cbce359..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/require +++ /dev/null @@ -1,5 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: require -#key: require -# -- -(require $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/save-buffer b/.emacs.d/snippets/emacs-lisp-mode/save-buffer deleted file mode 100644 index 931a72c..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/save-buffer +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: save-buffer -#key: save-buffer -#key: sb -# -- -(save-buffer $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/save-excursion b/.emacs.d/snippets/emacs-lisp-mode/save-excursion deleted file mode 100644 index 5f587ce..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/save-excursion +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: save-excursion -#key: save-excursion -#key: se -# -- -(save-excursion $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/search-backward b/.emacs.d/snippets/emacs-lisp-mode/search-backward deleted file mode 100644 index 80740da..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/search-backward +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet; -*- -#contributor: Xah Lee (XahLee.org) -#name: search-backward -#key: search-backward -#key: sb -# -- -(search-backward "$1"${2: ${3:bound}${4: ${5:noerror}${6: count}}})$0 diff --git a/.emacs.d/snippets/emacs-lisp-mode/search-backward-regexp b/.emacs.d/snippets/emacs-lisp-mode/search-backward-regexp deleted file mode 100644 index 91ac231..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/search-backward-regexp +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet; -*- -#contributor: Xah Lee (XahLee.org) -#name: search-backward-regexp -#key: search-backward-regexp -#key: sbr -# -- -(search-backward-regexp "$1"${2: ${3:bound}${4: ${5:noerror}${6: count}}})$0 diff --git a/.emacs.d/snippets/emacs-lisp-mode/search-forward b/.emacs.d/snippets/emacs-lisp-mode/search-forward deleted file mode 100644 index 4e8a22a..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/search-forward +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet; -*- -#contributor: Xah Lee (XahLee.org) -#name: search-forward -#key: search-forward -#key: sf -# -- -(search-forward "$1"${2: ${3:bound}${4: ${5:noerror}${6: count}}})$0 diff --git a/.emacs.d/snippets/emacs-lisp-mode/search-forward-regexp b/.emacs.d/snippets/emacs-lisp-mode/search-forward-regexp deleted file mode 100644 index 3c025c8..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/search-forward-regexp +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet; -*- -#contributor: Xah Lee (XahLee.org) -#name: search-forward-regexp -#key: search-forward-regexp -#key: sfr -# -- -(search-forward-regexp "$1"${2: ${3:bound}${4: ${5:noerror}${6: count}}})$0 diff --git a/.emacs.d/snippets/emacs-lisp-mode/set b/.emacs.d/snippets/emacs-lisp-mode/set deleted file mode 100644 index 8bbebb6..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/set +++ /dev/null @@ -1,5 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: set -#key: set -# -- -(set $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/set-buffer b/.emacs.d/snippets/emacs-lisp-mode/set-buffer deleted file mode 100644 index 9f3390d..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/set-buffer +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: set-buffer -#key: set-buffer -#key: sb -# -- -(set-buffer $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/set-file-modes b/.emacs.d/snippets/emacs-lisp-mode/set-file-modes deleted file mode 100644 index 4b9be44..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/set-file-modes +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: set-file-modes -#key: set-file-modes -#key: sfm -# -- -(set-file-modes ${1:filename} $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/set-mark b/.emacs.d/snippets/emacs-lisp-mode/set-mark deleted file mode 100644 index 9a482a1..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/set-mark +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: set-mark -#key: set-mark -#key: sm -# -- -(set-mark $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/setq b/.emacs.d/snippets/emacs-lisp-mode/setq deleted file mode 100644 index 6eaee9f..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/setq +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: setq -#key: setq -#key: s -# -- -(setq $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/should b/.emacs.d/snippets/emacs-lisp-mode/should deleted file mode 100644 index 29748a2..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/should +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -#contributor: Raghav Kumar Gautam -#name: should -#key: sh -# -- -(should $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/skip-chars-backward b/.emacs.d/snippets/emacs-lisp-mode/skip-chars-backward deleted file mode 100644 index 2a909ea..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/skip-chars-backward +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: skip-chars-backward -#key: skip-chars-backward -#key: scb -# -- -(skip-chars-backward "${1:string}"${2: lim}) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/skip-chars-forward b/.emacs.d/snippets/emacs-lisp-mode/skip-chars-forward deleted file mode 100644 index e6f8cad..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/skip-chars-forward +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: skip-chars-forward -#key: skip-chars-forward -#key: scf -# -- -(skip-chars-forward "${1:string}"${2: lim}) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/split-string b/.emacs.d/snippets/emacs-lisp-mode/split-string deleted file mode 100644 index e09a4c7..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/split-string +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: split-string -#key: split-string -#key: ss -# -- -(split-string ${1:string}${2: separators}${3: omit-nulls}) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/string b/.emacs.d/snippets/emacs-lisp-mode/string deleted file mode 100644 index 9c9e346..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/string +++ /dev/null @@ -1,5 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: string -#key: string -# -- -(string $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/string-match b/.emacs.d/snippets/emacs-lisp-mode/string-match deleted file mode 100644 index aa0af29..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/string-match +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: string-match -#key: string-match -#key: sm -# -- -(string-match "${1:regexp}" "${2:string}"${3: start}) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/string-to-number b/.emacs.d/snippets/emacs-lisp-mode/string-to-number deleted file mode 100644 index 9eb5c48..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/string-to-number +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: string-to-number -#key: string-to-number -#key: stn -# -- -(string-to-number $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/string= b/.emacs.d/snippets/emacs-lisp-mode/string= deleted file mode 100644 index 04aed21..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/string= +++ /dev/null @@ -1,5 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: string= -#key: string= -# -- -(string= $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/stringp b/.emacs.d/snippets/emacs-lisp-mode/stringp deleted file mode 100644 index c20be65..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/stringp +++ /dev/null @@ -1,5 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: stringp -#key: stringp -# -- -(stringp $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/substring b/.emacs.d/snippets/emacs-lisp-mode/substring deleted file mode 100644 index 6cba966..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/substring +++ /dev/null @@ -1,5 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: substring -#key: substring -# -- -(substring ${1:string} ${2:from}${3: to}) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/thing-at-point b/.emacs.d/snippets/emacs-lisp-mode/thing-at-point deleted file mode 100644 index d2c44fd..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/thing-at-point +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: thing-at-point -#key: thing-at-point -#key: tap -# -- -(thing-at-point ${1:thing}${2: no-properties}) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/traverse_dir b/.emacs.d/snippets/emacs-lisp-mode/traverse_dir deleted file mode 100644 index 2859cbd..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/traverse_dir +++ /dev/null @@ -1,6 +0,0 @@ -#name : traversing a directory -#contributor : Xah Lee -# -- -;; apply a function to all files in a dir -(require 'find-lisp) -(mapc 'my-process-file (find-lisp-find-files "~/myweb/" "\\.html$")) diff --git a/.emacs.d/snippets/emacs-lisp-mode/unless b/.emacs.d/snippets/emacs-lisp-mode/unless deleted file mode 100644 index 15c1518..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/unless +++ /dev/null @@ -1,5 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: unless -#key: unless -# -- -(unless $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/use-package b/.emacs.d/snippets/emacs-lisp-mode/use-package deleted file mode 100644 index 9d4d6b6..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/use-package +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Daniel Hitzel -#name: use-package -#key: up -# -- -(use-package ${1:package-name} -:ensure t$0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/use-package-binding b/.emacs.d/snippets/emacs-lisp-mode/use-package-binding deleted file mode 100644 index b95ea2b..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/use-package-binding +++ /dev/null @@ -1,5 +0,0 @@ -#contributor: Daniel Hitzel -#name: use-package binding -#key: upb -# -- -:bind ("${1:binding}" . ${2:function-name}) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/vector b/.emacs.d/snippets/emacs-lisp-mode/vector deleted file mode 100644 index 59ad236..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/vector +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: vector -#key: vector -#key: v -# -- -(vector $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/when b/.emacs.d/snippets/emacs-lisp-mode/when deleted file mode 100644 index a04a7e4..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/when +++ /dev/null @@ -1,5 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: when -#key: w -# -- -(when $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/while b/.emacs.d/snippets/emacs-lisp-mode/while deleted file mode 100644 index 4584be3..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/while +++ /dev/null @@ -1,5 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: while -#key: while -# -- -(while $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/widget-get b/.emacs.d/snippets/emacs-lisp-mode/widget-get deleted file mode 100644 index 66060c1..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/widget-get +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: widget-get -#key: widget-get -#key: wg -# -- -(widget-get $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/with-current-buffer b/.emacs.d/snippets/emacs-lisp-mode/with-current-buffer deleted file mode 100644 index 9ada4ab..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/with-current-buffer +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: with-current-buffer -#key: with-current-buffer -#key: wcb -# -- -(with-current-buffer $0) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/word-or-region b/.emacs.d/snippets/emacs-lisp-mode/word-or-region deleted file mode 100644 index 66a59e4..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/word-or-region +++ /dev/null @@ -1,27 +0,0 @@ -#name : Command that works on region or word -#contributor : Xah Lee -# -- -;; example of a command that works on current word or text selection -(defun down-case-word-or-region () - "Lower case the current word or text selection." -(interactive) -(let (pos1 pos2 meat) - (if (and transient-mark-mode mark-active) - (setq pos1 (region-beginning) - pos2 (region-end)) - (setq pos1 (car (bounds-of-thing-at-point 'symbol)) - pos2 (cdr (bounds-of-thing-at-point 'symbol)))) - - ; now, pos1 and pos2 are the starting and ending positions - ; of the current word, or current text selection if exists - - ;; put your code here. - $0 - ;; Some example of things you might want to do - (downcase-region pos1 pos2) ; example of a func that takes region as args - (setq meat (buffer-substring-no-properties pos1 pos2)) ; grab the text. - (delete-region pos1 pos2) ; get rid of it - (insert "newText") ; insert your new text - - ) -) diff --git a/.emacs.d/snippets/emacs-lisp-mode/word_regexp b/.emacs.d/snippets/emacs-lisp-mode/word_regexp deleted file mode 100644 index 4c3bfe6..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/word_regexp +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: word_regexp -# key: < -# -- -"\\_<${1:word}\\_>" \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/x-dired.process_marked b/.emacs.d/snippets/emacs-lisp-mode/x-dired.process_marked deleted file mode 100644 index 9af5a26..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/x-dired.process_marked +++ /dev/null @@ -1,17 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: process marked files in dired -# key: x-dired -# -- -;; idiom for processing a list of files in dired's marked files - -;; suppose myProcessFile is your function that takes a file path -;; and do some processing on the file - -(defun dired-myProcessFile () - "apply myProcessFile function to marked files in dired." - (interactive) - (require 'dired) - (mapc 'myProcessFile (dired-get-marked-files)) -) - -;; to use it, type M-x dired-myProcessFile \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/x-file.process b/.emacs.d/snippets/emacs-lisp-mode/x-file.process deleted file mode 100644 index 3c82822..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/x-file.process +++ /dev/null @@ -1,18 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: a function that process a file -# key: x-file -# -- -(defun doThisFile (fpath) - "Process the file at path FPATH ..." - (let () - ;; create temp buffer without undo record or font lock. (more efficient) - ;; first space in temp buff name is necessary - (set-buffer (get-buffer-create " myTemp")) - (insert-file-contents fpath nil nil nil t) - - ;; process it ... - ;; (goto-char 0) ; move to begining of file's content (in case it was open) - ;; ... do something here - ;; (write-file fpath) ;; write back to the file - - (kill-buffer " myTemp"))) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/x-file.read-lines b/.emacs.d/snippets/emacs-lisp-mode/x-file.read-lines deleted file mode 100644 index a463581..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/x-file.read-lines +++ /dev/null @@ -1,18 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: read lines of a file -# key: x-file -# -- -(defun read-lines (filePath) - "Return a list of lines in FILEPATH." - (with-temp-buffer - (insert-file-contents filePath) - (split-string - (buffer-string) "\n" t))) - -;; process all lines -(mapc - (lambda (aLine) - (message aLine) ; do your stuff here - ) - (read-lines "inputFilePath") -) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/x-find-replace b/.emacs.d/snippets/emacs-lisp-mode/x-find-replace deleted file mode 100644 index d4c4d11..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/x-find-replace +++ /dev/null @@ -1,18 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: find and replace on region -# key: x-find-replace -# -- -(defun replace-html-chars-region (start end) - "Replace “<” to “<” and other chars in HTML. -This works on the current region." - (interactive "r") - (save-restriction - (narrow-to-region start end) - (goto-char (point-min)) - (while (search-forward "&" nil t) (replace-match "&" nil t)) - (goto-char (point-min)) - (while (search-forward "<" nil t) (replace-match "<" nil t)) - (goto-char (point-min)) - (while (search-forward ">" nil t) (replace-match ">" nil t)) - ) - ) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/x-grabstring b/.emacs.d/snippets/emacs-lisp-mode/x-grabstring deleted file mode 100644 index d348e93..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/x-grabstring +++ /dev/null @@ -1,5 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: grab buffer substring -# key: x-grabstring -# -- -(setq $0 (buffer-substring-no-properties myStartPos myEndPos)) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/x-grabthing b/.emacs.d/snippets/emacs-lisp-mode/x-grabthing deleted file mode 100644 index 2c0079d..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/x-grabthing +++ /dev/null @@ -1,5 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: grab word under cursor -# key: x-grabthing -# -- -(setq $0 (thing-at-point 'symbol)) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/x-traverse_dir b/.emacs.d/snippets/emacs-lisp-mode/x-traverse_dir deleted file mode 100644 index cfa461a..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/x-traverse_dir +++ /dev/null @@ -1,7 +0,0 @@ -#name: traversing a directory -#contributor: Xah Lee (XahLee.org) -# key: x-traverse_dir -# -- -;; apply a function to all files in a dir -(require 'find-lisp) -(mapc 'my-process-file (find-lisp-find-files "~/myweb/" "\\.html$")) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/x-word-or-region b/.emacs.d/snippets/emacs-lisp-mode/x-word-or-region deleted file mode 100644 index c7b851b..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/x-word-or-region +++ /dev/null @@ -1,28 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: Command that works on region or word -# key: x-word-or-region -# -- -;; example of a command that works on current word or text selection -(defun down-case-word-or-region () - "Lower case the current word or text selection." -(interactive) -(let (pos1 pos2 meat) - (if (and transient-mark-mode mark-active) - (setq pos1 (region-beginning) - pos2 (region-end)) - (setq pos1 (car (bounds-of-thing-at-point 'symbol)) - pos2 (cdr (bounds-of-thing-at-point 'symbol)))) - - ; now, pos1 and pos2 are the starting and ending positions - ; of the current word, or current text selection if exists - - ;; put your code here. - $0 - ;; Some example of things you might want to do - (downcase-region pos1 pos2) ; example of a func that takes region as args - (setq meat (buffer-substring-no-properties pos1 pos2)) ; grab the text. - (delete-region pos1 pos2) ; get rid of it - (insert "newText") ; insert your new text - - ) -) \ No newline at end of file diff --git a/.emacs.d/snippets/emacs-lisp-mode/yes-or-no-p b/.emacs.d/snippets/emacs-lisp-mode/yes-or-no-p deleted file mode 100644 index 736b253..0000000 --- a/.emacs.d/snippets/emacs-lisp-mode/yes-or-no-p +++ /dev/null @@ -1,5 +0,0 @@ -#contributor: Xah Lee (XahLee.org) -#name: yes-or-no-p -#key: yonp -# -- -(yes-or-no-p "${1:prompt} ") \ No newline at end of file diff --git a/.emacs.d/snippets/enh-ruby-mode/.yas-parents b/.emacs.d/snippets/enh-ruby-mode/.yas-parents deleted file mode 100644 index 1bd2276..0000000 --- a/.emacs.d/snippets/enh-ruby-mode/.yas-parents +++ /dev/null @@ -1 +0,0 @@ -ruby-mode diff --git a/.emacs.d/snippets/ensime-mode/.yas-parents b/.emacs.d/snippets/ensime-mode/.yas-parents deleted file mode 100644 index 9035891..0000000 --- a/.emacs.d/snippets/ensime-mode/.yas-parents +++ /dev/null @@ -1 +0,0 @@ -scala-mode diff --git a/.emacs.d/snippets/erc-mode/blist b/.emacs.d/snippets/erc-mode/blist deleted file mode 100644 index bf30419..0000000 --- a/.emacs.d/snippets/erc-mode/blist +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: blist -# key: b -# -- -blist diff --git a/.emacs.d/snippets/erc-mode/help b/.emacs.d/snippets/erc-mode/help deleted file mode 100644 index a47a572..0000000 --- a/.emacs.d/snippets/erc-mode/help +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: help -# key: h -# -- -help $0 \ No newline at end of file diff --git a/.emacs.d/snippets/erlang-mode/after b/.emacs.d/snippets/erlang-mode/after deleted file mode 100644 index 264e201..0000000 --- a/.emacs.d/snippets/erlang-mode/after +++ /dev/null @@ -1,4 +0,0 @@ -#name : after ... -> -# -- -after - $1 -> $0 diff --git a/.emacs.d/snippets/erlang-mode/begin b/.emacs.d/snippets/erlang-mode/begin deleted file mode 100644 index 7b48494..0000000 --- a/.emacs.d/snippets/erlang-mode/begin +++ /dev/null @@ -1,5 +0,0 @@ -#name : begin ... end -# -- -begin - $0 -end diff --git a/.emacs.d/snippets/erlang-mode/beh b/.emacs.d/snippets/erlang-mode/beh deleted file mode 100644 index 4975b26..0000000 --- a/.emacs.d/snippets/erlang-mode/beh +++ /dev/null @@ -1,4 +0,0 @@ -#name : -behaviour(...). -# -- --behaviour(${1:gen_server}). -$0 diff --git a/.emacs.d/snippets/erlang-mode/case b/.emacs.d/snippets/erlang-mode/case deleted file mode 100644 index 5bed114..0000000 --- a/.emacs.d/snippets/erlang-mode/case +++ /dev/null @@ -1,5 +0,0 @@ -#name : case ... of ... end -# -- -case $1 of - $0 -end diff --git a/.emacs.d/snippets/erlang-mode/compile b/.emacs.d/snippets/erlang-mode/compile deleted file mode 100644 index ae3a4d8..0000000 --- a/.emacs.d/snippets/erlang-mode/compile +++ /dev/null @@ -1,4 +0,0 @@ -#name : -compile(...). -# -- --compile([${1:export_all}]). -$0 diff --git a/.emacs.d/snippets/erlang-mode/def b/.emacs.d/snippets/erlang-mode/def deleted file mode 100644 index 6fb92f1..0000000 --- a/.emacs.d/snippets/erlang-mode/def +++ /dev/null @@ -1,4 +0,0 @@ -#name : -define(...,...). -# -- --define($1,$2). -$0 diff --git a/.emacs.d/snippets/erlang-mode/exp b/.emacs.d/snippets/erlang-mode/exp deleted file mode 100644 index 67f56da..0000000 --- a/.emacs.d/snippets/erlang-mode/exp +++ /dev/null @@ -1,5 +0,0 @@ -#name : -export([]). -#contributor : hitesh -# -- --export([${1:start/0}]). -$0 diff --git a/.emacs.d/snippets/erlang-mode/fun b/.emacs.d/snippets/erlang-mode/fun deleted file mode 100644 index 77f8293..0000000 --- a/.emacs.d/snippets/erlang-mode/fun +++ /dev/null @@ -1,3 +0,0 @@ -#name : fun (...) -> ... end -# -- -fun ($1) -> $0 end diff --git a/.emacs.d/snippets/erlang-mode/if b/.emacs.d/snippets/erlang-mode/if deleted file mode 100644 index 45674c4..0000000 --- a/.emacs.d/snippets/erlang-mode/if +++ /dev/null @@ -1,6 +0,0 @@ -#name : if ... -> ... ; true -> ... end -# -- -if - $1 -> $2; - true -> $0 -end diff --git a/.emacs.d/snippets/erlang-mode/ifdef b/.emacs.d/snippets/erlang-mode/ifdef deleted file mode 100644 index ea89ecf..0000000 --- a/.emacs.d/snippets/erlang-mode/ifdef +++ /dev/null @@ -1,5 +0,0 @@ -#name : -ifdef(...). ... -endif. -# -- --ifdef($1). -$0 --endif. diff --git a/.emacs.d/snippets/erlang-mode/ifndef b/.emacs.d/snippets/erlang-mode/ifndef deleted file mode 100644 index dcd67a7..0000000 --- a/.emacs.d/snippets/erlang-mode/ifndef +++ /dev/null @@ -1,5 +0,0 @@ -#name : -ifndef(...). ... -endif. -# -- --ifndef($1). -$0 --endif. diff --git a/.emacs.d/snippets/erlang-mode/imp b/.emacs.d/snippets/erlang-mode/imp deleted file mode 100644 index c035ddd..0000000 --- a/.emacs.d/snippets/erlang-mode/imp +++ /dev/null @@ -1,5 +0,0 @@ -#name : -import([]). -#contributor : hitesh -# -- --import(${1:lists}, [${2:map/2, sum/1}]). -$0 diff --git a/.emacs.d/snippets/erlang-mode/inc b/.emacs.d/snippets/erlang-mode/inc deleted file mode 100644 index f7b2161..0000000 --- a/.emacs.d/snippets/erlang-mode/inc +++ /dev/null @@ -1,4 +0,0 @@ -#name : -include("..."). -# -- --include("$1"). -$0 diff --git a/.emacs.d/snippets/erlang-mode/inc.lib b/.emacs.d/snippets/erlang-mode/inc.lib deleted file mode 100644 index 09a6723..0000000 --- a/.emacs.d/snippets/erlang-mode/inc.lib +++ /dev/null @@ -1,4 +0,0 @@ -#name : -include_lib("..."). -# -- --include_lib("$1"). -$0 diff --git a/.emacs.d/snippets/erlang-mode/loop b/.emacs.d/snippets/erlang-mode/loop deleted file mode 100644 index 0205802..0000000 --- a/.emacs.d/snippets/erlang-mode/loop +++ /dev/null @@ -1,8 +0,0 @@ -#name : loop(...) -> receive _ -> loop(...) end. -# -- -${1:loop}($2) -> - receive - ${3:_} -> - $1($2) - end. -$0 diff --git a/.emacs.d/snippets/erlang-mode/mod b/.emacs.d/snippets/erlang-mode/mod deleted file mode 100644 index 7275d39..0000000 --- a/.emacs.d/snippets/erlang-mode/mod +++ /dev/null @@ -1,6 +0,0 @@ -#name : -module(). -#contributor : hitesh -# -- --module(${1:`(file-name-nondirectory - (file-name-sans-extension (or (buffer-file-name) (buffer-name))))`}). -$0 diff --git a/.emacs.d/snippets/erlang-mode/rcv b/.emacs.d/snippets/erlang-mode/rcv deleted file mode 100644 index 804fb3f..0000000 --- a/.emacs.d/snippets/erlang-mode/rcv +++ /dev/null @@ -1,5 +0,0 @@ -#name : receive ... -> ... end -# -- -receive - $1 -> $0 -end diff --git a/.emacs.d/snippets/erlang-mode/rcv.after b/.emacs.d/snippets/erlang-mode/rcv.after deleted file mode 100644 index 51046df..0000000 --- a/.emacs.d/snippets/erlang-mode/rcv.after +++ /dev/null @@ -1,6 +0,0 @@ -#name : receive after ... -> ... end -# -- -receive -after - $1 -> $0 -end diff --git a/.emacs.d/snippets/erlang-mode/rec b/.emacs.d/snippets/erlang-mode/rec deleted file mode 100644 index 0d67834..0000000 --- a/.emacs.d/snippets/erlang-mode/rec +++ /dev/null @@ -1,4 +0,0 @@ -#name : -record(...,{...}). -# -- --record($1,{$2}). -$0 diff --git a/.emacs.d/snippets/erlang-mode/try b/.emacs.d/snippets/erlang-mode/try deleted file mode 100644 index fa5c9c2..0000000 --- a/.emacs.d/snippets/erlang-mode/try +++ /dev/null @@ -1,7 +0,0 @@ -#name : try ... of ... catch after end -# -- -try $1 of - $0 -catch -after -end diff --git a/.emacs.d/snippets/erlang-mode/undef b/.emacs.d/snippets/erlang-mode/undef deleted file mode 100644 index 7ab5dd4..0000000 --- a/.emacs.d/snippets/erlang-mode/undef +++ /dev/null @@ -1,4 +0,0 @@ -#name : -undef(...). -# -- --undef($1). -$0 diff --git a/.emacs.d/snippets/f90-mode/bd b/.emacs.d/snippets/f90-mode/bd deleted file mode 100644 index 8840102..0000000 --- a/.emacs.d/snippets/f90-mode/bd +++ /dev/null @@ -1,4 +0,0 @@ -#contributor: Li Zhu -#name : block data -# -- -block data $0 diff --git a/.emacs.d/snippets/f90-mode/c b/.emacs.d/snippets/f90-mode/c deleted file mode 100644 index c7182e4..0000000 --- a/.emacs.d/snippets/f90-mode/c +++ /dev/null @@ -1,4 +0,0 @@ -#contributor: Li Zhu -#name : continue -# -- -continue $0 diff --git a/.emacs.d/snippets/f90-mode/ch b/.emacs.d/snippets/f90-mode/ch deleted file mode 100644 index 7e6b4cb..0000000 --- a/.emacs.d/snippets/f90-mode/ch +++ /dev/null @@ -1,4 +0,0 @@ -#contributor: Li Zhu -#name : character -# -- -character $0 diff --git a/.emacs.d/snippets/f90-mode/cx b/.emacs.d/snippets/f90-mode/cx deleted file mode 100644 index 8feb41e..0000000 --- a/.emacs.d/snippets/f90-mode/cx +++ /dev/null @@ -1,4 +0,0 @@ -#contributor: Li Zhu -#name : complex -# -- -complex $0 diff --git a/.emacs.d/snippets/f90-mode/dc b/.emacs.d/snippets/f90-mode/dc deleted file mode 100644 index 1992b1b..0000000 --- a/.emacs.d/snippets/f90-mode/dc +++ /dev/null @@ -1,4 +0,0 @@ -#contributor: Li Zhu -#name : double complex -# -- -double complex $0 diff --git a/.emacs.d/snippets/f90-mode/do b/.emacs.d/snippets/f90-mode/do deleted file mode 100644 index 09f5cb2..0000000 --- a/.emacs.d/snippets/f90-mode/do +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Jonas Kalderstam -# name: do ... end do ... -# key: do -# -- -do $1 - $0 -end do diff --git a/.emacs.d/snippets/f90-mode/dp b/.emacs.d/snippets/f90-mode/dp deleted file mode 100644 index ad014b7..0000000 --- a/.emacs.d/snippets/f90-mode/dp +++ /dev/null @@ -1,4 +0,0 @@ -#contributor: Li Zhu -#name : double precision -# -- -double precision $0 diff --git a/.emacs.d/snippets/f90-mode/forall b/.emacs.d/snippets/f90-mode/forall deleted file mode 100644 index 03da421..0000000 --- a/.emacs.d/snippets/f90-mode/forall +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Jonas Kalderstam -# name: forall ... end forall ... -# key: forall -# -- -forall ($1) - $0 -end forall \ No newline at end of file diff --git a/.emacs.d/snippets/f90-mode/function b/.emacs.d/snippets/f90-mode/function deleted file mode 100644 index e8f13ef..0000000 --- a/.emacs.d/snippets/f90-mode/function +++ /dev/null @@ -1,12 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Jonas Kalderstam -# name: function ... end function ... -# key: function -# -- -function ${1:name} (${2:arg}) - ${3:real} :: $1 - ${4:real, intent(in)} :: $2 - - $0 - -end function $1 diff --git a/.emacs.d/snippets/f90-mode/if b/.emacs.d/snippets/f90-mode/if deleted file mode 100644 index b4fb526..0000000 --- a/.emacs.d/snippets/f90-mode/if +++ /dev/null @@ -1,6 +0,0 @@ -#contributor: Li Zhu -#name : if then end if -# -- -if ( ${1:condition} ) then - $0 -end if diff --git a/.emacs.d/snippets/f90-mode/in b/.emacs.d/snippets/f90-mode/in deleted file mode 100644 index 0c1d5e1..0000000 --- a/.emacs.d/snippets/f90-mode/in +++ /dev/null @@ -1,4 +0,0 @@ -#contributor: Li Zhu -#name : implicit none -# -- -implicit none diff --git a/.emacs.d/snippets/f90-mode/inc b/.emacs.d/snippets/f90-mode/inc deleted file mode 100644 index dd649c4..0000000 --- a/.emacs.d/snippets/f90-mode/inc +++ /dev/null @@ -1,4 +0,0 @@ -#contributor: Li Zhu -#name : include -# -- -include $0 diff --git a/.emacs.d/snippets/f90-mode/intr b/.emacs.d/snippets/f90-mode/intr deleted file mode 100644 index 147fffd..0000000 --- a/.emacs.d/snippets/f90-mode/intr +++ /dev/null @@ -1,4 +0,0 @@ -#contributor: Li Zhu -#name : intrinsic -# -- -intrinsic $0 diff --git a/.emacs.d/snippets/f90-mode/l b/.emacs.d/snippets/f90-mode/l deleted file mode 100644 index 8605d69..0000000 --- a/.emacs.d/snippets/f90-mode/l +++ /dev/null @@ -1,4 +0,0 @@ -#contributor: Li Zhu -#name : logical -# -- -logical $0 diff --git a/.emacs.d/snippets/f90-mode/module b/.emacs.d/snippets/f90-mode/module deleted file mode 100644 index ebffe50..0000000 --- a/.emacs.d/snippets/f90-mode/module +++ /dev/null @@ -1,12 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Jonas Kalderstam -# name: module ... end module ... -# key: module -# -- -module ${1:name} - -contains - - $0 - -end module $1 diff --git a/.emacs.d/snippets/f90-mode/pa b/.emacs.d/snippets/f90-mode/pa deleted file mode 100644 index 1b1b503..0000000 --- a/.emacs.d/snippets/f90-mode/pa +++ /dev/null @@ -1,4 +0,0 @@ -#contributor: Li Zhu -#name : parameter -# -- -parameter $0 diff --git a/.emacs.d/snippets/f90-mode/program b/.emacs.d/snippets/f90-mode/program deleted file mode 100644 index 1458cb5..0000000 --- a/.emacs.d/snippets/f90-mode/program +++ /dev/null @@ -1,11 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Jonas Kalderstam -# name: program .. end program -# key: program -# -- -program ${1:name} - ${2:implicit none} - - $0 - -end program $1 diff --git a/.emacs.d/snippets/f90-mode/puref b/.emacs.d/snippets/f90-mode/puref deleted file mode 100644 index 0c4b046..0000000 --- a/.emacs.d/snippets/f90-mode/puref +++ /dev/null @@ -1,12 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Jonas Kalderstam -# name: pure function ... end function ... -# key: pure func -# -- -pure function ${1:name} (${2:arg}) - ${3:real} :: $1 - ${4:real, intent(in)} :: $2 - - $0 - -end function $1 diff --git a/.emacs.d/snippets/f90-mode/pures b/.emacs.d/snippets/f90-mode/pures deleted file mode 100644 index e306d4b..0000000 --- a/.emacs.d/snippets/f90-mode/pures +++ /dev/null @@ -1,10 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Jonas Kalderstam -# name: pure subroutine .. end subroutine -# key: pure subroutine -# -- -pure subroutine ${1:name} (${2:arg}) - ${3:real, intent(in) :: $2} - - $0 -end subroutine $1 diff --git a/.emacs.d/snippets/f90-mode/re b/.emacs.d/snippets/f90-mode/re deleted file mode 100644 index 08c7ba0..0000000 --- a/.emacs.d/snippets/f90-mode/re +++ /dev/null @@ -1,4 +0,0 @@ -#contributor: Li Zhu -#name : read (*,*) -# -- -read (${1:*},${2:*}) $0 diff --git a/.emacs.d/snippets/f90-mode/subroutine b/.emacs.d/snippets/f90-mode/subroutine deleted file mode 100644 index 35e913a..0000000 --- a/.emacs.d/snippets/f90-mode/subroutine +++ /dev/null @@ -1,10 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Jonas Kalderstam -# name: subroutine .. end subroutine -# key: subroutine -# -- -subroutine ${1:name} (${2:arg}) - ${3:real, intent(in) :: $2} - - $0 -end subroutine $1 diff --git a/.emacs.d/snippets/f90-mode/until b/.emacs.d/snippets/f90-mode/until deleted file mode 100644 index 5094629..0000000 --- a/.emacs.d/snippets/f90-mode/until +++ /dev/null @@ -1,9 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Jonas Kalderstam -# name: until ... end until ... -# key: until -# -- -do - $0 - if (${1:condition}) exit -end do diff --git a/.emacs.d/snippets/f90-mode/where b/.emacs.d/snippets/f90-mode/where deleted file mode 100644 index 98c2b1c..0000000 --- a/.emacs.d/snippets/f90-mode/where +++ /dev/null @@ -1,9 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Jonas Kalderstam -# name: where ... end where ... -# key: where -# -- - -where (${1:condition}) - $0 -end where diff --git a/.emacs.d/snippets/f90-mode/while b/.emacs.d/snippets/f90-mode/while deleted file mode 100644 index 3acc12f..0000000 --- a/.emacs.d/snippets/f90-mode/while +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Jonas Kalderstam -# name: while ... end while ... -# key: while -# -- -do while (${1:condition}) - $0 -end do diff --git a/.emacs.d/snippets/f90-mode/wr b/.emacs.d/snippets/f90-mode/wr deleted file mode 100644 index 1ac3eb9..0000000 --- a/.emacs.d/snippets/f90-mode/wr +++ /dev/null @@ -1,4 +0,0 @@ -#contributor: Li Zhu -#name : write (*,*) -# -- -write (${1:*},${2:*}) $0 diff --git a/.emacs.d/snippets/faust-mode/button b/.emacs.d/snippets/faust-mode/button deleted file mode 100644 index 6a2e003..0000000 --- a/.emacs.d/snippets/faust-mode/button +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: button -# key: bu -# -- -button("$1")$0 \ No newline at end of file diff --git a/.emacs.d/snippets/faust-mode/case b/.emacs.d/snippets/faust-mode/case deleted file mode 100644 index a7415ca..0000000 --- a/.emacs.d/snippets/faust-mode/case +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: case -# key: ca -# -- -case { - $1 - }; -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/faust-mode/checkbox b/.emacs.d/snippets/faust-mode/checkbox deleted file mode 100644 index 4471fcd..0000000 --- a/.emacs.d/snippets/faust-mode/checkbox +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: checkbox -# key: ch -# -- -checkbox("$1")$0 \ No newline at end of file diff --git a/.emacs.d/snippets/faust-mode/component b/.emacs.d/snippets/faust-mode/component deleted file mode 100644 index 9173b10..0000000 --- a/.emacs.d/snippets/faust-mode/component +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: component -# key: co -# -- -component("$1.dsp")$0 \ No newline at end of file diff --git a/.emacs.d/snippets/faust-mode/declare b/.emacs.d/snippets/faust-mode/declare deleted file mode 100644 index 7b27d03..0000000 --- a/.emacs.d/snippets/faust-mode/declare +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: declare -# key: de -# -- -declare ${1:key} "${2:value}"; -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/faust-mode/declareauthor b/.emacs.d/snippets/faust-mode/declareauthor deleted file mode 100644 index ea96229..0000000 --- a/.emacs.d/snippets/faust-mode/declareauthor +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: declare author -# key: da -# -- -declare author "$1"; -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/faust-mode/declarelicense b/.emacs.d/snippets/faust-mode/declarelicense deleted file mode 100644 index 608f8a1..0000000 --- a/.emacs.d/snippets/faust-mode/declarelicense +++ /dev/null @@ -1,16 +0,0 @@ -# -*- mode: snippet -*- -# name: declare license -# key: dl -# -- -declare license "${1:$$ - (yas-choose-value '( - "AGPLv3" - "Apache" - "BSD 2-clause" - "BSD 3-clause" - "GPLv2" - "GPLv3" - "LGPLv3" - "MIT" - ))}"; -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/faust-mode/declarename b/.emacs.d/snippets/faust-mode/declarename deleted file mode 100644 index a8fdec6..0000000 --- a/.emacs.d/snippets/faust-mode/declarename +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: declare name -# key: dn -# -- -declare name "$1"; -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/faust-mode/declareversion b/.emacs.d/snippets/faust-mode/declareversion deleted file mode 100644 index 58de938..0000000 --- a/.emacs.d/snippets/faust-mode/declareversion +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: declare version -# key: dv -# -- -declare version "${1:0.1}"; -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/faust-mode/hbargraph b/.emacs.d/snippets/faust-mode/hbargraph deleted file mode 100644 index a909992..0000000 --- a/.emacs.d/snippets/faust-mode/hbargraph +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: hbargraph -# key: hb -# -- -hbargraph("${1:name}", ${2:min}, ${3:max})$0 \ No newline at end of file diff --git a/.emacs.d/snippets/faust-mode/header b/.emacs.d/snippets/faust-mode/header deleted file mode 100644 index fa447b5..0000000 --- a/.emacs.d/snippets/faust-mode/header +++ /dev/null @@ -1,19 +0,0 @@ -# -*- mode: snippet -*- -# name: header -# key: he -# -- -declare name "$1"; -declare version "${2:0.1}"; -declare author "$3"; -declare license "${4:$$ - (yas-choose-value '( - "AGPLv3" - "Apache" - "BSD 2-clause" - "BSD 3-clause" - "GPLv2" - "GPLv3" - "LGPLv3" - "MIT" - ))}"; -$0 diff --git a/.emacs.d/snippets/faust-mode/hgroup b/.emacs.d/snippets/faust-mode/hgroup deleted file mode 100644 index 30172a0..0000000 --- a/.emacs.d/snippets/faust-mode/hgroup +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: hgroup -# key: hg -# -- -hgroup("${1:name}", ${2:expression})$0 \ No newline at end of file diff --git a/.emacs.d/snippets/faust-mode/hslider b/.emacs.d/snippets/faust-mode/hslider deleted file mode 100644 index b3771d4..0000000 --- a/.emacs.d/snippets/faust-mode/hslider +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: hslider -# key: hs -# -- -hslider("${1:name}", ${2:default}, ${3:min}, ${4:max}, ${5:step})$0 \ No newline at end of file diff --git a/.emacs.d/snippets/faust-mode/import b/.emacs.d/snippets/faust-mode/import deleted file mode 100644 index e26b8d4..0000000 --- a/.emacs.d/snippets/faust-mode/import +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: import -# key: im -# -- -import("$1.lib");$0 \ No newline at end of file diff --git a/.emacs.d/snippets/faust-mode/nentry b/.emacs.d/snippets/faust-mode/nentry deleted file mode 100644 index 5e2630f..0000000 --- a/.emacs.d/snippets/faust-mode/nentry +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: nentry -# key: ne -# -- -nentry("${1:name}", ${2:default}, ${3:min}, ${4:max}, ${5:step})$0 \ No newline at end of file diff --git a/.emacs.d/snippets/faust-mode/par b/.emacs.d/snippets/faust-mode/par deleted file mode 100644 index 7a1e071..0000000 --- a/.emacs.d/snippets/faust-mode/par +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: par -# key: pa -# -- -par(${1:i}, ${2:Nr}, ${3:expression})$0 \ No newline at end of file diff --git a/.emacs.d/snippets/faust-mode/process b/.emacs.d/snippets/faust-mode/process deleted file mode 100644 index d297fc5..0000000 --- a/.emacs.d/snippets/faust-mode/process +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: process -# key: pr -# -- -process = $1; -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/faust-mode/processx b/.emacs.d/snippets/faust-mode/processx deleted file mode 100644 index 4fc819c..0000000 --- a/.emacs.d/snippets/faust-mode/processx +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: processx -# key: px -# -- -process(${1:x}) = ${2:expression}($1); \ No newline at end of file diff --git a/.emacs.d/snippets/faust-mode/prod b/.emacs.d/snippets/faust-mode/prod deleted file mode 100644 index d552bf6..0000000 --- a/.emacs.d/snippets/faust-mode/prod +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: prod -# key: mu -# -- -prod(${1:i}, ${2:Nr}, ${3:expression})$0 \ No newline at end of file diff --git a/.emacs.d/snippets/faust-mode/rule b/.emacs.d/snippets/faust-mode/rule deleted file mode 100644 index b7ac187..0000000 --- a/.emacs.d/snippets/faust-mode/rule +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: rule -# key: ru -# -- - (${1:pattern}) => ${2:expression}; -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/faust-mode/seq b/.emacs.d/snippets/faust-mode/seq deleted file mode 100644 index 8c3651f..0000000 --- a/.emacs.d/snippets/faust-mode/seq +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: seq -# key: se -# -- -seq(${1:i}, ${2:Nr}, ${3:expression})$0 \ No newline at end of file diff --git a/.emacs.d/snippets/faust-mode/sum b/.emacs.d/snippets/faust-mode/sum deleted file mode 100644 index 60c69f2..0000000 --- a/.emacs.d/snippets/faust-mode/sum +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: sum -# key: su -# -- -sum(${1:i}, ${2:Nr}, ${3:expression})$0 \ No newline at end of file diff --git a/.emacs.d/snippets/faust-mode/tgroup b/.emacs.d/snippets/faust-mode/tgroup deleted file mode 100644 index 753e91f..0000000 --- a/.emacs.d/snippets/faust-mode/tgroup +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: tgroup -# key: tg -# -- -tgroup("${1:name}", ${2:expression})$0 \ No newline at end of file diff --git a/.emacs.d/snippets/faust-mode/vbargraph b/.emacs.d/snippets/faust-mode/vbargraph deleted file mode 100644 index 814beae..0000000 --- a/.emacs.d/snippets/faust-mode/vbargraph +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: vbargraph -# key: vb -# -- -vbargraph("${1:name}", ${2:min}, ${3:max})$0 \ No newline at end of file diff --git a/.emacs.d/snippets/faust-mode/vgroup b/.emacs.d/snippets/faust-mode/vgroup deleted file mode 100644 index 8ec703a..0000000 --- a/.emacs.d/snippets/faust-mode/vgroup +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: vgroup -# key: vg -# -- -vgroup("${1:name}", ${2:expression})$0 \ No newline at end of file diff --git a/.emacs.d/snippets/faust-mode/vslider b/.emacs.d/snippets/faust-mode/vslider deleted file mode 100644 index ed60890..0000000 --- a/.emacs.d/snippets/faust-mode/vslider +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: vslider -# key: vs -# -- -vslider("${1:name}", ${2:default}, ${3:min}, ${4:max}, ${5:step})$0 \ No newline at end of file diff --git a/.emacs.d/snippets/faust-mode/with b/.emacs.d/snippets/faust-mode/with deleted file mode 100644 index 3c9feda..0000000 --- a/.emacs.d/snippets/faust-mode/with +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: with -# key: wi -# -- -with { - ${1:expression} -}; -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/git-commit-mode/.yas-parents b/.emacs.d/snippets/git-commit-mode/.yas-parents deleted file mode 100644 index d58dacb..0000000 --- a/.emacs.d/snippets/git-commit-mode/.yas-parents +++ /dev/null @@ -1 +0,0 @@ -text-mode \ No newline at end of file diff --git a/.emacs.d/snippets/git-commit-mode/fixes b/.emacs.d/snippets/git-commit-mode/fixes deleted file mode 100644 index 22ad91d..0000000 --- a/.emacs.d/snippets/git-commit-mode/fixes +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: fixes -# key: fix -# -- -fixes #${1:100} \ No newline at end of file diff --git a/.emacs.d/snippets/git-commit-mode/references b/.emacs.d/snippets/git-commit-mode/references deleted file mode 100644 index 160ebc0..0000000 --- a/.emacs.d/snippets/git-commit-mode/references +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: references -# key: ref -# -- -references #${1:100} \ No newline at end of file diff --git a/.emacs.d/snippets/go-mode/benchmark b/.emacs.d/snippets/go-mode/benchmark deleted file mode 100644 index ef669a8..0000000 --- a/.emacs.d/snippets/go-mode/benchmark +++ /dev/null @@ -1,10 +0,0 @@ -# -*- mode: snippet -*- -# name: benchmark -# key: bench -# contributor : @atotto -# -- -func Benchmark$1(b *testing.B) { - for i := 0; i < b.N; i++ { - $0 - } -} diff --git a/.emacs.d/snippets/go-mode/const b/.emacs.d/snippets/go-mode/const deleted file mode 100644 index c6524e3..0000000 --- a/.emacs.d/snippets/go-mode/const +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode:snippet -*- -# name: const -# key: const -# -- -const ${1:name type} = ${2:val} -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/go-mode/const( b/.emacs.d/snippets/go-mode/const( deleted file mode 100644 index 03f26da..0000000 --- a/.emacs.d/snippets/go-mode/const( +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode:snippet -*- -# name: const (...) -# key: const -# -- -const ( - ${1:name type} = ${2:val} -) \ No newline at end of file diff --git a/.emacs.d/snippets/go-mode/dd b/.emacs.d/snippets/go-mode/dd deleted file mode 100644 index 6e6fd1e..0000000 --- a/.emacs.d/snippets/go-mode/dd +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: debug fmt.Printf -# key: dd -# -- -fmt.Printf("%+v\n", $1) // output for debug -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/go-mode/default b/.emacs.d/snippets/go-mode/default deleted file mode 100644 index e0cd749..0000000 --- a/.emacs.d/snippets/go-mode/default +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: default -# key: def -# -- -default: -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/go-mode/else b/.emacs.d/snippets/go-mode/else deleted file mode 100644 index 7f71305..0000000 --- a/.emacs.d/snippets/go-mode/else +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: else -# key: el -# -- - else { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/go-mode/error b/.emacs.d/snippets/go-mode/error deleted file mode 100644 index 85c539a..0000000 --- a/.emacs.d/snippets/go-mode/error +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: error -# key: err -# contributor : @atotto -# -- -if err != nil { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/go-mode/example b/.emacs.d/snippets/go-mode/example deleted file mode 100644 index acfb75d..0000000 --- a/.emacs.d/snippets/go-mode/example +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: example -# key: example -# contributor : @atotto -# -- -func Example$1() { - $0 -} diff --git a/.emacs.d/snippets/go-mode/for b/.emacs.d/snippets/go-mode/for deleted file mode 100644 index 9f404a3..0000000 --- a/.emacs.d/snippets/go-mode/for +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode:snippet -*- -# name: for -# key: for -# -- -for $1 { - $0 -} diff --git a/.emacs.d/snippets/go-mode/forrange b/.emacs.d/snippets/go-mode/forrange deleted file mode 100644 index 9d889eb..0000000 --- a/.emacs.d/snippets/go-mode/forrange +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: for range -# key: range -# contributor : @atotto -# -- -for ${3:key}, ${2:value} := range ${1:target} { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/go-mode/func b/.emacs.d/snippets/go-mode/func deleted file mode 100644 index 9b1649f..0000000 --- a/.emacs.d/snippets/go-mode/func +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: func -# key: func -# -- -// $1 ${4:...} -func ${1:name}(${2:args}) $3 { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/go-mode/if b/.emacs.d/snippets/go-mode/if deleted file mode 100644 index 569c1d5..0000000 --- a/.emacs.d/snippets/go-mode/if +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: if -# key: if -# -- -if $1 { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/go-mode/iferr b/.emacs.d/snippets/go-mode/iferr deleted file mode 100644 index f1a284e..0000000 --- a/.emacs.d/snippets/go-mode/iferr +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: if error -# key: iferr -# -- -if err != $1 { - $0 -} diff --git a/.emacs.d/snippets/go-mode/import b/.emacs.d/snippets/go-mode/import deleted file mode 100644 index adf411b..0000000 --- a/.emacs.d/snippets/go-mode/import +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode:snippet -*- -# name: import -# key: imp -# -- -import "$1" -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/go-mode/import( b/.emacs.d/snippets/go-mode/import( deleted file mode 100644 index b38ccf7..0000000 --- a/.emacs.d/snippets/go-mode/import( +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode:snippet -*- -# name: import (...) -# key: imp -# -- -import ( - "$0" -) diff --git a/.emacs.d/snippets/go-mode/lambda b/.emacs.d/snippets/go-mode/lambda deleted file mode 100644 index 07edca4..0000000 --- a/.emacs.d/snippets/go-mode/lambda +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: lambda func -# key: lambda -# -- -func(${1:args}) $2 { - $0 -}() \ No newline at end of file diff --git a/.emacs.d/snippets/go-mode/main b/.emacs.d/snippets/go-mode/main deleted file mode 100644 index 22d4b85..0000000 --- a/.emacs.d/snippets/go-mode/main +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: func main() -# key: main -# -- -func main() { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/go-mode/map b/.emacs.d/snippets/go-mode/map deleted file mode 100644 index a2860ce..0000000 --- a/.emacs.d/snippets/go-mode/map +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: map -# key: map -# -- -map[${1:type}]${2:type} diff --git a/.emacs.d/snippets/go-mode/parallel_benchmark b/.emacs.d/snippets/go-mode/parallel_benchmark deleted file mode 100644 index cde7301..0000000 --- a/.emacs.d/snippets/go-mode/parallel_benchmark +++ /dev/null @@ -1,12 +0,0 @@ -# -*- mode: snippet -*- -# name: parallel_benchmark -# key: parbench -# contributor : @kostya-sh -# -- -func Benchmark$1(b *testing.B) { - b.RunParallel(func(pb *testing.PB) { - for pb.Next() { - $0 - } - }) -} diff --git a/.emacs.d/snippets/go-mode/printf b/.emacs.d/snippets/go-mode/printf deleted file mode 100644 index 56563df..0000000 --- a/.emacs.d/snippets/go-mode/printf +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: fmt.Printf(...) -# key: pr -# -- -fmt.Printf("${1:%s}\n", ${2:args}) -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/go-mode/select b/.emacs.d/snippets/go-mode/select deleted file mode 100644 index 1db4b3c..0000000 --- a/.emacs.d/snippets/go-mode/select +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: select -# key: sel -# -- -select { -case $1: - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/go-mode/switch b/.emacs.d/snippets/go-mode/switch deleted file mode 100644 index 95c9dd7..0000000 --- a/.emacs.d/snippets/go-mode/switch +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: switch -# key: sw -# -- -switch $1 { -case $2: - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/go-mode/test b/.emacs.d/snippets/go-mode/test deleted file mode 100644 index 8baf8c9..0000000 --- a/.emacs.d/snippets/go-mode/test +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: test -# key: at -# contributor : @atotto -# -- -func Test$1(t *testing.T) { - $0 -} diff --git a/.emacs.d/snippets/go-mode/testmain b/.emacs.d/snippets/go-mode/testmain deleted file mode 100644 index 5f208da..0000000 --- a/.emacs.d/snippets/go-mode/testmain +++ /dev/null @@ -1,21 +0,0 @@ -# -*- mode: snippet -*- -# name: testmain -# key: testmain -# contributor : @atotto -# -- -func TestMain(m *testing.M) { - setup() - ret := m.Run() - if ret == 0 { - teardown() - } - os.Exit(ret) -} - -func setup() { - $1 -} - -func teardown() { - $2 -} \ No newline at end of file diff --git a/.emacs.d/snippets/go-mode/type b/.emacs.d/snippets/go-mode/type deleted file mode 100644 index 862feb7..0000000 --- a/.emacs.d/snippets/go-mode/type +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: type -# key: type -# -- -type $1 $2 { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/go-mode/var b/.emacs.d/snippets/go-mode/var deleted file mode 100644 index 839eb9f..0000000 --- a/.emacs.d/snippets/go-mode/var +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: var -# key: var -# -- -var ${1:name} ${2:type} -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/go-mode/var( b/.emacs.d/snippets/go-mode/var( deleted file mode 100644 index 5ad7cc8..0000000 --- a/.emacs.d/snippets/go-mode/var( +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: var (...) -# key: var -# -- -var ( - ${1:name} ${2:type} -) \ No newline at end of file diff --git a/.emacs.d/snippets/groovy-mode/.yas-parents b/.emacs.d/snippets/groovy-mode/.yas-parents deleted file mode 100644 index c23a148..0000000 --- a/.emacs.d/snippets/groovy-mode/.yas-parents +++ /dev/null @@ -1 +0,0 @@ -java-mode \ No newline at end of file diff --git a/.emacs.d/snippets/groovy-mode/class b/.emacs.d/snippets/groovy-mode/class deleted file mode 100644 index d58e4ba..0000000 --- a/.emacs.d/snippets/groovy-mode/class +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: class -# key: class -# -- -class ${1:Class} { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/groovy-mode/def b/.emacs.d/snippets/groovy-mode/def deleted file mode 100644 index 5d7aa22..0000000 --- a/.emacs.d/snippets/groovy-mode/def +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: def -# key: def -# -- -def ${1:method}(${2:args}) { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/groovy-mode/dict b/.emacs.d/snippets/groovy-mode/dict deleted file mode 100644 index 380eaf8..0000000 --- a/.emacs.d/snippets/groovy-mode/dict +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: dict -# key: dict -# -- -${1:dict} = [${2:key} : ${3:value}$0] \ No newline at end of file diff --git a/.emacs.d/snippets/groovy-mode/for b/.emacs.d/snippets/groovy-mode/for deleted file mode 100644 index c060814..0000000 --- a/.emacs.d/snippets/groovy-mode/for +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: for -# key: for -# -- -for (${1:var} in ${2:iter}) { - $0 -} diff --git a/.emacs.d/snippets/groovy-mode/println b/.emacs.d/snippets/groovy-mode/println deleted file mode 100644 index 0fd8648..0000000 --- a/.emacs.d/snippets/groovy-mode/println +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: println -# key: pr -# -- -println ${1:"string"} -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/groovy-mode/times b/.emacs.d/snippets/groovy-mode/times deleted file mode 100644 index 39d218d..0000000 --- a/.emacs.d/snippets/groovy-mode/times +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: times -# key: times -# -- -${1:10}.times { - $0 -} . \ No newline at end of file diff --git a/.emacs.d/snippets/haskell-mode/case b/.emacs.d/snippets/haskell-mode/case deleted file mode 100644 index 196ab8a..0000000 --- a/.emacs.d/snippets/haskell-mode/case +++ /dev/null @@ -1,9 +0,0 @@ -# -*- mode: snippet -*- -# name: case -# key: case -# expand-env: ((yas-indent-line 'fixed)) -# -- -case ${1:var} of - ${2:cond} -> ${3:value} - $0 - otherwise -> ${4:other} \ No newline at end of file diff --git a/.emacs.d/snippets/haskell-mode/data b/.emacs.d/snippets/haskell-mode/data deleted file mode 100644 index ed0166f..0000000 --- a/.emacs.d/snippets/haskell-mode/data +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: data -# key: da -# -- -data ${1:Type} = $2 \ No newline at end of file diff --git a/.emacs.d/snippets/haskell-mode/doc b/.emacs.d/snippets/haskell-mode/doc deleted file mode 100644 index d9ac695..0000000 --- a/.emacs.d/snippets/haskell-mode/doc +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: doc -# key: d -# -- -{- - $0 --} \ No newline at end of file diff --git a/.emacs.d/snippets/haskell-mode/efix b/.emacs.d/snippets/haskell-mode/efix deleted file mode 100644 index e8714f3..0000000 --- a/.emacs.d/snippets/haskell-mode/efix +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: fixme dummy -# key: efix -# expand-env: ((yas-indent-line 'fixed)) -# -- -(error "FIXME: $0") \ No newline at end of file diff --git a/.emacs.d/snippets/haskell-mode/function b/.emacs.d/snippets/haskell-mode/function deleted file mode 100644 index ea2e022..0000000 --- a/.emacs.d/snippets/haskell-mode/function +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: fun -# key: fun -# -- -${1:function-name} :: ${2:type} -$1 ${3:arguments} $0 \ No newline at end of file diff --git a/.emacs.d/snippets/haskell-mode/functione b/.emacs.d/snippets/haskell-mode/functione deleted file mode 100644 index 22276e7..0000000 --- a/.emacs.d/snippets/haskell-mode/functione +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: fune -# key: fune -# -- -${1:function-name} :: ${2:type} -$1 = $0error "Not implemented: $1" \ No newline at end of file diff --git a/.emacs.d/snippets/haskell-mode/import b/.emacs.d/snippets/haskell-mode/import deleted file mode 100644 index 3771543..0000000 --- a/.emacs.d/snippets/haskell-mode/import +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: import -# key: import -# -- -import${1: qualified} ${2:Module${3:(symbols)}}${4: as ${5:alias}} \ No newline at end of file diff --git a/.emacs.d/snippets/haskell-mode/instance b/.emacs.d/snippets/haskell-mode/instance deleted file mode 100644 index d288db7..0000000 --- a/.emacs.d/snippets/haskell-mode/instance +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: instance -# key: ins -# -- -instance ${1:${2:(Show a)} => }${3:Ord} ${4:DataType} where -$0 diff --git a/.emacs.d/snippets/haskell-mode/main b/.emacs.d/snippets/haskell-mode/main deleted file mode 100644 index 5ab76ba..0000000 --- a/.emacs.d/snippets/haskell-mode/main +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: main function -# key: main -# expand-env: ((yas-indent-line 'fixed)) -# -- -main :: IO () -main = do $0 \ No newline at end of file diff --git a/.emacs.d/snippets/haskell-mode/module b/.emacs.d/snippets/haskell-mode/module deleted file mode 100644 index 20d4f3c..0000000 --- a/.emacs.d/snippets/haskell-mode/module +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: module -# key: mod -# -- -module ${1:Module} where -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/haskell-mode/new class b/.emacs.d/snippets/haskell-mode/new class deleted file mode 100644 index 055b5b9..0000000 --- a/.emacs.d/snippets/haskell-mode/new class +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: new class -# key: class -# expand-env: ((yas-indent-line 'fixed)) -# -- -class ${1:Name} where - $0 \ No newline at end of file diff --git a/.emacs.d/snippets/haskell-mode/pragma b/.emacs.d/snippets/haskell-mode/pragma deleted file mode 100644 index f5f1b01..0000000 --- a/.emacs.d/snippets/haskell-mode/pragma +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: pragma -# key: prag -# -- -{-# ${1:PRAGMA} #-} \ No newline at end of file diff --git a/.emacs.d/snippets/haskell-mode/print b/.emacs.d/snippets/haskell-mode/print deleted file mode 100644 index 30b4a44..0000000 --- a/.emacs.d/snippets/haskell-mode/print +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: print -# key: pr -# -- -print $0 \ No newline at end of file diff --git a/.emacs.d/snippets/html-mode/.yas-parents b/.emacs.d/snippets/html-mode/.yas-parents deleted file mode 100644 index 74c3dd5..0000000 --- a/.emacs.d/snippets/html-mode/.yas-parents +++ /dev/null @@ -1 +0,0 @@ -nxml-mode diff --git a/.emacs.d/snippets/html-mode/dd b/.emacs.d/snippets/html-mode/dd deleted file mode 100644 index 8120b13..0000000 --- a/.emacs.d/snippets/html-mode/dd +++ /dev/null @@ -1,5 +0,0 @@ -#contributor : Rodrigo Setti -#name :
...
-#group : list -# -- -
$1
\ No newline at end of file diff --git a/.emacs.d/snippets/html-mode/dl b/.emacs.d/snippets/html-mode/dl deleted file mode 100644 index be11bb5..0000000 --- a/.emacs.d/snippets/html-mode/dl +++ /dev/null @@ -1,7 +0,0 @@ -#contributor : Rodrigo Setti -#name :
...
-#group : list -# -- -
- $0 -
diff --git a/.emacs.d/snippets/html-mode/doctype b/.emacs.d/snippets/html-mode/doctype deleted file mode 100644 index a60dfb6..0000000 --- a/.emacs.d/snippets/html-mode/doctype +++ /dev/null @@ -1,4 +0,0 @@ -#name : Doctype HTML 4.01 Strict -#group : meta -# -- - \ No newline at end of file diff --git a/.emacs.d/snippets/html-mode/doctype.html5 b/.emacs.d/snippets/html-mode/doctype.html5 deleted file mode 100644 index a892472..0000000 --- a/.emacs.d/snippets/html-mode/doctype.html5 +++ /dev/null @@ -1,4 +0,0 @@ -#name : Doctype HTML 5 -#group : meta -# -- - diff --git a/.emacs.d/snippets/html-mode/doctype.xhtml1 b/.emacs.d/snippets/html-mode/doctype.xhtml1 deleted file mode 100644 index 5d95e07..0000000 --- a/.emacs.d/snippets/html-mode/doctype.xhtml1 +++ /dev/null @@ -1,4 +0,0 @@ -#name : DocType XHTML 1.0 frameset -#group : meta -# -- - \ No newline at end of file diff --git a/.emacs.d/snippets/html-mode/doctype.xhtml1_1 b/.emacs.d/snippets/html-mode/doctype.xhtml1_1 deleted file mode 100644 index fec46d7..0000000 --- a/.emacs.d/snippets/html-mode/doctype.xhtml1_1 +++ /dev/null @@ -1,4 +0,0 @@ -#name : DocType XHTML 1.1 -#group : meta -# -- - \ No newline at end of file diff --git a/.emacs.d/snippets/html-mode/doctype.xhtml1_strict b/.emacs.d/snippets/html-mode/doctype.xhtml1_strict deleted file mode 100644 index 20d95d3..0000000 --- a/.emacs.d/snippets/html-mode/doctype.xhtml1_strict +++ /dev/null @@ -1,4 +0,0 @@ -#name : DocType XHTML 1.0 Strict -#group : meta -# -- - \ No newline at end of file diff --git a/.emacs.d/snippets/html-mode/doctype.xhtml1_transitional b/.emacs.d/snippets/html-mode/doctype.xhtml1_transitional deleted file mode 100644 index c5255fc..0000000 --- a/.emacs.d/snippets/html-mode/doctype.xhtml1_transitional +++ /dev/null @@ -1,4 +0,0 @@ -#name : DocType XHTML 1.0 Transitional -#group : meta -# -- - \ No newline at end of file diff --git a/.emacs.d/snippets/html-mode/dt b/.emacs.d/snippets/html-mode/dt deleted file mode 100644 index f385cec..0000000 --- a/.emacs.d/snippets/html-mode/dt +++ /dev/null @@ -1,5 +0,0 @@ -#contributor : Rodrigo Setti -#name :
...
-#group : list -# -- -
$1
\ No newline at end of file diff --git a/.emacs.d/snippets/html-mode/form b/.emacs.d/snippets/html-mode/form deleted file mode 100644 index f1c066d..0000000 --- a/.emacs.d/snippets/html-mode/form +++ /dev/null @@ -1,6 +0,0 @@ -#contributor : Jimmy Wu -#name :
-# -- -
- $0 -
\ No newline at end of file diff --git a/.emacs.d/snippets/html-mode/html b/.emacs.d/snippets/html-mode/html deleted file mode 100644 index 958aa6d..0000000 --- a/.emacs.d/snippets/html-mode/html +++ /dev/null @@ -1,6 +0,0 @@ -#contributor : Jimmy Wu -#name : ... -# -- - - $0 - diff --git a/.emacs.d/snippets/html-mode/html.xmlns b/.emacs.d/snippets/html-mode/html.xmlns deleted file mode 100644 index 7dd7ee4..0000000 --- a/.emacs.d/snippets/html-mode/html.xmlns +++ /dev/null @@ -1,6 +0,0 @@ -#contributor : Jimmy Wu -#name : ... -# -- - - $0 - diff --git a/.emacs.d/snippets/html-mode/link.import b/.emacs.d/snippets/html-mode/link.import deleted file mode 100644 index 30b8fd3..0000000 --- a/.emacs.d/snippets/html-mode/link.import +++ /dev/null @@ -1,4 +0,0 @@ -#contributor : Vikrant Rathore -#name : -# -- - diff --git a/.emacs.d/snippets/html-mode/link.stylesheet b/.emacs.d/snippets/html-mode/link.stylesheet deleted file mode 100644 index 6c9de74..0000000 --- a/.emacs.d/snippets/html-mode/link.stylesheet +++ /dev/null @@ -1,4 +0,0 @@ -#contributor : Jimmy Wu -#name : -# -- - \ No newline at end of file diff --git a/.emacs.d/snippets/html-mode/link.stylesheet-ie b/.emacs.d/snippets/html-mode/link.stylesheet-ie deleted file mode 100644 index 4f6a776..0000000 --- a/.emacs.d/snippets/html-mode/link.stylesheet-ie +++ /dev/null @@ -1,6 +0,0 @@ -#contributor : Jimmy Wu -#name : -# -- - \ No newline at end of file diff --git a/.emacs.d/snippets/html-mode/mailto b/.emacs.d/snippets/html-mode/mailto deleted file mode 100644 index 419f2a5..0000000 --- a/.emacs.d/snippets/html-mode/mailto +++ /dev/null @@ -1,4 +0,0 @@ -#contributor : Jimmy Wu -#name : ... -# -- -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/html-mode/meta b/.emacs.d/snippets/html-mode/meta deleted file mode 100644 index 30319ef..0000000 --- a/.emacs.d/snippets/html-mode/meta +++ /dev/null @@ -1,5 +0,0 @@ -#contributor : Jimmy Wu -#group : meta -#name : -# -- - \ No newline at end of file diff --git a/.emacs.d/snippets/html-mode/meta.http-equiv b/.emacs.d/snippets/html-mode/meta.http-equiv deleted file mode 100644 index 9913652..0000000 --- a/.emacs.d/snippets/html-mode/meta.http-equiv +++ /dev/null @@ -1,5 +0,0 @@ -#contributor : Jimmy Wu -#name : -#group : meta -# -- - diff --git a/.emacs.d/snippets/html-mode/script.javascript b/.emacs.d/snippets/html-mode/script.javascript deleted file mode 100644 index bf0c3b5..0000000 --- a/.emacs.d/snippets/html-mode/script.javascript +++ /dev/null @@ -1,6 +0,0 @@ -#contributor : Jimmy Wu -#name : -# -- - \ No newline at end of file diff --git a/.emacs.d/snippets/html-mode/script.javascript-src b/.emacs.d/snippets/html-mode/script.javascript-src deleted file mode 100644 index b64c4dc..0000000 --- a/.emacs.d/snippets/html-mode/script.javascript-src +++ /dev/null @@ -1,4 +0,0 @@ -#contributor : Jimmy Wu -#name : -# -- - \ No newline at end of file diff --git a/.emacs.d/snippets/html-mode/textarea b/.emacs.d/snippets/html-mode/textarea deleted file mode 100644 index 058498f..0000000 --- a/.emacs.d/snippets/html-mode/textarea +++ /dev/null @@ -1,4 +0,0 @@ -#contributor : Jimmy Wu -#name : -# -- - \ No newline at end of file diff --git a/.emacs.d/snippets/html-mode/th b/.emacs.d/snippets/html-mode/th deleted file mode 100644 index 3b5fab1..0000000 --- a/.emacs.d/snippets/html-mode/th +++ /dev/null @@ -1,5 +0,0 @@ -#contributor : Jimmy Wu -#name : ... -#group : table -# -- -$2 \ No newline at end of file diff --git a/.emacs.d/snippets/java-mode/apr_assert b/.emacs.d/snippets/java-mode/apr_assert deleted file mode 100644 index a3942be..0000000 --- a/.emacs.d/snippets/java-mode/apr_assert +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: apr_assert -# key: apr_assert -# -- -if (Globals.useAssertions) { - ${1:assert ..}; -} diff --git a/.emacs.d/snippets/java-mode/assert b/.emacs.d/snippets/java-mode/assert deleted file mode 100644 index 686ffea..0000000 --- a/.emacs.d/snippets/java-mode/assert +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: assert -# key: as -# -- -assert ${1:expression}; \ No newline at end of file diff --git a/.emacs.d/snippets/java-mode/assertEquals b/.emacs.d/snippets/java-mode/assertEquals deleted file mode 100644 index ce23dae..0000000 --- a/.emacs.d/snippets/java-mode/assertEquals +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: assertEquals -# key: ae -# group: test -# -- -Assert.assertEquals($1, $2); -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/java-mode/cls b/.emacs.d/snippets/java-mode/cls deleted file mode 100644 index 88f534f..0000000 --- a/.emacs.d/snippets/java-mode/cls +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: cls -# key: cls -# -- -class ${1:Class} { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/java-mode/constructor b/.emacs.d/snippets/java-mode/constructor deleted file mode 100644 index 602e496..0000000 --- a/.emacs.d/snippets/java-mode/constructor +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: constructor -# key: c -# -- -public ${1:Class} (${2:args}) { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/java-mode/define test method b/.emacs.d/snippets/java-mode/define test method deleted file mode 100644 index fd9daf6..0000000 --- a/.emacs.d/snippets/java-mode/define test method +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: define test method -# key: dt -# -- -@Test -public void test${1:Name}() throws Exception { - $0 -} diff --git a/.emacs.d/snippets/java-mode/doc b/.emacs.d/snippets/java-mode/doc deleted file mode 100644 index 88f556e..0000000 --- a/.emacs.d/snippets/java-mode/doc +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: doc -# key: /* -# -- -/** - * ${1:documentation} - */ \ No newline at end of file diff --git a/.emacs.d/snippets/java-mode/equals b/.emacs.d/snippets/java-mode/equals deleted file mode 100644 index e990966..0000000 --- a/.emacs.d/snippets/java-mode/equals +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: equals -# key: eq -# -- -public boolean equals(${1:Class} other) { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/java-mode/file_class b/.emacs.d/snippets/java-mode/file_class deleted file mode 100644 index e0a46f6..0000000 --- a/.emacs.d/snippets/java-mode/file_class +++ /dev/null @@ -1,9 +0,0 @@ -# -*- mode: snippet -*- -# name: file_class -# key: file -# -- -public class ${1:`(file-name-base - (or (buffer-file-name) - (buffer-name)))`} { - $0 -} diff --git a/.emacs.d/snippets/java-mode/for b/.emacs.d/snippets/java-mode/for deleted file mode 100644 index 833827b..0000000 --- a/.emacs.d/snippets/java-mode/for +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: for -# key: for -# -- -for (${1:int i = 0}; ${2:i < N}; ${3:i++}) { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/java-mode/fori b/.emacs.d/snippets/java-mode/fori deleted file mode 100644 index a417f2c..0000000 --- a/.emacs.d/snippets/java-mode/fori +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: fori -# key: fori -# -- -for (${1:Object el} : ${2:iterator}) { - $0 -} diff --git a/.emacs.d/snippets/java-mode/getter b/.emacs.d/snippets/java-mode/getter deleted file mode 100644 index 747f9f4..0000000 --- a/.emacs.d/snippets/java-mode/getter +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: getter -# key: g -# -- -public ${1:int} get${2:Field}() { - return ${3:field}; -} \ No newline at end of file diff --git a/.emacs.d/snippets/java-mode/if b/.emacs.d/snippets/java-mode/if deleted file mode 100644 index cae545f..0000000 --- a/.emacs.d/snippets/java-mode/if +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: if -# key: if -# -- -if (${1:condition}) { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/java-mode/ife b/.emacs.d/snippets/java-mode/ife deleted file mode 100644 index 975643f..0000000 --- a/.emacs.d/snippets/java-mode/ife +++ /dev/null @@ -1,10 +0,0 @@ -# -*- mode: snippet -*- -# name: ife -# key: ife -# -- -if (${1:cond}) { - $2 -} -else { - $3 -} \ No newline at end of file diff --git a/.emacs.d/snippets/java-mode/import b/.emacs.d/snippets/java-mode/import deleted file mode 100644 index 56235a2..0000000 --- a/.emacs.d/snippets/java-mode/import +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: import -# key: imp -# -- -import ${1:System.}; -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/java-mode/iterator b/.emacs.d/snippets/java-mode/iterator deleted file mode 100644 index 69fb2ac..0000000 --- a/.emacs.d/snippets/java-mode/iterator +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: iterator -# key: iterator -# -- -public Iterator<${1:type}> iterator() { - $0 -} diff --git a/.emacs.d/snippets/java-mode/javadoc b/.emacs.d/snippets/java-mode/javadoc deleted file mode 100644 index 5bc9051..0000000 --- a/.emacs.d/snippets/java-mode/javadoc +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: javadoc -# key: doc -# -- -/** - * $0 - * - */ \ No newline at end of file diff --git a/.emacs.d/snippets/java-mode/lambda b/.emacs.d/snippets/java-mode/lambda deleted file mode 100644 index a73a7a5..0000000 --- a/.emacs.d/snippets/java-mode/lambda +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: lambda -# key: \ -# -- -(${1:args}) -> ${2:expression}; \ No newline at end of file diff --git a/.emacs.d/snippets/java-mode/main b/.emacs.d/snippets/java-mode/main deleted file mode 100644 index b24e49d..0000000 --- a/.emacs.d/snippets/java-mode/main +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: main -# key: main -# -- -public static void main(String[] args) { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/java-mode/main_class b/.emacs.d/snippets/java-mode/main_class deleted file mode 100644 index 624b31c..0000000 --- a/.emacs.d/snippets/java-mode/main_class +++ /dev/null @@ -1,11 +0,0 @@ -# contributor: L. Guruprasad -# name: main_class -# key: main_class -# -- -class `(file-name-nondirectory (file-name-sans-extension (buffer-file-name)))` -{ -public static void main(String args[]) -{ -$0 -} -} \ No newline at end of file diff --git a/.emacs.d/snippets/java-mode/method b/.emacs.d/snippets/java-mode/method deleted file mode 100644 index 7a6b9ed..0000000 --- a/.emacs.d/snippets/java-mode/method +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: method -# key: m -# -- -${1:public} ${2:void} ${3:name}(${4:args}) { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/java-mode/new b/.emacs.d/snippets/java-mode/new deleted file mode 100644 index f06091d..0000000 --- a/.emacs.d/snippets/java-mode/new +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: new -# key: new -# -- -${1:Type} ${2:obj} = new ${3:Constr}(${4:args}); -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/java-mode/override b/.emacs.d/snippets/java-mode/override deleted file mode 100644 index 9878c85..0000000 --- a/.emacs.d/snippets/java-mode/override +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: override -# key: o -# -- -@Override -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/java-mode/param b/.emacs.d/snippets/java-mode/param deleted file mode 100644 index 4a1f44d..0000000 --- a/.emacs.d/snippets/java-mode/param +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: param -# key: param -# -- -@param ${1:paramater} $0 \ No newline at end of file diff --git a/.emacs.d/snippets/java-mode/printf b/.emacs.d/snippets/java-mode/printf deleted file mode 100644 index f93c965..0000000 --- a/.emacs.d/snippets/java-mode/printf +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: printf -# key: printf -# -- -System.out.printf("$0%n"); \ No newline at end of file diff --git a/.emacs.d/snippets/java-mode/println b/.emacs.d/snippets/java-mode/println deleted file mode 100644 index 7dd8f0d..0000000 --- a/.emacs.d/snippets/java-mode/println +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: println -# key: pr -# -- -System.out.println("${1:text}"); -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/java-mode/return b/.emacs.d/snippets/java-mode/return deleted file mode 100644 index 5712e0c..0000000 --- a/.emacs.d/snippets/java-mode/return +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: return -# key: r -# -- -return $0 \ No newline at end of file diff --git a/.emacs.d/snippets/java-mode/test b/.emacs.d/snippets/java-mode/test deleted file mode 100644 index a37d115..0000000 --- a/.emacs.d/snippets/java-mode/test +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: test -# key: test -# -- -@Test -public void test_${1:Case}() { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/java-mode/testClass b/.emacs.d/snippets/java-mode/testClass deleted file mode 100644 index b01a68f..0000000 --- a/.emacs.d/snippets/java-mode/testClass +++ /dev/null @@ -1,12 +0,0 @@ -# -*- mode: snippet -*- -# name: testClass -# key: tc -# -- -import junit.framework.*; -import junit.textui.*; - -public class Test${1:Class} extends TestCase { - protected void setUp() { - $0 - } -} \ No newline at end of file diff --git a/.emacs.d/snippets/java-mode/this b/.emacs.d/snippets/java-mode/this deleted file mode 100644 index 45201b4..0000000 --- a/.emacs.d/snippets/java-mode/this +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: this -# key: . -# -- -this.$1 = $1; -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/java-mode/toString b/.emacs.d/snippets/java-mode/toString deleted file mode 100644 index 0382a9e..0000000 --- a/.emacs.d/snippets/java-mode/toString +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: toString -# key: toStr -# -- -public String toString() { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/java-mode/try b/.emacs.d/snippets/java-mode/try deleted file mode 100644 index 1a17ba3..0000000 --- a/.emacs.d/snippets/java-mode/try +++ /dev/null @@ -1,11 +0,0 @@ -# -*- mode: snippet -*- -# name: try -# key: try -# -- -try { - $0 -} -catch (${1:Throwable e}) { - ${2:System.out.println("Error " + e.getMessage()); - e.printStackTrace();} -} diff --git a/.emacs.d/snippets/java-mode/value b/.emacs.d/snippets/java-mode/value deleted file mode 100644 index 7ec38ef..0000000 --- a/.emacs.d/snippets/java-mode/value +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: value -# key: val -# -- -final ${1:int} ${2:n} = $0; \ No newline at end of file diff --git a/.emacs.d/snippets/js-mode/al b/.emacs.d/snippets/js-mode/al deleted file mode 100644 index 04fbec4..0000000 --- a/.emacs.d/snippets/js-mode/al +++ /dev/null @@ -1,4 +0,0 @@ -# -*- mode: snippet -*- -#name : alert -# -- -alert($0); \ No newline at end of file diff --git a/.emacs.d/snippets/js-mode/arrow-function b/.emacs.d/snippets/js-mode/arrow-function deleted file mode 100644 index 5368b4b..0000000 --- a/.emacs.d/snippets/js-mode/arrow-function +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: arrow function -# key: af -# group: es6 -# -- -(${1:arg}) => $0 \ No newline at end of file diff --git a/.emacs.d/snippets/js-mode/class b/.emacs.d/snippets/js-mode/class deleted file mode 100644 index 84171bb..0000000 --- a/.emacs.d/snippets/js-mode/class +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -#name : Class -# -- -var ${1:name} = new Class({ - initialize: function($2) { - $0 - } -}); \ No newline at end of file diff --git a/.emacs.d/snippets/js-mode/class-es6 b/.emacs.d/snippets/js-mode/class-es6 deleted file mode 100644 index 70447ee..0000000 --- a/.emacs.d/snippets/js-mode/class-es6 +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: class-es6 -# key: class -# group: es6 -# -- -class ${1:Class}${2: extends ${3:ParentClass}} { - ${4:constructor(${5:arg}) { - ${6:super(arg);} - $7 - }} - - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/js-mode/com b/.emacs.d/snippets/js-mode/com deleted file mode 100644 index 6179e18..0000000 --- a/.emacs.d/snippets/js-mode/com +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -#name : comment (/* ... */) -# -- -/* - * $0 - */ \ No newline at end of file diff --git a/.emacs.d/snippets/js-mode/const b/.emacs.d/snippets/js-mode/const deleted file mode 100644 index c42290b..0000000 --- a/.emacs.d/snippets/js-mode/const +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: const declaration -# key: const -# group: es6 -# -- -const ${1:name} = ${2:initial}; \ No newline at end of file diff --git a/.emacs.d/snippets/js-mode/debugger b/.emacs.d/snippets/js-mode/debugger deleted file mode 100644 index 09af6eb..0000000 --- a/.emacs.d/snippets/js-mode/debugger +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: debugger -# key: dbg -# -- -debugger; \ No newline at end of file diff --git a/.emacs.d/snippets/js-mode/each b/.emacs.d/snippets/js-mode/each deleted file mode 100644 index d24d4d6..0000000 --- a/.emacs.d/snippets/js-mode/each +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: each -# -- -${1:collection}.forEach(function (${2:elem}) { - $0 -}); \ No newline at end of file diff --git a/.emacs.d/snippets/js-mode/el b/.emacs.d/snippets/js-mode/el deleted file mode 100644 index ac13571..0000000 --- a/.emacs.d/snippets/js-mode/el +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -#name : else -# -- -else { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/js-mode/ev.add b/.emacs.d/snippets/js-mode/ev.add deleted file mode 100644 index cf2a7e0..0000000 --- a/.emacs.d/snippets/js-mode/ev.add +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -#name : addEvent -# -- -addEvent('${1:event}', function($2) { - $0 -}); \ No newline at end of file diff --git a/.emacs.d/snippets/js-mode/ev.fire b/.emacs.d/snippets/js-mode/ev.fire deleted file mode 100644 index c90e9ed..0000000 --- a/.emacs.d/snippets/js-mode/ev.fire +++ /dev/null @@ -1,4 +0,0 @@ -# -*- mode: snippet -*- -#name : fireEvent -# -- -fireEvent('$0') \ No newline at end of file diff --git a/.emacs.d/snippets/js-mode/export b/.emacs.d/snippets/js-mode/export deleted file mode 100644 index bddcd43..0000000 --- a/.emacs.d/snippets/js-mode/export +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: export -# key: exp -# group: es6 -# -- -export${1: default} $0; \ No newline at end of file diff --git a/.emacs.d/snippets/js-mode/for b/.emacs.d/snippets/js-mode/for deleted file mode 100644 index 1455afe..0000000 --- a/.emacs.d/snippets/js-mode/for +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: for -# -- -for (var ${1:i} = ${2:0}; $1 < ${3:collection}.length; $1++) { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/js-mode/function b/.emacs.d/snippets/js-mode/function deleted file mode 100644 index 31ef374..0000000 --- a/.emacs.d/snippets/js-mode/function +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: function -# key: f -# -- -function ${1:name}(${2:arg}) { - $0 -} diff --git a/.emacs.d/snippets/js-mode/getter b/.emacs.d/snippets/js-mode/getter deleted file mode 100644 index 19a2050..0000000 --- a/.emacs.d/snippets/js-mode/getter +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: getter -# key: get -# group: es6 -# -- -get ${1:prop}() { - return $0; -} \ No newline at end of file diff --git a/.emacs.d/snippets/js-mode/if b/.emacs.d/snippets/js-mode/if deleted file mode 100644 index 7306759..0000000 --- a/.emacs.d/snippets/js-mode/if +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -#name : if -# -- -if (${1:condition}) { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/js-mode/import b/.emacs.d/snippets/js-mode/import deleted file mode 100644 index ba45da1..0000000 --- a/.emacs.d/snippets/js-mode/import +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: import -# key: imp -# group: es6 -# -- -import ${1:defaultMember}${2:, { ${3:member} }} from '${4:module}'; \ No newline at end of file diff --git a/.emacs.d/snippets/js-mode/import-member b/.emacs.d/snippets/js-mode/import-member deleted file mode 100644 index a83f1e5..0000000 --- a/.emacs.d/snippets/js-mode/import-member +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: import member -# key: imm -# group: es6 -# -- -import { ${1:member1}, ${2:member2} } from '${3:module}'; \ No newline at end of file diff --git a/.emacs.d/snippets/js-mode/init b/.emacs.d/snippets/js-mode/init deleted file mode 100644 index 4ea461f..0000000 --- a/.emacs.d/snippets/js-mode/init +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: Constructor -# key: init -# -- -initialize: function($1) { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/js-mode/init-es6 b/.emacs.d/snippets/js-mode/init-es6 deleted file mode 100644 index abb76de..0000000 --- a/.emacs.d/snippets/js-mode/init-es6 +++ /dev/null @@ -1,9 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: init-es6 -# key: init -# group: es6 -# -- -constructor(${1:arg}) { - ${2:super(${3:arg});} - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/js-mode/let b/.emacs.d/snippets/js-mode/let deleted file mode 100644 index c373b3a..0000000 --- a/.emacs.d/snippets/js-mode/let +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: let declaration -# key: let -# group: es6 -# -- -let ${1:name} = ${2:initial}; \ No newline at end of file diff --git a/.emacs.d/snippets/js-mode/log b/.emacs.d/snippets/js-mode/log deleted file mode 100644 index 2f33f4d..0000000 --- a/.emacs.d/snippets/js-mode/log +++ /dev/null @@ -1,4 +0,0 @@ -# -*- mode: snippet -*- -#name : console.log -# -- -console.log($0); \ No newline at end of file diff --git a/.emacs.d/snippets/js-mode/method b/.emacs.d/snippets/js-mode/method deleted file mode 100644 index 7fbee16..0000000 --- a/.emacs.d/snippets/js-mode/method +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: method -# key: met -# group: es6 -# -- -${1:name}(${2:arg}) { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/js-mode/multiline-comment b/.emacs.d/snippets/js-mode/multiline-comment deleted file mode 100644 index 1d34aed..0000000 --- a/.emacs.d/snippets/js-mode/multiline-comment +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -#name : multiline-comment -#key: /** -# -- -/** - * $0 - */ \ No newline at end of file diff --git a/.emacs.d/snippets/js-mode/param-comment b/.emacs.d/snippets/js-mode/param-comment deleted file mode 100644 index e3c9d27..0000000 --- a/.emacs.d/snippets/js-mode/param-comment +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -#name: param-comment -#key: *@p -#condition: (= (js2-node-type (js2-node-at-point)) js2-COMMENT) -# -- -* @param {${type}} ${comment}. \ No newline at end of file diff --git a/.emacs.d/snippets/js-mode/promise b/.emacs.d/snippets/js-mode/promise deleted file mode 100644 index bef9eba..0000000 --- a/.emacs.d/snippets/js-mode/promise +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: Promise -# key: prom -# group: es6 -# -- -new Promise((resolve, reject) => { - $0 -}); \ No newline at end of file diff --git a/.emacs.d/snippets/js-mode/req.html b/.emacs.d/snippets/js-mode/req.html deleted file mode 100644 index bc1491f..0000000 --- a/.emacs.d/snippets/js-mode/req.html +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -#name : html -# -- -new Request.HTML({ - onSuccess: function(responseTree, responseElements, responseHTML, responseJavaScript) { - $0 - } -}).${1:get}(${2:url}); \ No newline at end of file diff --git a/.emacs.d/snippets/js-mode/req.json b/.emacs.d/snippets/js-mode/req.json deleted file mode 100644 index 36fb03f..0000000 --- a/.emacs.d/snippets/js-mode/req.json +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -#name : json -# -- -new Request.JSON({ - onSuccess: function(responseJSON, responseText) { - $0 - } -}).${1:send}(${2:url}); \ No newline at end of file diff --git a/.emacs.d/snippets/js-mode/return-comment b/.emacs.d/snippets/js-mode/return-comment deleted file mode 100644 index fc5dadf..0000000 --- a/.emacs.d/snippets/js-mode/return-comment +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -#name: return-comment -#key: *@r -#condition: (= (js2-node-type (js2-node-at-point)) js2-COMMENT) -# -- -* @return {${type}} \ No newline at end of file diff --git a/.emacs.d/snippets/js-mode/setter b/.emacs.d/snippets/js-mode/setter deleted file mode 100644 index 36fb2a8..0000000 --- a/.emacs.d/snippets/js-mode/setter +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: setter -# key: set -# group: es6 -# -- -set ${1:prop}(${2:value}) { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/js-mode/switch b/.emacs.d/snippets/js-mode/switch deleted file mode 100644 index 646d672..0000000 --- a/.emacs.d/snippets/js-mode/switch +++ /dev/null @@ -1,10 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: switch -# key: sw -# -- -switch (${1:condition}) { - case ${2:expression}: - $0 - break; - default: -} \ No newline at end of file diff --git a/.emacs.d/snippets/js-mode/try-catch b/.emacs.d/snippets/js-mode/try-catch deleted file mode 100644 index 30f26d0..0000000 --- a/.emacs.d/snippets/js-mode/try-catch +++ /dev/null @@ -1,11 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: try...catch statement -# key: try -# -- -try { - $1 -} catch (err) { - $2 -}${3: finally { - $4 -}} \ No newline at end of file diff --git a/.emacs.d/snippets/js-mode/type-inline-comment b/.emacs.d/snippets/js-mode/type-inline-comment deleted file mode 100644 index ccc9430..0000000 --- a/.emacs.d/snippets/js-mode/type-inline-comment +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -#name: type-inline-comment -#key: @ty -#condition: (not (= (js2-node-type (js2-node-at-point)) js2-COMMENT)) -# -- -/** @type {${type}} */ \ No newline at end of file diff --git a/.emacs.d/snippets/js-mode/type-multiline-comment b/.emacs.d/snippets/js-mode/type-multiline-comment deleted file mode 100644 index 92d7482..0000000 --- a/.emacs.d/snippets/js-mode/type-multiline-comment +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -#name: type-inline-comment -#key: *ty -#condition: (= (js2-node-type (js2-node-at-point)) js2-COMMENT) -# -- -* @type {${type}} \ No newline at end of file diff --git a/.emacs.d/snippets/js2-mode/.yas-parents b/.emacs.d/snippets/js2-mode/.yas-parents deleted file mode 100644 index 27dab30..0000000 --- a/.emacs.d/snippets/js2-mode/.yas-parents +++ /dev/null @@ -1 +0,0 @@ -js-mode diff --git a/.emacs.d/snippets/js3-mode/.yas-parents b/.emacs.d/snippets/js3-mode/.yas-parents deleted file mode 100644 index 27dab30..0000000 --- a/.emacs.d/snippets/js3-mode/.yas-parents +++ /dev/null @@ -1 +0,0 @@ -js-mode diff --git a/.emacs.d/snippets/latex-mode/default b/.emacs.d/snippets/latex-mode/default deleted file mode 100644 index d2ca281..0000000 --- a/.emacs.d/snippets/latex-mode/default +++ /dev/null @@ -1,12 +0,0 @@ -# -*- mode: snippet -*- -# name: default -# key: defa -# -- -\documentclass[12pt]{article} - -\usepackage{titling} -\usepackage[a4paper, left=2.5cm, right=2cm, top=2cm, bottom=2cm]{geometry} - -\begin{docuemnt} -$0 -\end{document} \ No newline at end of file diff --git a/.emacs.d/snippets/latex-mode/table b/.emacs.d/snippets/latex-mode/table deleted file mode 100644 index d1930f8..0000000 --- a/.emacs.d/snippets/latex-mode/table +++ /dev/null @@ -1,10 +0,0 @@ -# -*- mode: snippet -*- -# contributor : Mads D. Kristensen -# key: tab -# name : table -# -- -\begin{tabularx}{${3:format}} - $0 -\end{tabularx} -\caption{${1:caption}} -\label{${2:"waiting for reftex-label call..."$(unless yas/modified-p (reftex-label nil 'dont-insert))}} diff --git a/.emacs.d/snippets/latex-mode/titling b/.emacs.d/snippets/latex-mode/titling deleted file mode 100644 index f338d9e..0000000 --- a/.emacs.d/snippets/latex-mode/titling +++ /dev/null @@ -1,9 +0,0 @@ -# -*- mode: snippet -*- -# name: sectioning -# key: secc -# -- -\usepackage{titlesec} - -\titleformat{\section}{\huge\bfseries}{}{0em}{}[{\titlerule[0.4pt]}] -\titleformat{\sectionsub}{\large\bfseries}{}{0em}{}[{\titlerule[0.4pt]}] - diff --git a/.emacs.d/snippets/lisp-interaction-mode/defun b/.emacs.d/snippets/lisp-interaction-mode/defun deleted file mode 100644 index 5cf3d68..0000000 --- a/.emacs.d/snippets/lisp-interaction-mode/defun +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: defun -# key: defun -# -- -(defun ${1:fun} (${2:args}) - $0 -) \ No newline at end of file diff --git a/.emacs.d/snippets/lisp-mode/class b/.emacs.d/snippets/lisp-mode/class deleted file mode 100644 index bc5eec9..0000000 --- a/.emacs.d/snippets/lisp-mode/class +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: class -# key: cls -# -- -(defclass ${1:name} (${2:inherits}) - (${4:slot}) - (:documentation "${3:doc}")) -$0 diff --git a/.emacs.d/snippets/lisp-mode/comment b/.emacs.d/snippets/lisp-mode/comment deleted file mode 100644 index 107fad9..0000000 --- a/.emacs.d/snippets/lisp-mode/comment +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: comment -# key: /* -# -- -#|${1:type the comment here}|# -$0 diff --git a/.emacs.d/snippets/lisp-mode/defpackage b/.emacs.d/snippets/lisp-mode/defpackage deleted file mode 100644 index 2e44ac2..0000000 --- a/.emacs.d/snippets/lisp-mode/defpackage +++ /dev/null @@ -1,10 +0,0 @@ -# -*- mode: snippet -*- -# name: defpackage -# key: defp -# -- -(defpackage #:${1:name} - (:nicknames #:${2:nick}) - (:use #:cl #:closer-mop #:${3:package}) - (:shadow :${4.symbol}) - (:shadowing-import-from #:${5:package} #:${6:symbol}) - (:export :$0)) diff --git a/.emacs.d/snippets/lisp-mode/do b/.emacs.d/snippets/lisp-mode/do deleted file mode 100644 index 6f90064..0000000 --- a/.emacs.d/snippets/lisp-mode/do +++ /dev/null @@ -1,9 +0,0 @@ -# -*- mode: snippet -*- -# name: do -# key: do -# -- -(do ((${1:var1} ${2:init-form} ${3:step-form}) - (${4:var2} ${5:init-form} ${6:step-form})) - (${7:condition} ${8:return-value}) - (${9:body})) -$0 diff --git a/.emacs.d/snippets/lisp-mode/for b/.emacs.d/snippets/lisp-mode/for deleted file mode 100644 index de8f644..0000000 --- a/.emacs.d/snippets/lisp-mode/for +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: do -# key: for -# -- -(dotimes (${1:var} ${2:count-form}) - ${3:body}) -$0 diff --git a/.emacs.d/snippets/lisp-mode/foreach b/.emacs.d/snippets/lisp-mode/foreach deleted file mode 100644 index a993bf1..0000000 --- a/.emacs.d/snippets/lisp-mode/foreach +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: do -# key: foreach -# -- -(dolist (${1:var} ${2:list-form}) - ${3:body}) -$0 diff --git a/.emacs.d/snippets/lisp-mode/format b/.emacs.d/snippets/lisp-mode/format deleted file mode 100644 index d4f10ad..0000000 --- a/.emacs.d/snippets/lisp-mode/format +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: format -# key: print -# -- -(format t "~& $0 ~%") diff --git a/.emacs.d/snippets/lisp-mode/if b/.emacs.d/snippets/lisp-mode/if deleted file mode 100644 index cd57e3d..0000000 --- a/.emacs.d/snippets/lisp-mode/if +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: if -# key: if -# -- -(when (${1:condition}) - (${2:then-do-this})) -$0 diff --git a/.emacs.d/snippets/lisp-mode/ifelse b/.emacs.d/snippets/lisp-mode/ifelse deleted file mode 100644 index 91854d8..0000000 --- a/.emacs.d/snippets/lisp-mode/ifelse +++ /dev/null @@ -1,9 +0,0 @@ -# -*- mode: snippet -*- -# name: ifelse (...) (...) (...) ... -# key: ifelse -# -- - -(if (${1:condition}) - (${2:then}) - (${3:else})) -$0 diff --git a/.emacs.d/snippets/lisp-mode/ifnot b/.emacs.d/snippets/lisp-mode/ifnot deleted file mode 100644 index 467636e..0000000 --- a/.emacs.d/snippets/lisp-mode/ifnot +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: ifnot (...) (...) ... -# key: ifnot -# -- - -(unless (${1:condition}) - (${2:then-do-this})) -$0 diff --git a/.emacs.d/snippets/lisp-mode/slot b/.emacs.d/snippets/lisp-mode/slot deleted file mode 100644 index 2a51f64..0000000 --- a/.emacs.d/snippets/lisp-mode/slot +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: slot -# key: slot -# -- -(${1:name} :initarg :${1:$(yas/substr yas-text "[^: ]*")} - :initform (error ":${1:$(yas/substr yas-text "[^: ]*")} must be specified") - ;; :accessor ${1:$(yas/substr yas-text "[^: ]*")} - :reader ${1:$(yas/substr yas-text "[^: ]*")}-changed - :writer set-${1:$(yas/substr yas-text "[^: ]*")} - :type - :allocation ${3::class :instance} - :documentation "${2:about-slot}") -$0 diff --git a/.emacs.d/snippets/lisp-mode/switch b/.emacs.d/snippets/lisp-mode/switch deleted file mode 100644 index 6d002dd..0000000 --- a/.emacs.d/snippets/lisp-mode/switch +++ /dev/null @@ -1,9 +0,0 @@ -# -*- mode: snippet -*- -# name: switch -# key: switch -# -- - -(cond (${1:case1} (${2:do-this})) - (${3:case2} (${4:do-this})) - (t ${5:default})) -$0 diff --git a/.emacs.d/snippets/lisp-mode/typecast b/.emacs.d/snippets/lisp-mode/typecast deleted file mode 100644 index 4856e93..0000000 --- a/.emacs.d/snippets/lisp-mode/typecast +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: typecast -# name: cast -# -- -(coerce ${1:object} ${2:type}) -$0 diff --git a/.emacs.d/snippets/lua-mode/do b/.emacs.d/snippets/lua-mode/do deleted file mode 100644 index 43d4d86..0000000 --- a/.emacs.d/snippets/lua-mode/do +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: do -# key: do -# -- -do - $0 -end diff --git a/.emacs.d/snippets/lua-mode/eif b/.emacs.d/snippets/lua-mode/eif deleted file mode 100644 index b085911..0000000 --- a/.emacs.d/snippets/lua-mode/eif +++ /dev/null @@ -1,9 +0,0 @@ -# -*- mode: snippet -*- -# name: if elseif -# key: eif -# -- -if $1 then - $2 -elseif $3 then - $0 -end diff --git a/.emacs.d/snippets/lua-mode/eife b/.emacs.d/snippets/lua-mode/eife deleted file mode 100644 index 87db0e0..0000000 --- a/.emacs.d/snippets/lua-mode/eife +++ /dev/null @@ -1,11 +0,0 @@ -# -*- mode: snippet -*- -# name: if elseif else -# key: eife -# -- -if $1 then - $2 -elseif $3 then - $4 -else - $0 -end diff --git a/.emacs.d/snippets/lua-mode/fun b/.emacs.d/snippets/lua-mode/fun deleted file mode 100644 index 0819e72..0000000 --- a/.emacs.d/snippets/lua-mode/fun +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: fun -# key: fun -# -- -function ($1) - $0 -end diff --git a/.emacs.d/snippets/lua-mode/if b/.emacs.d/snippets/lua-mode/if deleted file mode 100644 index c74a5ec..0000000 --- a/.emacs.d/snippets/lua-mode/if +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: if -# key: if -# -- -if $1 then - $0 -end diff --git a/.emacs.d/snippets/lua-mode/ife b/.emacs.d/snippets/lua-mode/ife deleted file mode 100644 index 92248c5..0000000 --- a/.emacs.d/snippets/lua-mode/ife +++ /dev/null @@ -1,9 +0,0 @@ -# -*- mode: snippet -*- -# name: if else -# key: ife -# -- -if $1 then - $2 -else - $0 -end diff --git a/.emacs.d/snippets/lua-mode/ipairs b/.emacs.d/snippets/lua-mode/ipairs deleted file mode 100644 index 5acfd5c..0000000 --- a/.emacs.d/snippets/lua-mode/ipairs +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: for in ipairs -# key: ipairs -# -- -for ${1:idx}, ${2:val} in ipairs(${3:table_name}) do - $0 -end diff --git a/.emacs.d/snippets/lua-mode/pairs b/.emacs.d/snippets/lua-mode/pairs deleted file mode 100644 index 7d7d61c..0000000 --- a/.emacs.d/snippets/lua-mode/pairs +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: for in pairs -# key: pairs -# -- -for ${1:name}, ${2:val} in pairs(${3:table_name}) do - $0 -end diff --git a/.emacs.d/snippets/lua-mode/repeat b/.emacs.d/snippets/lua-mode/repeat deleted file mode 100644 index 8636fba..0000000 --- a/.emacs.d/snippets/lua-mode/repeat +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: repeat util -# key: repeat -# -- -repeat - $0 -until $1 diff --git a/.emacs.d/snippets/lua-mode/require b/.emacs.d/snippets/lua-mode/require deleted file mode 100644 index ce15ee1..0000000 --- a/.emacs.d/snippets/lua-mode/require +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: require -# key: require -# -- -local $1 = require "$2" diff --git a/.emacs.d/snippets/lua-mode/while b/.emacs.d/snippets/lua-mode/while deleted file mode 100644 index 2207754..0000000 --- a/.emacs.d/snippets/lua-mode/while +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: while -# key: while -# -- -while $1 do - $0 -end diff --git a/.emacs.d/snippets/m4-mode/def b/.emacs.d/snippets/m4-mode/def deleted file mode 100644 index 2cc90cb..0000000 --- a/.emacs.d/snippets/m4-mode/def +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: def -# key: def -# -- -define(\`${1:macro}',\`${2:subst}'). -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/makefile-automake-mode/noinst_HEADERS b/.emacs.d/snippets/makefile-automake-mode/noinst_HEADERS deleted file mode 100644 index ab0a30b..0000000 --- a/.emacs.d/snippets/makefile-automake-mode/noinst_HEADERS +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: noinst_HEADERS -# key: noinst -# -- -noinst_HEADERS = $0 \ No newline at end of file diff --git a/.emacs.d/snippets/makefile-bsdmake-mode/PHONY b/.emacs.d/snippets/makefile-bsdmake-mode/PHONY deleted file mode 100644 index 9652539..0000000 --- a/.emacs.d/snippets/makefile-bsdmake-mode/PHONY +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: PHONY -# key: phony -# -- -.PHONY: $0 \ No newline at end of file diff --git a/.emacs.d/snippets/makefile-bsdmake-mode/echo b/.emacs.d/snippets/makefile-bsdmake-mode/echo deleted file mode 100644 index d772a6e..0000000 --- a/.emacs.d/snippets/makefile-bsdmake-mode/echo +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: echo -# key: echo -# -- -@echo ${1:"message to output"} diff --git a/.emacs.d/snippets/makefile-bsdmake-mode/gen b/.emacs.d/snippets/makefile-bsdmake-mode/gen deleted file mode 100644 index 2b5e466..0000000 --- a/.emacs.d/snippets/makefile-bsdmake-mode/gen +++ /dev/null @@ -1,11 +0,0 @@ -# -*- mode: snippet -*- -# name: gen -# key: gen -# possibly add some smart control over the list -# -- -all: ${1:targets} - -$0 - -clean: - ${2:clean actions} diff --git a/.emacs.d/snippets/makefile-bsdmake-mode/if b/.emacs.d/snippets/makefile-bsdmake-mode/if deleted file mode 100644 index 2e623f0..0000000 --- a/.emacs.d/snippets/makefile-bsdmake-mode/if +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: if -# key: if -# -- -@if [ ${1:cond} ] - then $0 -fi diff --git a/.emacs.d/snippets/makefile-bsdmake-mode/var b/.emacs.d/snippets/makefile-bsdmake-mode/var deleted file mode 100644 index 196f4d9..0000000 --- a/.emacs.d/snippets/makefile-bsdmake-mode/var +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: var -# key: $ -# -- -$(${1:VAR})$0 \ No newline at end of file diff --git a/.emacs.d/snippets/makefile-gmake-mode/abspath b/.emacs.d/snippets/makefile-gmake-mode/abspath deleted file mode 100644 index e02c55c..0000000 --- a/.emacs.d/snippets/makefile-gmake-mode/abspath +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: abspath -# contributor: gbalats -# key: abs -# -- -\$(abspath ${1:\$(${2:paths})})$0 \ No newline at end of file diff --git a/.emacs.d/snippets/makefile-gmake-mode/addprefix b/.emacs.d/snippets/makefile-gmake-mode/addprefix deleted file mode 100644 index 2edc1e3..0000000 --- a/.emacs.d/snippets/makefile-gmake-mode/addprefix +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: addprefix -# contributor: gbalats -# key: ap -# -- -\$(addprefix ${1:\$(${2:dir})/},${3:\$(${4:items})})$0 \ No newline at end of file diff --git a/.emacs.d/snippets/makefile-gmake-mode/addsuffix b/.emacs.d/snippets/makefile-gmake-mode/addsuffix deleted file mode 100644 index 6a3ebe4..0000000 --- a/.emacs.d/snippets/makefile-gmake-mode/addsuffix +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: addsuffix -# contributor: gbalats -# key: as -# -- -\$(addsuffix ${1:.suffix},${2:\$(${3:items})})$0 \ No newline at end of file diff --git a/.emacs.d/snippets/makefile-gmake-mode/dir b/.emacs.d/snippets/makefile-gmake-mode/dir deleted file mode 100644 index bc3561b..0000000 --- a/.emacs.d/snippets/makefile-gmake-mode/dir +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: dir -# contributor: gbalats -# key: d -# -- -\$(dir ${1:\$(${2:paths})})$0 \ No newline at end of file diff --git a/.emacs.d/snippets/makefile-gmake-mode/make b/.emacs.d/snippets/makefile-gmake-mode/make deleted file mode 100644 index 16c49ce..0000000 --- a/.emacs.d/snippets/makefile-gmake-mode/make +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: make -# contributor: gbalats -# key: make -# -- -\$(MAKE) --directory=${1:\$@} -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/makefile-gmake-mode/notdir b/.emacs.d/snippets/makefile-gmake-mode/notdir deleted file mode 100644 index d5e82d5..0000000 --- a/.emacs.d/snippets/makefile-gmake-mode/notdir +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: notdir -# contributor: gbalats -# key: nd -# -- -\$(notdir ${1:\$(${2:paths})})$0 \ No newline at end of file diff --git a/.emacs.d/snippets/makefile-gmake-mode/patsubst b/.emacs.d/snippets/makefile-gmake-mode/patsubst deleted file mode 100644 index a966757..0000000 --- a/.emacs.d/snippets/makefile-gmake-mode/patsubst +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: patsubst -# key: ps -# -- -$(patsubst ${1:from},${2:to},${3:src}) \ No newline at end of file diff --git a/.emacs.d/snippets/makefile-gmake-mode/phony b/.emacs.d/snippets/makefile-gmake-mode/phony deleted file mode 100644 index 8da99d7..0000000 --- a/.emacs.d/snippets/makefile-gmake-mode/phony +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: phony -# key: ph -# -- -.PHONY = $0 \ No newline at end of file diff --git a/.emacs.d/snippets/makefile-gmake-mode/shell b/.emacs.d/snippets/makefile-gmake-mode/shell deleted file mode 100644 index b550475..0000000 --- a/.emacs.d/snippets/makefile-gmake-mode/shell +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: shell -# key: sh -# -- -\$(shell ${1:command})$0 \ No newline at end of file diff --git a/.emacs.d/snippets/makefile-gmake-mode/special b/.emacs.d/snippets/makefile-gmake-mode/special deleted file mode 100644 index 775021f..0000000 --- a/.emacs.d/snippets/makefile-gmake-mode/special +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: special targets -# contributor: gbalats -# key: . -# -- -.${1:PHONY$(upcase yas-text)}: $0 \ No newline at end of file diff --git a/.emacs.d/snippets/makefile-gmake-mode/template b/.emacs.d/snippets/makefile-gmake-mode/template deleted file mode 100644 index 285624d..0000000 --- a/.emacs.d/snippets/makefile-gmake-mode/template +++ /dev/null @@ -1,10 +0,0 @@ -# -*- mode: snippet -*- -# name: template -# contributor: gbalats -# binding: C-c C-t -# -- -define ${1:PROGRAM$(upcase yas-text)}_template -$0 -endef - -\$(foreach ${2:${1:$(downcase yas-text)}},\$(${3:$1S}),\$(eval \$(call $1_template,\$($2)))) \ No newline at end of file diff --git a/.emacs.d/snippets/makefile-gmake-mode/wildcard b/.emacs.d/snippets/makefile-gmake-mode/wildcard deleted file mode 100644 index c91dc9c..0000000 --- a/.emacs.d/snippets/makefile-gmake-mode/wildcard +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: wildcard -# key: wl -# -- -$(wildcard $0) \ No newline at end of file diff --git a/.emacs.d/snippets/makefile-mode/all b/.emacs.d/snippets/makefile-mode/all deleted file mode 100644 index 823886f..0000000 --- a/.emacs.d/snippets/makefile-mode/all +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: all -# key: all -# -- -all: - $0 \ No newline at end of file diff --git a/.emacs.d/snippets/makefile-mode/clean b/.emacs.d/snippets/makefile-mode/clean deleted file mode 100644 index 7ade5eb..0000000 --- a/.emacs.d/snippets/makefile-mode/clean +++ /dev/null @@ -1,9 +0,0 @@ -# -*- mode: snippet -*- -# name: clean -# contributor: gbalats -# expand-env: ((yas-indent-line 'fixed)) -# key: cl -# -- -clean: - ${1:rm -r ${2:\$(${3:OUTDIR})}} -$0 diff --git a/.emacs.d/snippets/malabar-mode/variable b/.emacs.d/snippets/malabar-mode/variable deleted file mode 100644 index 16ec628..0000000 --- a/.emacs.d/snippets/malabar-mode/variable +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: variable -# key: var -# -- -${1:int} ${2:n} = $0; \ No newline at end of file diff --git a/.emacs.d/snippets/markdown-mode/+ b/.emacs.d/snippets/markdown-mode/+ deleted file mode 100644 index 0407169..0000000 --- a/.emacs.d/snippets/markdown-mode/+ +++ /dev/null @@ -1,5 +0,0 @@ -#name : Unordered List -#contributor: Peng Deng -# -- -+ ${1:Text} -+$0 diff --git a/.emacs.d/snippets/markdown-mode/- b/.emacs.d/snippets/markdown-mode/- deleted file mode 100644 index 9d5c51d..0000000 --- a/.emacs.d/snippets/markdown-mode/- +++ /dev/null @@ -1,5 +0,0 @@ -#name : Unordered List -#contributor: Peng Deng -# -- -- ${1:Text} --$0 diff --git a/.emacs.d/snippets/markdown-mode/_ b/.emacs.d/snippets/markdown-mode/_ deleted file mode 100644 index 50ab476..0000000 --- a/.emacs.d/snippets/markdown-mode/_ +++ /dev/null @@ -1,4 +0,0 @@ -#name : Emphasis -#contributor: Peng Deng -# -- -_${1:Text}_ $0 diff --git a/.emacs.d/snippets/markdown-mode/__ b/.emacs.d/snippets/markdown-mode/__ deleted file mode 100644 index b6304f3..0000000 --- a/.emacs.d/snippets/markdown-mode/__ +++ /dev/null @@ -1,4 +0,0 @@ -#name : Strong -#contributor: Peng Deng -# -- -**${1:Text}** $0 diff --git a/.emacs.d/snippets/markdown-mode/` b/.emacs.d/snippets/markdown-mode/` deleted file mode 100644 index ae58211..0000000 --- a/.emacs.d/snippets/markdown-mode/` +++ /dev/null @@ -1,4 +0,0 @@ -#name : Inline Code -#contributor: Peng Deng -# -- -\`${1:Code}\` $0 diff --git a/.emacs.d/snippets/markdown-mode/h1.1 b/.emacs.d/snippets/markdown-mode/h1.1 deleted file mode 100644 index 8bb7ea2..0000000 --- a/.emacs.d/snippets/markdown-mode/h1.1 +++ /dev/null @@ -1,6 +0,0 @@ -#name : Header 1 (#) -#contributor: Peng Deng -# -- -# ${1:Header 1} # - -$0 diff --git a/.emacs.d/snippets/markdown-mode/h1.2 b/.emacs.d/snippets/markdown-mode/h1.2 deleted file mode 100644 index 57b178d..0000000 --- a/.emacs.d/snippets/markdown-mode/h1.2 +++ /dev/null @@ -1,7 +0,0 @@ -#name : Header 1 (=) -#contributor: Peng Deng -# -- -${1:Header 1} -${1:$(make-string (string-width yas-text) ?\=)} - -$0 diff --git a/.emacs.d/snippets/markdown-mode/h2.1 b/.emacs.d/snippets/markdown-mode/h2.1 deleted file mode 100644 index bfee3fc..0000000 --- a/.emacs.d/snippets/markdown-mode/h2.1 +++ /dev/null @@ -1,6 +0,0 @@ -#name : Header 2 (##) -#contributor: Peng Deng -# -- -## ${1:Header 1} ## - -$0 diff --git a/.emacs.d/snippets/markdown-mode/h2.2 b/.emacs.d/snippets/markdown-mode/h2.2 deleted file mode 100644 index 8f94c73..0000000 --- a/.emacs.d/snippets/markdown-mode/h2.2 +++ /dev/null @@ -1,7 +0,0 @@ -#name : Header 2 (-) -#contributor: Peng Deng -# -- -${1:Header 2} -${1:$(make-string (string-width yas-text) ?\-)} - -$0 diff --git a/.emacs.d/snippets/markdown-mode/h3 b/.emacs.d/snippets/markdown-mode/h3 deleted file mode 100644 index 44a6104..0000000 --- a/.emacs.d/snippets/markdown-mode/h3 +++ /dev/null @@ -1,6 +0,0 @@ -#name : Header 3 -#contributor: Peng Deng -# -- -### ${1:Header 3} ### - -$0 diff --git a/.emacs.d/snippets/markdown-mode/h4 b/.emacs.d/snippets/markdown-mode/h4 deleted file mode 100644 index 315140a..0000000 --- a/.emacs.d/snippets/markdown-mode/h4 +++ /dev/null @@ -1,6 +0,0 @@ -#name : Header 4 -#contributor: Peng Deng -# -- -#### ${1:Header 4} #### - -$0 diff --git a/.emacs.d/snippets/markdown-mode/h5 b/.emacs.d/snippets/markdown-mode/h5 deleted file mode 100644 index f50a785..0000000 --- a/.emacs.d/snippets/markdown-mode/h5 +++ /dev/null @@ -1,6 +0,0 @@ -#name : Header 5 -#contributor: Peng Deng -# -- -##### ${1:Header 5} ##### - -$0 diff --git a/.emacs.d/snippets/markdown-mode/h6 b/.emacs.d/snippets/markdown-mode/h6 deleted file mode 100644 index 1cdfebb..0000000 --- a/.emacs.d/snippets/markdown-mode/h6 +++ /dev/null @@ -1,6 +0,0 @@ -#name : Header 6 -#contributor: Peng Deng -# -- -###### ${1:Header 6} ###### - -$0 diff --git a/.emacs.d/snippets/markdown-mode/highlight b/.emacs.d/snippets/markdown-mode/highlight deleted file mode 100644 index f1bce71..0000000 --- a/.emacs.d/snippets/markdown-mode/highlight +++ /dev/null @@ -1,6 +0,0 @@ -#name : Highlight -#contributor: nguyenvinhlinh -# -- -{% highlight ${1:language} %} -${0:content} -{% endhighlight %} \ No newline at end of file diff --git a/.emacs.d/snippets/markdown-mode/hr.1 b/.emacs.d/snippets/markdown-mode/hr.1 deleted file mode 100644 index 5fbe4f4..0000000 --- a/.emacs.d/snippets/markdown-mode/hr.1 +++ /dev/null @@ -1,7 +0,0 @@ -#name : Horizontal Rule (-) -#contributor: Peng Deng -# -- - ----------- - -$0 diff --git a/.emacs.d/snippets/markdown-mode/hr.2 b/.emacs.d/snippets/markdown-mode/hr.2 deleted file mode 100644 index 2d4de22..0000000 --- a/.emacs.d/snippets/markdown-mode/hr.2 +++ /dev/null @@ -1,7 +0,0 @@ -#name : Horizontal Rule (*) -#contributor: Peng Deng -# -- - -******* - -$0 diff --git a/.emacs.d/snippets/markdown-mode/img b/.emacs.d/snippets/markdown-mode/img deleted file mode 100644 index 69ee77d..0000000 --- a/.emacs.d/snippets/markdown-mode/img +++ /dev/null @@ -1,4 +0,0 @@ -#name : Image -#contributor: Peng Deng -# -- -![${1:Alt Text}](${2:URL} $3) $0 diff --git a/.emacs.d/snippets/markdown-mode/link b/.emacs.d/snippets/markdown-mode/link deleted file mode 100644 index dd7f99b..0000000 --- a/.emacs.d/snippets/markdown-mode/link +++ /dev/null @@ -1,4 +0,0 @@ -#name : Link -#contributor: Peng Deng -# -- -[${1:Link Text}](${2:URL} $3) $0 diff --git a/.emacs.d/snippets/markdown-mode/ol b/.emacs.d/snippets/markdown-mode/ol deleted file mode 100644 index c8e3970..0000000 --- a/.emacs.d/snippets/markdown-mode/ol +++ /dev/null @@ -1,5 +0,0 @@ -#name : Ordered List -#contributor: Peng Deng -# -- -${1:1}. ${2:Text} -${1:$(number-to-string (1+ (string-to-number yas-text)))}. $0 diff --git a/.emacs.d/snippets/markdown-mode/rimg b/.emacs.d/snippets/markdown-mode/rimg deleted file mode 100644 index caafb60..0000000 --- a/.emacs.d/snippets/markdown-mode/rimg +++ /dev/null @@ -1,4 +0,0 @@ -#name : Referenced Image -#contributor: Peng Deng -# -- -![${1:Alt Text}][$2] $0 diff --git a/.emacs.d/snippets/markdown-mode/rlb b/.emacs.d/snippets/markdown-mode/rlb deleted file mode 100644 index 681d9f0..0000000 --- a/.emacs.d/snippets/markdown-mode/rlb +++ /dev/null @@ -1,5 +0,0 @@ -#name : Reference Label -#contributor: Peng Deng -# -- -[${1:Reference}]: ${2:URL} $3 -$0 diff --git a/.emacs.d/snippets/markdown-mode/rlink b/.emacs.d/snippets/markdown-mode/rlink deleted file mode 100644 index e35a0c0..0000000 --- a/.emacs.d/snippets/markdown-mode/rlink +++ /dev/null @@ -1,4 +0,0 @@ -#name : Reference Link -#contributor: Peng Deng -# -- -[${1:Link Text}][$2] $0 diff --git a/.emacs.d/snippets/markdown-mode/utf8 b/.emacs.d/snippets/markdown-mode/utf8 deleted file mode 100644 index b21c56f..0000000 --- a/.emacs.d/snippets/markdown-mode/utf8 +++ /dev/null @@ -1,6 +0,0 @@ -# name: utf-8 encoding -# key: utf8 -# contributor: Thiago Perrotta -# -- - -$0 diff --git a/.emacs.d/snippets/ned-mode/.yas-parents b/.emacs.d/snippets/ned-mode/.yas-parents deleted file mode 100644 index 0539988..0000000 --- a/.emacs.d/snippets/ned-mode/.yas-parents +++ /dev/null @@ -1 +0,0 @@ -prog-mode \ No newline at end of file diff --git a/.emacs.d/snippets/ned-mode/chan b/.emacs.d/snippets/ned-mode/chan deleted file mode 100644 index b1dda9a..0000000 --- a/.emacs.d/snippets/ned-mode/chan +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: chan -# key: chan -# -- -channel Channel extends ${1:ned.DelayChannel} { - $0 -} diff --git a/.emacs.d/snippets/ned-mode/connections b/.emacs.d/snippets/ned-mode/connections deleted file mode 100644 index a731e88..0000000 --- a/.emacs.d/snippets/ned-mode/connections +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: connections -# key: conn -# -- -connections${1: allowunconnected}: - $0 \ No newline at end of file diff --git a/.emacs.d/snippets/ned-mode/for b/.emacs.d/snippets/ned-mode/for deleted file mode 100644 index 62ed072..0000000 --- a/.emacs.d/snippets/ned-mode/for +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: for -# key: for -# -- -for ${1:i}=${2:0}..${3:sizeof(port)-1} { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/ned-mode/import b/.emacs.d/snippets/ned-mode/import deleted file mode 100644 index 47aa063..0000000 --- a/.emacs.d/snippets/ned-mode/import +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: import -# key: imp -# -- -import ned.${1:Package}; \ No newline at end of file diff --git a/.emacs.d/snippets/ned-mode/network b/.emacs.d/snippets/ned-mode/network deleted file mode 100644 index a7691e3..0000000 --- a/.emacs.d/snippets/ned-mode/network +++ /dev/null @@ -1,11 +0,0 @@ -# -*- mode: snippet -*- -# name: network -# key: net -# -- -network ${1:Name} -{ - submodules: - $2 - connections: - $3 -} \ No newline at end of file diff --git a/.emacs.d/snippets/ned-mode/simple b/.emacs.d/snippets/ned-mode/simple deleted file mode 100644 index 7db2698..0000000 --- a/.emacs.d/snippets/ned-mode/simple +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: simple -# key: simple -# -- -simple ${1:Component}${2: extends ${3:Component}} -{ - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/ned-mode/submodules b/.emacs.d/snippets/ned-mode/submodules deleted file mode 100644 index 46c1612..0000000 --- a/.emacs.d/snippets/ned-mode/submodules +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: submodules -# key: sub -# -- -submodules: - $0 \ No newline at end of file diff --git a/.emacs.d/snippets/nesc-mode/.yas-parents b/.emacs.d/snippets/nesc-mode/.yas-parents deleted file mode 100644 index 2fa94cd..0000000 --- a/.emacs.d/snippets/nesc-mode/.yas-parents +++ /dev/null @@ -1 +0,0 @@ -text-mode cc-mode \ No newline at end of file diff --git a/.emacs.d/snippets/nesc-mode/TOSSIM b/.emacs.d/snippets/nesc-mode/TOSSIM deleted file mode 100644 index a7d6edb..0000000 --- a/.emacs.d/snippets/nesc-mode/TOSSIM +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: TOSSIM -# key: tossim -# -- -#ifndef TOSSIM - $0 -#endif \ No newline at end of file diff --git a/.emacs.d/snippets/nesc-mode/command b/.emacs.d/snippets/nesc-mode/command deleted file mode 100644 index 314e7a0..0000000 --- a/.emacs.d/snippets/nesc-mode/command +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: command -# key: command -# -- -command ${1:void} ${2:naMe}($3) { - -} \ No newline at end of file diff --git a/.emacs.d/snippets/nesc-mode/dbg b/.emacs.d/snippets/nesc-mode/dbg deleted file mode 100644 index ab9b580..0000000 --- a/.emacs.d/snippets/nesc-mode/dbg +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: dbg -# key: dbg -# -- -dbg("${1:Module}", "${2:message}"${3:, ${4:var list}}); \ No newline at end of file diff --git a/.emacs.d/snippets/nesc-mode/event b/.emacs.d/snippets/nesc-mode/event deleted file mode 100644 index 1cdc257..0000000 --- a/.emacs.d/snippets/nesc-mode/event +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: event -# key: event -# -- -event ${1:void} ${2:On.Event}($3) { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/nesc-mode/ifdef b/.emacs.d/snippets/nesc-mode/ifdef deleted file mode 100644 index dbe1a29..0000000 --- a/.emacs.d/snippets/nesc-mode/ifdef +++ /dev/null @@ -1,9 +0,0 @@ -# -*- mode: snippet -*- -# name: ifdef -# key: ifdef -# -- -#ifdef ${1:Macro} - $2 -${3:#else} - $4 -#endif \ No newline at end of file diff --git a/.emacs.d/snippets/nesc-mode/interface b/.emacs.d/snippets/nesc-mode/interface deleted file mode 100644 index 495a6c4..0000000 --- a/.emacs.d/snippets/nesc-mode/interface +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: interface -# key: int -# -- -interface ${1:Interface} { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/nesc-mode/module b/.emacs.d/snippets/nesc-mode/module deleted file mode 100644 index 477f49e..0000000 --- a/.emacs.d/snippets/nesc-mode/module +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: module -# key: mod -# -- -module ${1:Module} { - ${2:uses interface ${3:Packet}}; - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/nesc-mode/nx b/.emacs.d/snippets/nesc-mode/nx deleted file mode 100644 index 38da916..0000000 --- a/.emacs.d/snippets/nesc-mode/nx +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: nx -# key: nx -# -- -nx_uint${1:8}_t ${2:var}; -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/nesc-mode/provides b/.emacs.d/snippets/nesc-mode/provides deleted file mode 100644 index 175b621..0000000 --- a/.emacs.d/snippets/nesc-mode/provides +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: provides -# key: provides -# -- -provides interface ${1:Interface}; \ No newline at end of file diff --git a/.emacs.d/snippets/nesc-mode/sim b/.emacs.d/snippets/nesc-mode/sim deleted file mode 100644 index cd77218..0000000 --- a/.emacs.d/snippets/nesc-mode/sim +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: sim -# key: sim -# -- -#ifdef TOSSIM - $0 -#endif \ No newline at end of file diff --git a/.emacs.d/snippets/nesc-mode/uint8_t b/.emacs.d/snippets/nesc-mode/uint8_t deleted file mode 100644 index eb0144e..0000000 --- a/.emacs.d/snippets/nesc-mode/uint8_t +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: uint8_t -# key: u8 -# -- -uint8_t ${1:var}; -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/nesc-mode/uses b/.emacs.d/snippets/nesc-mode/uses deleted file mode 100644 index cbb977d..0000000 --- a/.emacs.d/snippets/nesc-mode/uses +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: uses -# key: uses -# -- -uses interface ${1:Interface}${2: as ${3:alias}}; -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/nix-mode/buildPhase b/.emacs.d/snippets/nix-mode/buildPhase deleted file mode 100644 index c912f41..0000000 --- a/.emacs.d/snippets/nix-mode/buildPhase +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: buildPhase -# key: bp -# -- -buildPhase= '' -$1 -''; -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/nix-mode/checkPhase b/.emacs.d/snippets/nix-mode/checkPhase deleted file mode 100644 index 76622fa..0000000 --- a/.emacs.d/snippets/nix-mode/checkPhase +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: checkPhase -# key: ch -# -- -checkPhase= '' -$1 -''; -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/nix-mode/configurePhase b/.emacs.d/snippets/nix-mode/configurePhase deleted file mode 100644 index c07bf09..0000000 --- a/.emacs.d/snippets/nix-mode/configurePhase +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: configurePhase -# key: cp -# -- -configurePhase= '' -$1 -''; -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/nix-mode/distPhase b/.emacs.d/snippets/nix-mode/distPhase deleted file mode 100644 index 88524f6..0000000 --- a/.emacs.d/snippets/nix-mode/distPhase +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: distPhase -# key: dp -# -- -distPhase= '' -$1 -''; -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/nix-mode/fixPhase b/.emacs.d/snippets/nix-mode/fixPhase deleted file mode 100644 index 9db5bb4..0000000 --- a/.emacs.d/snippets/nix-mode/fixPhase +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: fixPhase -# key: fp -# -- -fixPhase= '' -$1 -''; -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/nix-mode/installCheckPhase b/.emacs.d/snippets/nix-mode/installCheckPhase deleted file mode 100644 index b017621..0000000 --- a/.emacs.d/snippets/nix-mode/installCheckPhase +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: installCheckPhase -# key: ic -# -- -installCheckPhase= '' -$1 -''; -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/nix-mode/installPhase b/.emacs.d/snippets/nix-mode/installPhase deleted file mode 100644 index f30bfb2..0000000 --- a/.emacs.d/snippets/nix-mode/installPhase +++ /dev/null @@ -1,12 +0,0 @@ -# -*- mode: snippet -*- -# name: installPhase -# key: ip -# -- -installPhase= '' -${1: mkdir -p \$out/bin - for f in \$(find . -executable -type f); - do - cp \$f \$out/bin/ - done} -''; -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/nix-mode/package_github b/.emacs.d/snippets/nix-mode/package_github deleted file mode 100644 index 5a7230e..0000000 --- a/.emacs.d/snippets/nix-mode/package_github +++ /dev/null @@ -1,56 +0,0 @@ -# -*- mode: snippet -*- -# name: package github -# key: pg -# -- -{ stdenv, fetchFromGitHub$1 }: -stdenv.mkDerivation rec { - name = "$2-\$\{version\}"; - version = "$3"; - - src = fetchFromGitHub { - owner = "$4"; - repo = "$2"; - rev = "${5:v\$\{version\}}"; - sha256 = "$6"; - }; - - buildInputs = [ $1]; - - meta = { - description = "$7"; - homepage = https://${8:github.com/$4/$2}; - - license = stdenv.lib.licenses.${9:$$ - (yas-choose-value '( - "agpl3" - "asl20" - "bsd2" - "bsd3" - "gpl2" - "gpl3" - "lgpl3" - "mit" - ))}; - maintainers = [ stdenv.lib.maintainers.$10 ]; - platforms = stdenv.lib.platforms.${11:$$ - (yas-choose-value '( - "gnu" - "linux" - "darwin" - "freebsd" - "openbsd" - "netbsd" - "cygwin" - "illumos" - "unix" - "all" - "none" - "allBut" - "mesaPlatforms" - "x86" - "i686" - "arm" - "mips" - ))}; - }; -} diff --git a/.emacs.d/snippets/nix-mode/package_url b/.emacs.d/snippets/nix-mode/package_url deleted file mode 100644 index 5461e42..0000000 --- a/.emacs.d/snippets/nix-mode/package_url +++ /dev/null @@ -1,54 +0,0 @@ -# -*- mode: snippet -*- -# name: package url -# key: pu -# -- -{ stdenv, fetchurl$1}: - -stdenv.mkDerivation rec { - version = "$2"; - name = "$3-\$\{version\}"; - - src = fetchurl { - url = "$4"; - sha256 = "$5"; - }; - - buildInputs = [ $1 ]; - - meta = { - description = "$6"; - homepage = https://$7; - license = stdenv.lib.licenses.${8:$$ - (yas-choose-value '( - "agpl3" - "asl20" - "bsd2" - "bsd3" - "gpl2" - "gpl3" - "lgpl3" - "mit" - ))}; - maintainers = [ stdenv.lib.maintainers.$9 ]; - platforms = stdenv.lib.platforms.${10:$$ - (yas-choose-value '( - "gnu" - "linux" - "darwin" - "freebsd" - "openbsd" - "netbsd" - "cygwin" - "illumos" - "unix" - "all" - "none" - "allBut" - "mesaPlatforms" - "x86" - "i686" - "arm" - "mips" - ))}; - }; -} diff --git a/.emacs.d/snippets/nix-mode/patchPhase b/.emacs.d/snippets/nix-mode/patchPhase deleted file mode 100644 index 329f527..0000000 --- a/.emacs.d/snippets/nix-mode/patchPhase +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: patchPhase -# key: pp -# -- -patchPhase = '' - $1 -''; -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/nix-mode/phases b/.emacs.d/snippets/nix-mode/phases deleted file mode 100644 index 50326f2..0000000 --- a/.emacs.d/snippets/nix-mode/phases +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: phases -# key: ph -# -- - phases="${1:\$prePhases unpackPhase patchPhase \$preConfigurePhases configurePhase \$preBuildPhases buildPhase checkPhase \$preInstallPhases installPhase fixupPhase installCheckPhase \$preDistPhases distPhase \$postPhases}"; diff --git a/.emacs.d/snippets/nix-mode/unpackPhase b/.emacs.d/snippets/nix-mode/unpackPhase deleted file mode 100644 index 558dbe8..0000000 --- a/.emacs.d/snippets/nix-mode/unpackPhase +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: unpackPhase -# key: up -# -- -unpackPhase = '' - $1 -''; -$0 diff --git a/.emacs.d/snippets/nsis-mode/.yas-parents b/.emacs.d/snippets/nsis-mode/.yas-parents deleted file mode 100644 index 0539988..0000000 --- a/.emacs.d/snippets/nsis-mode/.yas-parents +++ /dev/null @@ -1 +0,0 @@ -prog-mode \ No newline at end of file diff --git a/.emacs.d/snippets/nsis-mode/define b/.emacs.d/snippets/nsis-mode/define deleted file mode 100644 index 223d364..0000000 --- a/.emacs.d/snippets/nsis-mode/define +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: define -# key: def -# -- -!define ${1:CONSTANT} ${2:value} \ No newline at end of file diff --git a/.emacs.d/snippets/nsis-mode/function b/.emacs.d/snippets/nsis-mode/function deleted file mode 100644 index 22926eb..0000000 --- a/.emacs.d/snippets/nsis-mode/function +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: function -# key: fun -# -- -Function ${1:Name} - $0 -FunctionEnd \ No newline at end of file diff --git a/.emacs.d/snippets/nsis-mode/if b/.emacs.d/snippets/nsis-mode/if deleted file mode 100644 index da3e92f..0000000 --- a/.emacs.d/snippets/nsis-mode/if +++ /dev/null @@ -1,9 +0,0 @@ -# -*- mode: snippet -*- -# name: if -# key: if -# -- -${IF} ${1:cond} - $0 -${ElseIf} ${2:else_cond} - -${EndIf} \ No newline at end of file diff --git a/.emacs.d/snippets/nsis-mode/include b/.emacs.d/snippets/nsis-mode/include deleted file mode 100644 index a7e0f24..0000000 --- a/.emacs.d/snippets/nsis-mode/include +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: include -# key: inc -# -- -!include "${Library.nsh}" \ No newline at end of file diff --git a/.emacs.d/snippets/nsis-mode/insert_macro b/.emacs.d/snippets/nsis-mode/insert_macro deleted file mode 100644 index 4bb7f1d..0000000 --- a/.emacs.d/snippets/nsis-mode/insert_macro +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: insert_macro -# key: im -# -- -!insertmacro ${1:Name} ${2:"args"} diff --git a/.emacs.d/snippets/nsis-mode/instdir b/.emacs.d/snippets/nsis-mode/instdir deleted file mode 100644 index f5b14bc..0000000 --- a/.emacs.d/snippets/nsis-mode/instdir +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: instdir -# key: $ -# -- -$INSTDIR \ No newline at end of file diff --git a/.emacs.d/snippets/nsis-mode/macro b/.emacs.d/snippets/nsis-mode/macro deleted file mode 100644 index 0316183..0000000 --- a/.emacs.d/snippets/nsis-mode/macro +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: macro -# key: macro -# -- -!macro ${1:Name} UN -$0 - -!macroend \ No newline at end of file diff --git a/.emacs.d/snippets/nsis-mode/message b/.emacs.d/snippets/nsis-mode/message deleted file mode 100644 index 37de365..0000000 --- a/.emacs.d/snippets/nsis-mode/message +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: message -# key: msg -# -- -MessageBox MB_OK "${1:hello}" \ No newline at end of file diff --git a/.emacs.d/snippets/nsis-mode/outdir b/.emacs.d/snippets/nsis-mode/outdir deleted file mode 100644 index 234b74d..0000000 --- a/.emacs.d/snippets/nsis-mode/outdir +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: outdir -# key: $ -# -- -$OUTDIR \ No newline at end of file diff --git a/.emacs.d/snippets/nsis-mode/outfile b/.emacs.d/snippets/nsis-mode/outfile deleted file mode 100644 index 14abffc..0000000 --- a/.emacs.d/snippets/nsis-mode/outfile +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: outfile -# key: out -# -- -outFile "${1:setup}.exe" \ No newline at end of file diff --git a/.emacs.d/snippets/nsis-mode/section b/.emacs.d/snippets/nsis-mode/section deleted file mode 100644 index 5f0556e..0000000 --- a/.emacs.d/snippets/nsis-mode/section +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: section -# key: sec -# -- -Section "${1:Program}" - $0 -SectionEnd \ No newline at end of file diff --git a/.emacs.d/snippets/nxml-mode/body b/.emacs.d/snippets/nxml-mode/body deleted file mode 100644 index ddcf0cf..0000000 --- a/.emacs.d/snippets/nxml-mode/body +++ /dev/null @@ -1,6 +0,0 @@ -#contributor : Anders Bach Nielsen -#name : ... -# -- - - $0 - \ No newline at end of file diff --git a/.emacs.d/snippets/nxml-mode/br b/.emacs.d/snippets/nxml-mode/br deleted file mode 100644 index ba35773..0000000 --- a/.emacs.d/snippets/nxml-mode/br +++ /dev/null @@ -1,4 +0,0 @@ -#contributor : Anders Bach Nielsen -#name :
-# -- -
\ No newline at end of file diff --git a/.emacs.d/snippets/nxml-mode/doctype b/.emacs.d/snippets/nxml-mode/doctype deleted file mode 100644 index 3fdcf17..0000000 --- a/.emacs.d/snippets/nxml-mode/doctype +++ /dev/null @@ -1,5 +0,0 @@ -#contributor : Anders Bach Nielsen -#name : DocType XHTML 1.1 -#group : meta -# -- - \ No newline at end of file diff --git a/.emacs.d/snippets/nxml-mode/doctype_xhtml1_strict b/.emacs.d/snippets/nxml-mode/doctype_xhtml1_strict deleted file mode 100644 index eca5860..0000000 --- a/.emacs.d/snippets/nxml-mode/doctype_xhtml1_strict +++ /dev/null @@ -1,5 +0,0 @@ -#contributor : Anders Bach Nielsen -#name : DocType XHTML 1.0 Strict -#group : meta -# -- - \ No newline at end of file diff --git a/.emacs.d/snippets/nxml-mode/doctype_xhtml1_transitional b/.emacs.d/snippets/nxml-mode/doctype_xhtml1_transitional deleted file mode 100644 index fba232a..0000000 --- a/.emacs.d/snippets/nxml-mode/doctype_xhtml1_transitional +++ /dev/null @@ -1,5 +0,0 @@ -#contributor : Anders Bach Nielsen -#name : DocType XHTML 1.0 Transitional -#group : meta -# -- - \ No newline at end of file diff --git a/.emacs.d/snippets/nxml-mode/form b/.emacs.d/snippets/nxml-mode/form deleted file mode 100644 index 252253e..0000000 --- a/.emacs.d/snippets/nxml-mode/form +++ /dev/null @@ -1,6 +0,0 @@ -#contributor : Anders Bach Nielsen -#name :
-# -- -
- $0 -
\ No newline at end of file diff --git a/.emacs.d/snippets/nxml-mode/href b/.emacs.d/snippets/nxml-mode/href deleted file mode 100644 index 47cb84a..0000000 --- a/.emacs.d/snippets/nxml-mode/href +++ /dev/null @@ -1,5 +0,0 @@ -#contributor : Anders Bach Nielsen -#name : ... -#key: a -# -- -$2 \ No newline at end of file diff --git a/.emacs.d/snippets/nxml-mode/html b/.emacs.d/snippets/nxml-mode/html deleted file mode 100644 index 85e09f7..0000000 --- a/.emacs.d/snippets/nxml-mode/html +++ /dev/null @@ -1,6 +0,0 @@ -#contributor : Anders Bach Nielsen -#name : ... -# -- - - $0 - diff --git a/.emacs.d/snippets/nxml-mode/img b/.emacs.d/snippets/nxml-mode/img deleted file mode 100644 index 1f4382b..0000000 --- a/.emacs.d/snippets/nxml-mode/img +++ /dev/null @@ -1,4 +0,0 @@ -#contributor : Anders Bach Nielsen -#name : ... -# -- -$2 \ No newline at end of file diff --git a/.emacs.d/snippets/nxml-mode/input b/.emacs.d/snippets/nxml-mode/input deleted file mode 100644 index 80c3503..0000000 --- a/.emacs.d/snippets/nxml-mode/input +++ /dev/null @@ -1,4 +0,0 @@ -#contributor : Anders Bach Nielsen -#name : -# -- - \ No newline at end of file diff --git a/.emacs.d/snippets/nxml-mode/link b/.emacs.d/snippets/nxml-mode/link deleted file mode 100644 index d93b7a5..0000000 --- a/.emacs.d/snippets/nxml-mode/link +++ /dev/null @@ -1,4 +0,0 @@ -#contributor : Anders Bach Nielsen -#name : -# -- - \ No newline at end of file diff --git a/.emacs.d/snippets/nxml-mode/meta b/.emacs.d/snippets/nxml-mode/meta deleted file mode 100644 index dfee1f2..0000000 --- a/.emacs.d/snippets/nxml-mode/meta +++ /dev/null @@ -1,5 +0,0 @@ -#contributor : Anders Bach Nielsen -#name : -#group : meta -# -- - \ No newline at end of file diff --git a/.emacs.d/snippets/nxml-mode/name b/.emacs.d/snippets/nxml-mode/name deleted file mode 100644 index 592d0da..0000000 --- a/.emacs.d/snippets/nxml-mode/name +++ /dev/null @@ -1,4 +0,0 @@ -#contributor : Anders Bach Nielsen -#name : -# -- - \ No newline at end of file diff --git a/.emacs.d/snippets/nxml-mode/quote b/.emacs.d/snippets/nxml-mode/quote deleted file mode 100644 index 20fed1e..0000000 --- a/.emacs.d/snippets/nxml-mode/quote +++ /dev/null @@ -1,6 +0,0 @@ -#contributor : Anders Bach Nielsen -#name :
...
-# -- -
- $1 -
\ No newline at end of file diff --git a/.emacs.d/snippets/nxml-mode/style b/.emacs.d/snippets/nxml-mode/style deleted file mode 100644 index b80be1c..0000000 --- a/.emacs.d/snippets/nxml-mode/style +++ /dev/null @@ -1,6 +0,0 @@ -#contributor : Anders Bach Nielsen -#name : -# -- - \ No newline at end of file diff --git a/.emacs.d/snippets/nxml-mode/tag b/.emacs.d/snippets/nxml-mode/tag deleted file mode 100644 index 7c6a766..0000000 --- a/.emacs.d/snippets/nxml-mode/tag +++ /dev/null @@ -1,5 +0,0 @@ -#contributor : Anders Bach Nielsen -#name : ... -#key: t -# -- -<${1:tag}>$2$0 \ No newline at end of file diff --git a/.emacs.d/snippets/nxml-mode/tag_closing b/.emacs.d/snippets/nxml-mode/tag_closing deleted file mode 100644 index dcf5523..0000000 --- a/.emacs.d/snippets/nxml-mode/tag_closing +++ /dev/null @@ -1,5 +0,0 @@ -#contributor : Anders Bach Nielsen -#name : -#key: t -# -- -<$1 $2 />$0 \ No newline at end of file diff --git a/.emacs.d/snippets/nxml-mode/tag_newline b/.emacs.d/snippets/nxml-mode/tag_newline deleted file mode 100644 index a1e1260..0000000 --- a/.emacs.d/snippets/nxml-mode/tag_newline +++ /dev/null @@ -1,7 +0,0 @@ -#contributor : Anders Bach Nielsen -#name : \n...\n -#key: tn -# -- -<${1:tag}> - $2 -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/octave-mode/for b/.emacs.d/snippets/octave-mode/for deleted file mode 100644 index c8e1dde..0000000 --- a/.emacs.d/snippets/octave-mode/for +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: for -# key: for -# -- -for ${1:var} = ${2:expr} - $0 -endfor \ No newline at end of file diff --git a/.emacs.d/snippets/octave-mode/function b/.emacs.d/snippets/octave-mode/function deleted file mode 100644 index ad2fe56..0000000 --- a/.emacs.d/snippets/octave-mode/function +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: function -# key: fun -# -- -function ${1:return_val} = ${2:fname}(${3:args}) - $0 -endfunction \ No newline at end of file diff --git a/.emacs.d/snippets/octave-mode/if b/.emacs.d/snippets/octave-mode/if deleted file mode 100644 index c785a24..0000000 --- a/.emacs.d/snippets/octave-mode/if +++ /dev/null @@ -1,9 +0,0 @@ -# -*- mode: snippet -*- -# name: if -# key: if -# -- -if ${1:cond} - $0 -${2:else - ${3:other}} -endif \ No newline at end of file diff --git a/.emacs.d/snippets/org-mode/dot b/.emacs.d/snippets/org-mode/dot deleted file mode 100644 index e9e76a1..0000000 --- a/.emacs.d/snippets/org-mode/dot +++ /dev/null @@ -1,9 +0,0 @@ -# -*- mode: snippet -*- -# name: dot -# key: dot_ -# -- -#+begin_src dot :file ${1:file} :cmdline -T${2:pdf} :exports none :results silent - $0 -#+end_src - -[[file:$1]] \ No newline at end of file diff --git a/.emacs.d/snippets/org-mode/elisp b/.emacs.d/snippets/org-mode/elisp deleted file mode 100644 index c96251e..0000000 --- a/.emacs.d/snippets/org-mode/elisp +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: elisp -# key: elisp_ -# -- -#+begin_src emacs-lisp :tangle yes -$0 -#+end_src \ No newline at end of file diff --git a/.emacs.d/snippets/org-mode/embedded b/.emacs.d/snippets/org-mode/embedded deleted file mode 100644 index 5e74820..0000000 --- a/.emacs.d/snippets/org-mode/embedded +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: embedded -# key: emb_ -# -- -src_${1:lang}${2:[${3:where}]}{${4:code}} \ No newline at end of file diff --git a/.emacs.d/snippets/org-mode/entry b/.emacs.d/snippets/org-mode/entry deleted file mode 100644 index 51d680a..0000000 --- a/.emacs.d/snippets/org-mode/entry +++ /dev/null @@ -1,11 +0,0 @@ -# -*- mode: snippet -*- -# name: entry -# key: entry_ -# -- -#+begin_html ---- -layout: ${1:default} -title: ${2:title} ---- -#+end_html -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/org-mode/figure b/.emacs.d/snippets/org-mode/figure deleted file mode 100644 index 6c01df8..0000000 --- a/.emacs.d/snippets/org-mode/figure +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: figure -# key: fig_ -# -- -#+CAPTION: ${1:caption} -#+ATTR_LaTeX: ${2:scale=0.75} -#+LABEL: fig:${3:label} diff --git a/.emacs.d/snippets/org-mode/img b/.emacs.d/snippets/org-mode/img deleted file mode 100644 index 9da54ba..0000000 --- a/.emacs.d/snippets/org-mode/img +++ /dev/null @@ -1,10 +0,0 @@ -# -*- mode: snippet -*- -# name: img -# key: img_ -# -- -$2 -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/org-mode/latex b/.emacs.d/snippets/org-mode/latex deleted file mode 100644 index 66541c2..0000000 --- a/.emacs.d/snippets/org-mode/latex +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: latex -# key: latex_ -# -- -#+BEGIN_LaTeX -$0 -#+END_LaTeX \ No newline at end of file diff --git a/.emacs.d/snippets/org-mode/matrix b/.emacs.d/snippets/org-mode/matrix deleted file mode 100644 index 01f28c0..0000000 --- a/.emacs.d/snippets/org-mode/matrix +++ /dev/null @@ -1,11 +0,0 @@ -# -*- mode: snippet -*- -# name: matrix -# key: matrix_ -# possible improvement, compute the number of lines from the argument to array -# -- -\left \( -\begin{array}{${1:ccc}} -${2:v1 & v2} \\ -$0 -\end{array} -\right \) \ No newline at end of file diff --git a/.emacs.d/snippets/org-mode/uml b/.emacs.d/snippets/org-mode/uml deleted file mode 100644 index 304367e..0000000 --- a/.emacs.d/snippets/org-mode/uml +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -#name : uml -#key : uml -#contributor : Robert O'Connor -# -- -#+BEGIN_UML -$1 -#+END_UML diff --git a/.emacs.d/snippets/org-mode/verse b/.emacs.d/snippets/org-mode/verse deleted file mode 100644 index 02c691e..0000000 --- a/.emacs.d/snippets/org-mode/verse +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: verse -# key: verse_ -# -- -#+begin_verse - $0 -#+end_verse \ No newline at end of file diff --git a/.emacs.d/snippets/perl-mode/.yas-parents b/.emacs.d/snippets/perl-mode/.yas-parents deleted file mode 100644 index eed5b44..0000000 --- a/.emacs.d/snippets/perl-mode/.yas-parents +++ /dev/null @@ -1 +0,0 @@ -text-mode diff --git a/.emacs.d/snippets/perl-mode/eval b/.emacs.d/snippets/perl-mode/eval deleted file mode 100644 index a484014..0000000 --- a/.emacs.d/snippets/perl-mode/eval +++ /dev/null @@ -1,9 +0,0 @@ -# name: eval { ... } if ($@) { ... } -# key: eval -# -- -eval { - ${1:# do something risky...} -}; -if (\$@) { - ${2:# handle failure...} -} \ No newline at end of file diff --git a/.emacs.d/snippets/perl-mode/for b/.emacs.d/snippets/perl-mode/for deleted file mode 100644 index 1ba240f..0000000 --- a/.emacs.d/snippets/perl-mode/for +++ /dev/null @@ -1,6 +0,0 @@ -# name: for (...) { ... } -# key: for -# -- -for (my \$${1:var} = 0; \$$1 < ${2:expression}; \$$1++) { - ${3:# body...} -} \ No newline at end of file diff --git a/.emacs.d/snippets/perl-mode/fore b/.emacs.d/snippets/perl-mode/fore deleted file mode 100644 index c3b81d5..0000000 --- a/.emacs.d/snippets/perl-mode/fore +++ /dev/null @@ -1,6 +0,0 @@ -# name: foreach ... { ... } -# key: fore -# -- -foreach my \$${1:x} (@${2:array}) { - ${3:# body...} -} \ No newline at end of file diff --git a/.emacs.d/snippets/perl-mode/if b/.emacs.d/snippets/perl-mode/if deleted file mode 100644 index 567db90..0000000 --- a/.emacs.d/snippets/perl-mode/if +++ /dev/null @@ -1,6 +0,0 @@ -# name: if (...) { ... } -# key: if -# -- -if ($1) { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/perl-mode/ife b/.emacs.d/snippets/perl-mode/ife deleted file mode 100644 index f278f21..0000000 --- a/.emacs.d/snippets/perl-mode/ife +++ /dev/null @@ -1,8 +0,0 @@ -# name: if (...) { ... } else { ... } -# key: ife -# -- -if ($1) { - $2 -} else { - $3 -} \ No newline at end of file diff --git a/.emacs.d/snippets/perl-mode/ifee b/.emacs.d/snippets/perl-mode/ifee deleted file mode 100644 index d1bf237..0000000 --- a/.emacs.d/snippets/perl-mode/ifee +++ /dev/null @@ -1,10 +0,0 @@ -# name: if, elsif, else ... -# key: ifee -# -- -if ($1) { - ${2:# body...} -} elsif ($3) { - ${4:# elsif...} -} else { - ${5:# else...} -} \ No newline at end of file diff --git a/.emacs.d/snippets/perl-mode/sub b/.emacs.d/snippets/perl-mode/sub deleted file mode 100644 index 05607d6..0000000 --- a/.emacs.d/snippets/perl-mode/sub +++ /dev/null @@ -1,6 +0,0 @@ -# name: sub ... { ... } -# key: sub -# -- -sub ${1:function_name} { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/perl-mode/unless b/.emacs.d/snippets/perl-mode/unless deleted file mode 100644 index f91a652..0000000 --- a/.emacs.d/snippets/perl-mode/unless +++ /dev/null @@ -1,6 +0,0 @@ -# name: unless (...) { ... } -# key: unless -# -- -unless ($1) { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/perl-mode/while b/.emacs.d/snippets/perl-mode/while deleted file mode 100644 index 2744530..0000000 --- a/.emacs.d/snippets/perl-mode/while +++ /dev/null @@ -1,6 +0,0 @@ -# name: while (...) { ... } -# key: while -# -- -while ($1) { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/perl-mode/xfore b/.emacs.d/snippets/perl-mode/xfore deleted file mode 100644 index 018e140..0000000 --- a/.emacs.d/snippets/perl-mode/xfore +++ /dev/null @@ -1,4 +0,0 @@ -# name: ... foreach ... -# key: xfore -# -- -${1:expression} foreach @${2:array}; \ No newline at end of file diff --git a/.emacs.d/snippets/perl-mode/xif b/.emacs.d/snippets/perl-mode/xif deleted file mode 100644 index ca8b563..0000000 --- a/.emacs.d/snippets/perl-mode/xif +++ /dev/null @@ -1,4 +0,0 @@ -# name: ... if ... -# key: xif -# -- -${1:expression} if ${2:condition} \ No newline at end of file diff --git a/.emacs.d/snippets/perl-mode/xunless b/.emacs.d/snippets/perl-mode/xunless deleted file mode 100644 index dbb7d7d..0000000 --- a/.emacs.d/snippets/perl-mode/xunless +++ /dev/null @@ -1,4 +0,0 @@ -# name: ... unless ... -# key: xunless -# -- -${1:expression} unless ${2:condition} \ No newline at end of file diff --git a/.emacs.d/snippets/perl-mode/xwhile b/.emacs.d/snippets/perl-mode/xwhile deleted file mode 100644 index 14c6308..0000000 --- a/.emacs.d/snippets/perl-mode/xwhile +++ /dev/null @@ -1,4 +0,0 @@ -# name: ... while ... -# key: xwhile -# -- -${1:expression} while ${2:condition}; \ No newline at end of file diff --git a/.emacs.d/snippets/php-mode/.yas-setup.el b/.emacs.d/snippets/php-mode/.yas-setup.el deleted file mode 100644 index ea05602..0000000 --- a/.emacs.d/snippets/php-mode/.yas-setup.el +++ /dev/null @@ -1,16 +0,0 @@ -;;; .yas-setup.el --- Yasnippet helper functions for PHP snippets - -;;; Commentary: - -;;; Code: -(require 'yasnippet) - -(defun yas-php-get-class-name-by-file-name () - "Return name of class-like construct by `file-name'. - -\"class-like\" contains class, trait and interface." - (file-name-nondirectory - (file-name-sans-extension (or (buffer-file-name) - (buffer-name (current-buffer)))))) - -;;; .yas-setup.el ends here diff --git a/.emacs.d/snippets/php-mode/__call b/.emacs.d/snippets/php-mode/__call deleted file mode 100644 index 84e924c..0000000 --- a/.emacs.d/snippets/php-mode/__call +++ /dev/null @@ -1,10 +0,0 @@ -# -*- mode: snippet -*- -# contributor: USAMI Kenta -# name: __call() -# key: __call -# group: Magic Methods -# -- -public function __call($name, $args) -{ - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/php-mode/__callStatic b/.emacs.d/snippets/php-mode/__callStatic deleted file mode 100644 index 04fb928..0000000 --- a/.emacs.d/snippets/php-mode/__callStatic +++ /dev/null @@ -1,10 +0,0 @@ -# -*- mode: snippet -*- -# contributor: USAMI Kenta -# name: __callStatic() -# key: __callStatic -# group: Magic Methods -# -- -public function __callStatic($name, $args) -{ - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/php-mode/catch b/.emacs.d/snippets/php-mode/catch deleted file mode 100644 index dad1821..0000000 --- a/.emacs.d/snippets/php-mode/catch +++ /dev/null @@ -1,10 +0,0 @@ -# -*- mode: snippet -*- -# contributor: USAMI Kenta -# name: catch -# key: catch -# group : control structure -# -- -catch (${1:\PDOException} ${2:$e}) { - ${3: - throw $e;} -} \ No newline at end of file diff --git a/.emacs.d/snippets/php-mode/cls b/.emacs.d/snippets/php-mode/cls deleted file mode 100644 index 05d5846..0000000 --- a/.emacs.d/snippets/php-mode/cls +++ /dev/null @@ -1,10 +0,0 @@ -# -*- mode: snippet -*- -# contributor: USAMI Kenta -# name: class -# key: cls -# group: definitions -# -- -class ${1:`(yas-php-get-class-name-by-file-name)`} -{ - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/php-mode/clse b/.emacs.d/snippets/php-mode/clse deleted file mode 100644 index ceb4330..0000000 --- a/.emacs.d/snippets/php-mode/clse +++ /dev/null @@ -1,10 +0,0 @@ -# -*- mode: snippet -*- -# contributor: USAMI Kenta -# name: class extends -# key: clse -# group: definitions -# -- -class ${1:`(yas-php-get-class-name-by-file-name)`} extends ${2:ParentClass} -{ - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/php-mode/clsi b/.emacs.d/snippets/php-mode/clsi deleted file mode 100644 index cc2d39a..0000000 --- a/.emacs.d/snippets/php-mode/clsi +++ /dev/null @@ -1,10 +0,0 @@ -# -*- mode: snippet -*- -# contributor: USAMI Kenta -# name: class implements -# key: clsi -# group: definitions -# -- -class ${1:`(yas-php-get-class-name-by-file-name)`} implements ${interface} -{ - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/php-mode/const b/.emacs.d/snippets/php-mode/const deleted file mode 100644 index cdfa62e..0000000 --- a/.emacs.d/snippets/php-mode/const +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# contributor: USAMI Kenta -# name: const -# key: const -# group: definitions -# -- -const ${1:NAME} = ${2:value}; \ No newline at end of file diff --git a/.emacs.d/snippets/php-mode/define b/.emacs.d/snippets/php-mode/define deleted file mode 100644 index 2c81645..0000000 --- a/.emacs.d/snippets/php-mode/define +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# contributor: USAMI Kenta -# name: define -# key: define -# group: definitions -# -- -define('${1:NAME}', ${2:value}); \ No newline at end of file diff --git a/.emacs.d/snippets/php-mode/doc-comment-multiline b/.emacs.d/snippets/php-mode/doc-comment-multiline deleted file mode 100644 index 5b6a55d..0000000 --- a/.emacs.d/snippets/php-mode/doc-comment-multiline +++ /dev/null @@ -1,11 +0,0 @@ -# -*- mode: snippet -*- -# contributor: USAMI Kenta -# name: PHPDoc (multi-line) -# key: /** -# group: annotation -# -- -/** - * ${1:Summary} - * - *$0 - */ \ No newline at end of file diff --git a/.emacs.d/snippets/php-mode/doc-comment-oneline b/.emacs.d/snippets/php-mode/doc-comment-oneline deleted file mode 100644 index 71a31e4..0000000 --- a/.emacs.d/snippets/php-mode/doc-comment-oneline +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# contributor: USAMI Kenta -# name: Doc comment (one-line) -# key: * -# group: annotation -# -- -/** ${1:Summary} */ diff --git a/.emacs.d/snippets/php-mode/else b/.emacs.d/snippets/php-mode/else deleted file mode 100644 index 7bdbfd3..0000000 --- a/.emacs.d/snippets/php-mode/else +++ /dev/null @@ -1,9 +0,0 @@ -# -*- mode: snippet -*- -# contributor: USAMI Kenta -# name: else -# key: else -# group: control structure -# -- -else { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/php-mode/elseif b/.emacs.d/snippets/php-mode/elseif deleted file mode 100644 index 4dcbd80..0000000 --- a/.emacs.d/snippets/php-mode/elseif +++ /dev/null @@ -1,9 +0,0 @@ -# -*- mode: snippet -*- -# contributor: USAMI Kenta -# name: elseif -# key: elseif -# group : control structure -# -- -elseif (${1:condition}) { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/php-mode/fn b/.emacs.d/snippets/php-mode/fn deleted file mode 100644 index bb280cc..0000000 --- a/.emacs.d/snippets/php-mode/fn +++ /dev/null @@ -1,9 +0,0 @@ -# -*- mode: snippet -*- -# contributor: USAMI Kenta -# name: function expr (closure) -# key: fn -# group: definitions -# -- -function (${2:$arg, ...}) ${3:use ($var) }{ - $0 -}`(if (eq (point) (line-end-position)) ";" "")` \ No newline at end of file diff --git a/.emacs.d/snippets/php-mode/foreach b/.emacs.d/snippets/php-mode/foreach deleted file mode 100644 index 769c7d0..0000000 --- a/.emacs.d/snippets/php-mode/foreach +++ /dev/null @@ -1,9 +0,0 @@ -# -*- mode: snippet -*- -# contributor: USAMI Kenta -# name: foreach -# key: foreach -# group : control structure -# -- -foreach (${1:$expression} as \$${2:value}) { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/php-mode/foreach_value b/.emacs.d/snippets/php-mode/foreach_value deleted file mode 100644 index f309583..0000000 --- a/.emacs.d/snippets/php-mode/foreach_value +++ /dev/null @@ -1,9 +0,0 @@ -# -*- mode: snippet -*- -# contributor: USAMI Kenta -# name: foreach (array as $key => $value) -# key: foreach=> -# group : control structure -# -- -foreach (${1:$expression} as \$${2:key} => \$${3:value}) { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/php-mode/function b/.emacs.d/snippets/php-mode/function deleted file mode 100644 index 4d92818..0000000 --- a/.emacs.d/snippets/php-mode/function +++ /dev/null @@ -1,10 +0,0 @@ -# -*- mode: snippet -*- -# contributor: USAMI Kenta -# name: function statement -# key: function -# group: definitions -# -- -${4:public }function ${1:name}(${2:$arg, ...}) -{ - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/php-mode/function-return-type b/.emacs.d/snippets/php-mode/function-return-type deleted file mode 100644 index c3203a4..0000000 --- a/.emacs.d/snippets/php-mode/function-return-type +++ /dev/null @@ -1,10 +0,0 @@ -# -*- mode: snippet -*- -# contributor: USAMI Kenta -# name: function :type -# key: function: -# group : control structure -# -- -${4:public }function ${1:name}(${2:$arg, ...}): ${3:type} -{ - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/php-mode/if b/.emacs.d/snippets/php-mode/if deleted file mode 100644 index 8b0b3b8..0000000 --- a/.emacs.d/snippets/php-mode/if +++ /dev/null @@ -1,9 +0,0 @@ -# -*- mode: snippet -*- -# contributor: USAMI Kenta -# name: if -# key: if -# group : control structure -# -- -if (${1:condition}) { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/php-mode/interface b/.emacs.d/snippets/php-mode/interface deleted file mode 100644 index b8b3a98..0000000 --- a/.emacs.d/snippets/php-mode/interface +++ /dev/null @@ -1,10 +0,0 @@ -# -*- mode: snippet -*- -# contributor: USAMI Kenta -# name: interface -# key: interface -# group : definitions -# -- -interface ${1:`(yas-php-get-class-name-by-file-name)`} -{ - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/php-mode/license-doc b/.emacs.d/snippets/php-mode/license-doc deleted file mode 100644 index 019d9b3..0000000 --- a/.emacs.d/snippets/php-mode/license-doc +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: USAMI Kenta -# name: PHPDoc @license -# key: *license -# group: annotation -# -- -* @license ${1:https://www.gnu.org/licenses/gpl-3.0.html} ${2:GPL-3.0}${0: -*} \ No newline at end of file diff --git a/.emacs.d/snippets/php-mode/license-doc-apache b/.emacs.d/snippets/php-mode/license-doc-apache deleted file mode 100644 index f445265..0000000 --- a/.emacs.d/snippets/php-mode/license-doc-apache +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: USAMI Kenta -# name: PHPDoc @license Apache License -# key: *license-apache -# group: annotation -# -- -* @license https://www.apache.org/licenses/LICENSE-2.0 Apache-2.0${0: -*} \ No newline at end of file diff --git a/.emacs.d/snippets/php-mode/license-doc-gplv2 b/.emacs.d/snippets/php-mode/license-doc-gplv2 deleted file mode 100644 index 203d702..0000000 --- a/.emacs.d/snippets/php-mode/license-doc-gplv2 +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: USAMI Kenta -# name: PHPDoc @license GPLv2 -# key: *license-gplv2 -# group: annotation -# -- -* @license https://www.gnu.org/licenses/old-licenses/gpl-2.0.html GPL-2.0${0: -*} \ No newline at end of file diff --git a/.emacs.d/snippets/php-mode/license-doc-mit b/.emacs.d/snippets/php-mode/license-doc-mit deleted file mode 100644 index 263a146..0000000 --- a/.emacs.d/snippets/php-mode/license-doc-mit +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: USAMI Kenta -# name: PHPDoc @license MIT -# key: *license-mit -# group: annotation -# -- -* @license https://opensource.org/licenses/MIT MIT${0: -*} \ No newline at end of file diff --git a/.emacs.d/snippets/php-mode/license-doc-mpl b/.emacs.d/snippets/php-mode/license-doc-mpl deleted file mode 100644 index a1b383d..0000000 --- a/.emacs.d/snippets/php-mode/license-doc-mpl +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: USAMI Kenta -# name: PHPDoc @license MPL -# key: *license-mpl -# group: annotation -# -- -* @license https://www.mozilla.org/en-US/MPL/2.0/ MPL-2.0${0: -*} \ No newline at end of file diff --git a/.emacs.d/snippets/php-mode/method-doc b/.emacs.d/snippets/php-mode/method-doc deleted file mode 100644 index 3b88506..0000000 --- a/.emacs.d/snippets/php-mode/method-doc +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: USAMI Kenta -# name: PHPDoc @property -# key: *property -# group: annotation -# -- -* @property ${1:type} ${2:$variable} ${3:description}${0: -*} \ No newline at end of file diff --git a/.emacs.d/snippets/php-mode/param-doc b/.emacs.d/snippets/php-mode/param-doc deleted file mode 100644 index d1cff1a..0000000 --- a/.emacs.d/snippets/php-mode/param-doc +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: USAMI Kenta -# name: PHPDoc @param -# key: *param -# group: annotation -# -- -* @param ${1:type} ${2:$variable} ${3:description}${0: -*} \ No newline at end of file diff --git a/.emacs.d/snippets/php-mode/property-doc b/.emacs.d/snippets/php-mode/property-doc deleted file mode 100644 index 3b88506..0000000 --- a/.emacs.d/snippets/php-mode/property-doc +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: USAMI Kenta -# name: PHPDoc @property -# key: *property -# group: annotation -# -- -* @property ${1:type} ${2:$variable} ${3:description}${0: -*} \ No newline at end of file diff --git a/.emacs.d/snippets/php-mode/psysh b/.emacs.d/snippets/php-mode/psysh deleted file mode 100644 index fd6afb5..0000000 --- a/.emacs.d/snippets/php-mode/psysh +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# contributor: USAMI Kenta -# name: psysh -# key: psysh -# group: generic -# -- -eval(\Psy\sh()); \ No newline at end of file diff --git a/.emacs.d/snippets/php-mode/return-doc b/.emacs.d/snippets/php-mode/return-doc deleted file mode 100644 index 84f569e..0000000 --- a/.emacs.d/snippets/php-mode/return-doc +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# contributor: USAMI Kenta -# name: PHPDoc @return -# key: *return -# group: annotation -# -- -* @return ${1:type} ${2:description} \ No newline at end of file diff --git a/.emacs.d/snippets/php-mode/stdout b/.emacs.d/snippets/php-mode/stdout deleted file mode 100644 index ca3e7aa..0000000 --- a/.emacs.d/snippets/php-mode/stdout +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# contributor: USAMI Kenta -# name: fwrite(STDOUT) -# key: stdout -# group: generic -# -- -fwrite(STDOUT, ${1:$var}${2: . PHP_EOL}); \ No newline at end of file diff --git a/.emacs.d/snippets/php-mode/switch b/.emacs.d/snippets/php-mode/switch deleted file mode 100644 index 252aade..0000000 --- a/.emacs.d/snippets/php-mode/switch +++ /dev/null @@ -1,12 +0,0 @@ -# -*- mode: snippet -*- -# contributor: USAMI Kenta -# name: switch -# key: switch -# group : control structure -# -- -switch (${1:condition}) { - case ${2:expr}: - $0 - break; - default: -} \ No newline at end of file diff --git a/.emacs.d/snippets/php-mode/ticks b/.emacs.d/snippets/php-mode/ticks deleted file mode 100644 index c0a68c9..0000000 --- a/.emacs.d/snippets/php-mode/ticks +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# contributor: USAMI Kenta -# name: declare(ticks=) -# key: ticks -# group: definitions -# -- -declare(ticks=${1:1}); \ No newline at end of file diff --git a/.emacs.d/snippets/php-mode/trait b/.emacs.d/snippets/php-mode/trait deleted file mode 100644 index 0d25754..0000000 --- a/.emacs.d/snippets/php-mode/trait +++ /dev/null @@ -1,10 +0,0 @@ -# -*- mode: snippet -*- -# contributor: USAMI Kenta -# name: trait -# key: trait -# group : definitions -# -- -trait ${1:`(yas-php-get-class-name-by-file-name)`} -{ - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/php-mode/try b/.emacs.d/snippets/php-mode/try deleted file mode 100644 index 4cb22f1..0000000 --- a/.emacs.d/snippets/php-mode/try +++ /dev/null @@ -1,12 +0,0 @@ -# -*- mode: snippet -*- -# contributor: USAMI Kenta -# name: try -# key: try -# group : control structure -# -- -try { - $0 -} catch (${1:\PDOException} ${2:$e}) { - ${3: - throw $e;} -} \ No newline at end of file diff --git a/.emacs.d/snippets/php-mode/var-doc b/.emacs.d/snippets/php-mode/var-doc deleted file mode 100644 index 5293280..0000000 --- a/.emacs.d/snippets/php-mode/var-doc +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: USAMI Kenta -# name: PHPDoc: var -# key: *var -# group: definitions -# -- -* @var ${type}${0: -*} \ No newline at end of file diff --git a/.emacs.d/snippets/php-mode/var-oneline b/.emacs.d/snippets/php-mode/var-oneline deleted file mode 100644 index d0fa1b3..0000000 --- a/.emacs.d/snippets/php-mode/var-oneline +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# contributor: USAMI Kenta -# name: PHPDoc: @var (one-line) -# key: @var -# group: definitions -# -- -/** @var ${type} */ diff --git a/.emacs.d/snippets/php-mode/vd b/.emacs.d/snippets/php-mode/vd deleted file mode 100644 index 5a01ad7..0000000 --- a/.emacs.d/snippets/php-mode/vd +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# contributor: USAMI Kenta -# name: var_dump() -# key: vd -# group: generic -# -- -var_dump(${1:$var}); \ No newline at end of file diff --git a/.emacs.d/snippets/php-mode/vde b/.emacs.d/snippets/php-mode/vde deleted file mode 100644 index 998e68c..0000000 --- a/.emacs.d/snippets/php-mode/vde +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# contributor: USAMI Kenta -# name: var_dump() exit -# key: vde -# group: generic -# -- -var_dump(${1:$var});exit(1); \ No newline at end of file diff --git a/.emacs.d/snippets/php-mode/ve b/.emacs.d/snippets/php-mode/ve deleted file mode 100644 index 3b18c28..0000000 --- a/.emacs.d/snippets/php-mode/ve +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# contributor: USAMI Kenta -# name: var_export() -# key: ve -# group: generic -# -- -var_export(${1:$var}${2:, true}); \ No newline at end of file diff --git a/.emacs.d/snippets/powershell-mode/cmdletbinding b/.emacs.d/snippets/powershell-mode/cmdletbinding deleted file mode 100644 index aa53f84..0000000 --- a/.emacs.d/snippets/powershell-mode/cmdletbinding +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: cmdletbinding -# key: cmd -# -- -[cmdletbinding()] -Param ( - $0 -) \ No newline at end of file diff --git a/.emacs.d/snippets/powershell-mode/comment-based-help b/.emacs.d/snippets/powershell-mode/comment-based-help deleted file mode 100644 index ca7ad3d..0000000 --- a/.emacs.d/snippets/powershell-mode/comment-based-help +++ /dev/null @@ -1,20 +0,0 @@ -# -*- mode: snippet -*- -# name: comment-based-help -# key: cbh -# -- -<# -.SYNOPSIS -${1:Brief description} - -.DESCRIPTION -${2:Longer description} - -.PARAMETER Foobar -${3:Descriptions of parameter Foobar} - -.EXAMPLE -${4:Actual example} - -.NOTES -${5:Additional notes} -\#> \ No newline at end of file diff --git a/.emacs.d/snippets/powershell-mode/function b/.emacs.d/snippets/powershell-mode/function deleted file mode 100644 index 30156b9..0000000 --- a/.emacs.d/snippets/powershell-mode/function +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: function -# key: fun -# -- -Function ${1:Verb-Noun} { -$0 -} diff --git a/.emacs.d/snippets/powershell-mode/parameter b/.emacs.d/snippets/powershell-mode/parameter deleted file mode 100644 index 9b7b64e..0000000 --- a/.emacs.d/snippets/powershell-mode/parameter +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: parameter -# key: par -# -- -[Parameter(Mandatory=$true, ValueFromPipelineByPropertyName=$true)][string]\$${1:Foobar} \ No newline at end of file diff --git a/.emacs.d/snippets/prog-mode/.yas-setup.el b/.emacs.d/snippets/prog-mode/.yas-setup.el deleted file mode 100644 index 486ae47..0000000 --- a/.emacs.d/snippets/prog-mode/.yas-setup.el +++ /dev/null @@ -1,36 +0,0 @@ -(require 'yasnippet) - -;; whitespace removing functions from Magnar Sveen ;;;;;;;;;;;;;;;;;;;;;;;;;;;; -(defun yas-s-trim-left (s) - "Remove whitespace at the beginning of S." - (if (string-match "\\`[ \t\n\r]+" s) - (replace-match "" t t s) - s)) - -(defun yas-s-trim-right (s) - "Remove whitespace at the end of S." - (if (string-match "[ \t\n\r]+\\'" s) - (replace-match "" t t s) - s)) - -(defun yas-s-trim (s) - "Remove whitespace at the beginning and end of S." - (yas-s-trim-left (yas-s-trim-right s))) - - -(defun yas-string-reverse (str) - "Reverse a string STR manually to be compatible with emacs versions < 25." - (apply #'string - (reverse - (string-to-list str)))) - -(defun yas-trimmed-comment-start () - "This function returns `comment-start' trimmed by whitespaces." - (yas-s-trim comment-start)) - -(defun yas-trimmed-comment-end () - "This function returns `comment-end' trimmed by whitespaces if `comment-end' is not empty. -Otherwise the reversed output of function `yas-trimmed-comment-start' is returned." - (if (eq (length comment-end) 0) - (yas-string-reverse (yas-trimmed-comment-start)) - (yas-s-trim comment-end))) diff --git a/.emacs.d/snippets/prog-mode/comment b/.emacs.d/snippets/prog-mode/comment deleted file mode 100644 index 7ae2b8c..0000000 --- a/.emacs.d/snippets/prog-mode/comment +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# contributor: sh-ow -# name: comment -# key: co -# -- -`(yas-trimmed-comment-start)` ${1:comment}`(unless (eq (length comment-end) 0) (concat " " (yas-trimmed-comment-end)))`$0 \ No newline at end of file diff --git a/.emacs.d/snippets/prog-mode/commentblock b/.emacs.d/snippets/prog-mode/commentblock deleted file mode 100644 index ba61f61..0000000 --- a/.emacs.d/snippets/prog-mode/commentblock +++ /dev/null @@ -1,36 +0,0 @@ -# -*- mode: snippet -*- -# contributor: sh-ow -# name: commentblock -# key: cob -# -- -${1:$(let* ((col (current-column)) - (str "") - (lastcom (substring (yas-trimmed-comment-start) -1)) - (start (yas-trimmed-comment-start)) - (end (yas-trimmed-comment-end)) - (over (- (+ (string-width yas-text) (length start) (length end) col) 77))) - (while (< (length str) (+ (- 79 (length start) (length end) col) (if (> over 0) over 0))) - (setq str (concat str lastcom))) - (concat start str end))} -${1:$(let* ((col (current-column)) - (str "") - (start (yas-trimmed-comment-start)) - (end (yas-trimmed-comment-end))) - (while (< (length str) (ffloor (/ (- 78.0 (+ col (length start) (string-width yas-text) (length end))) 2.0))) - (setq str (concat str " "))) - (concat start str))} ${1:comment} ${1:$(let* ((col (current-column)) - (str "") - (start (yas-trimmed-comment-start)) - (end (yas-trimmed-comment-end))) - (while (< (length str) (- 79.0 (if (eq (mod (string-width yas-text) 2) 1) (- col 1) col) (length end))) - (setq str (concat str " "))) - (concat str end))} -${1:$(let* ((col (current-column)) - (str "") - (lastcom (substring (yas-trimmed-comment-start) -1)) - (start (yas-trimmed-comment-start)) - (end (yas-trimmed-comment-end)) - (over (- (+ (string-width yas-text) (length start) (length end) col) 77))) - (while (< (length str) (+ (- 79 (length start) (length end) col) (if (> over 0) over 0))) - (setq str (concat str lastcom))) - (concat start str end))}$0 \ No newline at end of file diff --git a/.emacs.d/snippets/prog-mode/commentline b/.emacs.d/snippets/prog-mode/commentline deleted file mode 100644 index 400a7bf..0000000 --- a/.emacs.d/snippets/prog-mode/commentline +++ /dev/null @@ -1,11 +0,0 @@ -# -*- mode: snippet -*- -# contributor: sh-ow -# name: commentline -# key: col -# -- -`(yas-trimmed-comment-start)` ${1:comment} ${1:$(let* ((start (yas-trimmed-comment-start)) - (lastcom (aref start (1- (length start)))) - (end (yas-trimmed-comment-end)) - (endpadlen (- 79 (+ (current-column) (length end))))) - (concat (make-string (max endpadlen 0) lastcom) - end))}$0 \ No newline at end of file diff --git a/.emacs.d/snippets/prog-mode/fixme b/.emacs.d/snippets/prog-mode/fixme deleted file mode 100644 index df81c1d..0000000 --- a/.emacs.d/snippets/prog-mode/fixme +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: fixme -# key: fi -# condition: (not (eq major-mode 'sh-mode)) -# -- -`comment-start`FIXME: $0`comment-end` \ No newline at end of file diff --git a/.emacs.d/snippets/prog-mode/todo b/.emacs.d/snippets/prog-mode/todo deleted file mode 100644 index 79484e7..0000000 --- a/.emacs.d/snippets/prog-mode/todo +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: todo -# key: t -# -- -`comment-start`TODO: $0`comment-end` \ No newline at end of file diff --git a/.emacs.d/snippets/prog-mode/xxx b/.emacs.d/snippets/prog-mode/xxx deleted file mode 100644 index 85f0e6b..0000000 --- a/.emacs.d/snippets/prog-mode/xxx +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: xxx -# key: x -# -- -`comment-start`XXX: $0`comment-end` \ No newline at end of file diff --git a/.emacs.d/snippets/protobuf-mode/message b/.emacs.d/snippets/protobuf-mode/message deleted file mode 100644 index af26d9a..0000000 --- a/.emacs.d/snippets/protobuf-mode/message +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: message -# key: msg -# -- -message ${1:Name} { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/protobuf-mode/syntax b/.emacs.d/snippets/protobuf-mode/syntax deleted file mode 100644 index 5269e8f..0000000 --- a/.emacs.d/snippets/protobuf-mode/syntax +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: syntax -# key: syn -# -- -syntax = "${1:proto3}"; diff --git a/.emacs.d/snippets/python-mode/bang b/.emacs.d/snippets/python-mode/bang deleted file mode 100644 index d70a4a2..0000000 --- a/.emacs.d/snippets/python-mode/bang +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: #! -# key: #! -# contributor : @avelino -# -- -#!/usr/bin/env python \ No newline at end of file diff --git a/.emacs.d/snippets/rst-mode/autoclass b/.emacs.d/snippets/rst-mode/autoclass deleted file mode 100644 index b207dd3..0000000 --- a/.emacs.d/snippets/rst-mode/autoclass +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: autoclass -# key: auto -# -- -.. autoclass:: $0 - ${1::members: ${2:members}} \ No newline at end of file diff --git a/.emacs.d/snippets/rst-mode/autofunction b/.emacs.d/snippets/rst-mode/autofunction deleted file mode 100644 index 7ed5c5e..0000000 --- a/.emacs.d/snippets/rst-mode/autofunction +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: autofunction -# key: auto -# -- -.. autofunction:: $0 \ No newline at end of file diff --git a/.emacs.d/snippets/rst-mode/automodule b/.emacs.d/snippets/rst-mode/automodule deleted file mode 100644 index 2929f77..0000000 --- a/.emacs.d/snippets/rst-mode/automodule +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: automodule -# key: auto -# -- -.. automodule:: ${1:module_name} \ No newline at end of file diff --git a/.emacs.d/snippets/rst-mode/chapter b/.emacs.d/snippets/rst-mode/chapter deleted file mode 100644 index c5e3483..0000000 --- a/.emacs.d/snippets/rst-mode/chapter +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name : Chapter title -# key: chap -# -- -${1:Chapter} -${1:$(make-string (string-width yas-text) ?\=)} - -$0 diff --git a/.emacs.d/snippets/rst-mode/class b/.emacs.d/snippets/rst-mode/class deleted file mode 100644 index 66ad562..0000000 --- a/.emacs.d/snippets/rst-mode/class +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: class -# key: cls -# -- -:class:\`$0\` \ No newline at end of file diff --git a/.emacs.d/snippets/rst-mode/code b/.emacs.d/snippets/rst-mode/code deleted file mode 100644 index 49ff111..0000000 --- a/.emacs.d/snippets/rst-mode/code +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: code -# key: code -# -- -.. code:: ${1:python} \ No newline at end of file diff --git a/.emacs.d/snippets/rst-mode/digraph b/.emacs.d/snippets/rst-mode/digraph deleted file mode 100644 index 448de13..0000000 --- a/.emacs.d/snippets/rst-mode/digraph +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: digraph -# key: graph -# -- -.. digraph:: $1 - - $0 \ No newline at end of file diff --git a/.emacs.d/snippets/rst-mode/function b/.emacs.d/snippets/rst-mode/function deleted file mode 100644 index 8677632..0000000 --- a/.emacs.d/snippets/rst-mode/function +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: function -# key: fun -# -- -:function:\`$0\` \ No newline at end of file diff --git a/.emacs.d/snippets/rst-mode/graph b/.emacs.d/snippets/rst-mode/graph deleted file mode 100644 index f7d7b69..0000000 --- a/.emacs.d/snippets/rst-mode/graph +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: graph -# key: graph -# -- -.. graph:: $1 - - $0 \ No newline at end of file diff --git a/.emacs.d/snippets/rst-mode/graphviz b/.emacs.d/snippets/rst-mode/graphviz deleted file mode 100644 index 53ca449..0000000 --- a/.emacs.d/snippets/rst-mode/graphviz +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: graphviz -# key: graph -# -- -.. graphviz:: - - $0 \ No newline at end of file diff --git a/.emacs.d/snippets/rst-mode/image b/.emacs.d/snippets/rst-mode/image deleted file mode 100644 index 402c9a5..0000000 --- a/.emacs.d/snippets/rst-mode/image +++ /dev/null @@ -1,10 +0,0 @@ -# -*- mode: snippet -*- -# name: image -# key: img -# -- -.. image:: ${1:path} - :height: ${2:100} - :width: ${3:200} - :alt: ${4:description} - -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/rst-mode/inheritance b/.emacs.d/snippets/rst-mode/inheritance deleted file mode 100644 index e646c9a..0000000 --- a/.emacs.d/snippets/rst-mode/inheritance +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: inheritance -# key: inh -# -- -.. inheritance-diagram:: $0 \ No newline at end of file diff --git a/.emacs.d/snippets/rst-mode/literal_include b/.emacs.d/snippets/rst-mode/literal_include deleted file mode 100644 index 9e2a7de..0000000 --- a/.emacs.d/snippets/rst-mode/literal_include +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: literatal include -# key: inc -# -- -.. literalinclude:: ${1:path} \ No newline at end of file diff --git a/.emacs.d/snippets/rst-mode/meta b/.emacs.d/snippets/rst-mode/meta deleted file mode 100644 index 6aaae41..0000000 --- a/.emacs.d/snippets/rst-mode/meta +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: meta -# key: : -# -- -:${1:var}: $0 \ No newline at end of file diff --git a/.emacs.d/snippets/rst-mode/module b/.emacs.d/snippets/rst-mode/module deleted file mode 100644 index e60e18e..0000000 --- a/.emacs.d/snippets/rst-mode/module +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: module -# key: mod -# -- -:mod: \`$0\` \ No newline at end of file diff --git a/.emacs.d/snippets/rst-mode/parsed_literal b/.emacs.d/snippets/rst-mode/parsed_literal deleted file mode 100644 index ee8c07c..0000000 --- a/.emacs.d/snippets/rst-mode/parsed_literal +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: parsed_literal -# key: src -# -- -.. parsed-literal:: - $0 \ No newline at end of file diff --git a/.emacs.d/snippets/rst-mode/pause b/.emacs.d/snippets/rst-mode/pause deleted file mode 100644 index 0833e87..0000000 --- a/.emacs.d/snippets/rst-mode/pause +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: pause -# key: pause -# group: hieroglyph -# -- -.. rst-class:: build \ No newline at end of file diff --git a/.emacs.d/snippets/rst-mode/section b/.emacs.d/snippets/rst-mode/section deleted file mode 100644 index 1739ad8..0000000 --- a/.emacs.d/snippets/rst-mode/section +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name : Section title -# key: sec -# -- -${1:Section} -${1:$(make-string (string-width yas-text) ?\-)} - -$0 diff --git a/.emacs.d/snippets/rst-mode/term b/.emacs.d/snippets/rst-mode/term deleted file mode 100644 index 86624e2..0000000 --- a/.emacs.d/snippets/rst-mode/term +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: term -# key: term -# -- -:term:\`$0\` \ No newline at end of file diff --git a/.emacs.d/snippets/rst-mode/title b/.emacs.d/snippets/rst-mode/title deleted file mode 100644 index 88c32f8..0000000 --- a/.emacs.d/snippets/rst-mode/title +++ /dev/null @@ -1,9 +0,0 @@ -# -*- mode: snippet -*- -# name : Document title -# key: tit -# -- -${1:$(make-string (string-width yas-text) ?\=)} -${1:Title} -${1:$(make-string (string-width yas-text) ?\=)} - -$0 diff --git a/.emacs.d/snippets/rst-mode/url b/.emacs.d/snippets/rst-mode/url deleted file mode 100644 index ead9d35..0000000 --- a/.emacs.d/snippets/rst-mode/url +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: url -# key: url -# -- -.. _${1:description}: $0 \ No newline at end of file diff --git a/.emacs.d/snippets/rst-mode/verbatim b/.emacs.d/snippets/rst-mode/verbatim deleted file mode 100644 index 1d0362c..0000000 --- a/.emacs.d/snippets/rst-mode/verbatim +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: verbatim -# key: | -# -- -| $0 -| \ No newline at end of file diff --git a/.emacs.d/snippets/rst-mode/warning b/.emacs.d/snippets/rst-mode/warning deleted file mode 100644 index 8f74b36..0000000 --- a/.emacs.d/snippets/rst-mode/warning +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: warning -# key: warn -# -- -.. warning: - $0 \ No newline at end of file diff --git a/.emacs.d/snippets/ruby-mode/# b/.emacs.d/snippets/ruby-mode/# deleted file mode 100644 index 33581c8..0000000 --- a/.emacs.d/snippets/ruby-mode/# +++ /dev/null @@ -1,4 +0,0 @@ -#name : # => -#group : general -# -- -# => \ No newline at end of file diff --git a/.emacs.d/snippets/ruby-mode/=b b/.emacs.d/snippets/ruby-mode/=b deleted file mode 100644 index 22a013f..0000000 --- a/.emacs.d/snippets/ruby-mode/=b +++ /dev/null @@ -1,6 +0,0 @@ -#name : =begin rdoc ... =end -#group : general -# -- -=begin rdoc - $0 -=end \ No newline at end of file diff --git a/.emacs.d/snippets/ruby-mode/Comp b/.emacs.d/snippets/ruby-mode/Comp deleted file mode 100644 index 03f2b35..0000000 --- a/.emacs.d/snippets/ruby-mode/Comp +++ /dev/null @@ -1,8 +0,0 @@ -#name : include Comparable; def <=> ... end -#group : definitions -# -- -include Comparable - -def <=> other - $0 -end \ No newline at end of file diff --git a/.emacs.d/snippets/ruby-mode/Enum b/.emacs.d/snippets/ruby-mode/Enum deleted file mode 100644 index 9804bd6..0000000 --- a/.emacs.d/snippets/ruby-mode/Enum +++ /dev/null @@ -1,10 +0,0 @@ -# -*- mode: snippet -*- -# name: include Enumerable -# key: Enum -# group: collections -# -- -include Enumerable - -def each${1:(&block)} - $0 -end diff --git a/.emacs.d/snippets/ruby-mode/GLOB b/.emacs.d/snippets/ruby-mode/GLOB deleted file mode 100644 index 6667254..0000000 --- a/.emacs.d/snippets/ruby-mode/GLOB +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: GLOB -# key: $ -# -- -$${1:GLOBAL} = $0 \ No newline at end of file diff --git a/.emacs.d/snippets/ruby-mode/all b/.emacs.d/snippets/ruby-mode/all deleted file mode 100644 index a98a9f4..0000000 --- a/.emacs.d/snippets/ruby-mode/all +++ /dev/null @@ -1,4 +0,0 @@ -#name : all? { |...| ... } -#group : collections -# -- -all? { |${e}| $0 } \ No newline at end of file diff --git a/.emacs.d/snippets/ruby-mode/am b/.emacs.d/snippets/ruby-mode/am deleted file mode 100644 index 7675a97..0000000 --- a/.emacs.d/snippets/ruby-mode/am +++ /dev/null @@ -1,4 +0,0 @@ -#name : alias_method new, old -#group : definitions -# -- -alias_method :${new_name}, :${old_name} \ No newline at end of file diff --git a/.emacs.d/snippets/ruby-mode/any b/.emacs.d/snippets/ruby-mode/any deleted file mode 100644 index d0b6dd2..0000000 --- a/.emacs.d/snippets/ruby-mode/any +++ /dev/null @@ -1,4 +0,0 @@ -#name : any? { |...| ... } -#group : collections -# -- -any? { |${e}| $0 } \ No newline at end of file diff --git a/.emacs.d/snippets/ruby-mode/app b/.emacs.d/snippets/ruby-mode/app deleted file mode 100644 index 19bf60a..0000000 --- a/.emacs.d/snippets/ruby-mode/app +++ /dev/null @@ -1,6 +0,0 @@ -#name : if __FILE__ == $PROGRAM_NAME ... end -#group : general -# -- -if __FILE__ == $PROGRAM_NAME - $0 -end \ No newline at end of file diff --git a/.emacs.d/snippets/ruby-mode/attribute b/.emacs.d/snippets/ruby-mode/attribute deleted file mode 100644 index 4e8e37a..0000000 --- a/.emacs.d/snippets/ruby-mode/attribute +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: attribute -# key: @ -# -- -@${1:attr} = $0 \ No newline at end of file diff --git a/.emacs.d/snippets/ruby-mode/bench b/.emacs.d/snippets/ruby-mode/bench deleted file mode 100644 index e440919..0000000 --- a/.emacs.d/snippets/ruby-mode/bench +++ /dev/null @@ -1,10 +0,0 @@ -# -*- mode: snippet -*- -# name: bench -# key: bench -# -- -require "benchmark" - -TESTS = ${1:1_000} -Benchmark.bmbm do |x| - x.report("${2:var}") {} -end diff --git a/.emacs.d/snippets/ruby-mode/bm b/.emacs.d/snippets/ruby-mode/bm deleted file mode 100644 index 4789f64..0000000 --- a/.emacs.d/snippets/ruby-mode/bm +++ /dev/null @@ -1,6 +0,0 @@ -#name : Benchmark.bmbm(...) do ... end -#group : general -# -- -Benchmark.bmbm(${1:10}) do |x| - $0 -end \ No newline at end of file diff --git a/.emacs.d/snippets/ruby-mode/case b/.emacs.d/snippets/ruby-mode/case deleted file mode 100644 index 40c3529..0000000 --- a/.emacs.d/snippets/ruby-mode/case +++ /dev/null @@ -1,7 +0,0 @@ -#name : case ... end -#group : general -# -- -case ${1:object} -when ${2:condition} - $0 -end \ No newline at end of file diff --git a/.emacs.d/snippets/ruby-mode/cla b/.emacs.d/snippets/ruby-mode/cla deleted file mode 100644 index 81ccf45..0000000 --- a/.emacs.d/snippets/ruby-mode/cla +++ /dev/null @@ -1,6 +0,0 @@ -#name : class << self ... end -#group : definitions -# -- -class << ${self} - $0 -end \ No newline at end of file diff --git a/.emacs.d/snippets/ruby-mode/cls b/.emacs.d/snippets/ruby-mode/cls deleted file mode 100644 index ab81ca8..0000000 --- a/.emacs.d/snippets/ruby-mode/cls +++ /dev/null @@ -1,11 +0,0 @@ -#name : class ... end -#contributor : hitesh -#group : definitions -# -- -class ${1:`(let ((fn (capitalize (file-name-nondirectory - (file-name-sans-extension - (or (buffer-file-name) - (buffer-name (current-buffer)))))))) - (replace-regexp-in-string "_" "" fn t t))`} - $0 -end diff --git a/.emacs.d/snippets/ruby-mode/collect b/.emacs.d/snippets/ruby-mode/collect deleted file mode 100644 index 934014a..0000000 --- a/.emacs.d/snippets/ruby-mode/collect +++ /dev/null @@ -1,4 +0,0 @@ -#name : collect { |...| ... } -#group : collections -# -- -collect { |${e}| $0 } \ No newline at end of file diff --git a/.emacs.d/snippets/ruby-mode/dee b/.emacs.d/snippets/ruby-mode/dee deleted file mode 100644 index 56d0a18..0000000 --- a/.emacs.d/snippets/ruby-mode/dee +++ /dev/null @@ -1,4 +0,0 @@ -#name : deep_copy(...) -#group : general -# -- -Marshal.load(Marshal.dump($0)) \ No newline at end of file diff --git a/.emacs.d/snippets/ruby-mode/def b/.emacs.d/snippets/ruby-mode/def deleted file mode 100644 index 875f0ff..0000000 --- a/.emacs.d/snippets/ruby-mode/def +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: def ... end -# key: def -# -- -def ${1:method}${2:(${3:args})} - $0 -end \ No newline at end of file diff --git a/.emacs.d/snippets/ruby-mode/deli b/.emacs.d/snippets/ruby-mode/deli deleted file mode 100644 index 8476ef9..0000000 --- a/.emacs.d/snippets/ruby-mode/deli +++ /dev/null @@ -1,4 +0,0 @@ -#name : delete_if { |...| ... } -#group : collections -# -- -delete_if { |${e}| $0 } \ No newline at end of file diff --git a/.emacs.d/snippets/ruby-mode/det b/.emacs.d/snippets/ruby-mode/det deleted file mode 100644 index 6a17da9..0000000 --- a/.emacs.d/snippets/ruby-mode/det +++ /dev/null @@ -1,4 +0,0 @@ -#name : detect { |...| ... } -#group : collections -# -- -detect { |${e}| $0 } \ No newline at end of file diff --git a/.emacs.d/snippets/ruby-mode/dow b/.emacs.d/snippets/ruby-mode/dow deleted file mode 100644 index 3b65271..0000000 --- a/.emacs.d/snippets/ruby-mode/dow +++ /dev/null @@ -1,6 +0,0 @@ -#name : downto(...) { |n| ... } -#group : control structure -# -- -downto(${0}) { |${n}| - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/ruby-mode/ea b/.emacs.d/snippets/ruby-mode/ea deleted file mode 100644 index 9cdf8dc..0000000 --- a/.emacs.d/snippets/ruby-mode/ea +++ /dev/null @@ -1,4 +0,0 @@ -#name : each { |...| ... } -#group : collections -# -- -each { |${e}| $0 } \ No newline at end of file diff --git a/.emacs.d/snippets/ruby-mode/eac b/.emacs.d/snippets/ruby-mode/eac deleted file mode 100644 index f0d9cb1..0000000 --- a/.emacs.d/snippets/ruby-mode/eac +++ /dev/null @@ -1,4 +0,0 @@ -#name : each_cons(...) { |...| ... } -#group : collections -# -- -each_cons(${1:2}) { |${group}| $0 } \ No newline at end of file diff --git a/.emacs.d/snippets/ruby-mode/eai b/.emacs.d/snippets/ruby-mode/eai deleted file mode 100644 index 5b0ed67..0000000 --- a/.emacs.d/snippets/ruby-mode/eai +++ /dev/null @@ -1,4 +0,0 @@ -#name : each_index { |i| ... } -#group : collections -# -- -each_index { |${i}| $0 } \ No newline at end of file diff --git a/.emacs.d/snippets/ruby-mode/eav b/.emacs.d/snippets/ruby-mode/eav deleted file mode 100644 index 558e5b4..0000000 --- a/.emacs.d/snippets/ruby-mode/eav +++ /dev/null @@ -1,4 +0,0 @@ -#name : each_value { |val| ... } -#group : collections -# -- -each_value { |${val}| $0 } \ No newline at end of file diff --git a/.emacs.d/snippets/ruby-mode/eawi b/.emacs.d/snippets/ruby-mode/eawi deleted file mode 100644 index edf8418..0000000 --- a/.emacs.d/snippets/ruby-mode/eawi +++ /dev/null @@ -1,4 +0,0 @@ -#name : each_with_index { |e, i| ... } -#group : collections -# -- -each_with_index { |${e}, ${i}| $0 } \ No newline at end of file diff --git a/.emacs.d/snippets/ruby-mode/for b/.emacs.d/snippets/ruby-mode/for deleted file mode 100644 index 03dd82c..0000000 --- a/.emacs.d/snippets/ruby-mode/for +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: for -# key: for -# -- -for ${1:el} in ${2:collection} - $0 -end \ No newline at end of file diff --git a/.emacs.d/snippets/ruby-mode/forin b/.emacs.d/snippets/ruby-mode/forin deleted file mode 100644 index 36b4387..0000000 --- a/.emacs.d/snippets/ruby-mode/forin +++ /dev/null @@ -1,6 +0,0 @@ -#name : for ... in ...; ... end -#group : control structure -# -- -for ${1:element} in ${2:collection} - $0 -end \ No newline at end of file diff --git a/.emacs.d/snippets/ruby-mode/formula b/.emacs.d/snippets/ruby-mode/formula deleted file mode 100644 index 735b0d1..0000000 --- a/.emacs.d/snippets/ruby-mode/formula +++ /dev/null @@ -1,16 +0,0 @@ -# -*- mode: snippet -*- -# name: formula -# key: form -# -- -require 'formula' - -class ${1:Name} , jimeh -# key: mod -# -- -module ${1:`(let ((fn (capitalize (file-name-nondirectory - (file-name-sans-extension - (or (buffer-file-name) - (buffer-name (current-buffer)))))))) - (while (string-match "_" fn) - (setq fn (replace-match "" nil nil fn))) - fn)`} - $0 -end \ No newline at end of file diff --git a/.emacs.d/snippets/ruby-mode/pry b/.emacs.d/snippets/ruby-mode/pry deleted file mode 100644 index cea3988..0000000 --- a/.emacs.d/snippets/ruby-mode/pry +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: binding.pry -# key: pry -# -- -require 'pry'; binding.pry diff --git a/.emacs.d/snippets/ruby-mode/r b/.emacs.d/snippets/ruby-mode/r deleted file mode 100644 index 2e7b797..0000000 --- a/.emacs.d/snippets/ruby-mode/r +++ /dev/null @@ -1,4 +0,0 @@ -#name : attr_reader ... -#group : definitions -# -- -attr_reader : \ No newline at end of file diff --git a/.emacs.d/snippets/ruby-mode/rb b/.emacs.d/snippets/ruby-mode/rb deleted file mode 100644 index 94b75c0..0000000 --- a/.emacs.d/snippets/ruby-mode/rb +++ /dev/null @@ -1,4 +0,0 @@ -#name : /usr/bin/ruby -wU -#group : general -# -- -#!/usr/bin/ruby -wU diff --git a/.emacs.d/snippets/ruby-mode/red b/.emacs.d/snippets/ruby-mode/red deleted file mode 100644 index 6318e0b..0000000 --- a/.emacs.d/snippets/ruby-mode/red +++ /dev/null @@ -1,4 +0,0 @@ -#name : reduce(...) { |...| ... } -#group : collections -# -- -reduce(${1:0}) { |${2:accumulator}, ${3:element}| $0 } diff --git a/.emacs.d/snippets/ruby-mode/reject b/.emacs.d/snippets/ruby-mode/reject deleted file mode 100644 index c2501bc..0000000 --- a/.emacs.d/snippets/ruby-mode/reject +++ /dev/null @@ -1,4 +0,0 @@ -#name : reject { |...| ... } -#group : collections -# -- -reject { |${1:element}| $0 } \ No newline at end of file diff --git a/.emacs.d/snippets/ruby-mode/rel b/.emacs.d/snippets/ruby-mode/rel deleted file mode 100644 index 4063a60..0000000 --- a/.emacs.d/snippets/ruby-mode/rel +++ /dev/null @@ -1,4 +0,0 @@ -#name : require_relative -#group : general -# -- -require_relative '$0' \ No newline at end of file diff --git a/.emacs.d/snippets/ruby-mode/req b/.emacs.d/snippets/ruby-mode/req deleted file mode 100644 index a1440cb..0000000 --- a/.emacs.d/snippets/ruby-mode/req +++ /dev/null @@ -1,4 +0,0 @@ -#name : require "..." -#group : general -# -- -require '$0' \ No newline at end of file diff --git a/.emacs.d/snippets/ruby-mode/rpry b/.emacs.d/snippets/ruby-mode/rpry deleted file mode 100644 index d93221f..0000000 --- a/.emacs.d/snippets/ruby-mode/rpry +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: binding.pry_remote -# key: rpry -# -- -require 'pry-remote'; binding.remote_pry \ No newline at end of file diff --git a/.emacs.d/snippets/ruby-mode/rw b/.emacs.d/snippets/ruby-mode/rw deleted file mode 100644 index a364675..0000000 --- a/.emacs.d/snippets/ruby-mode/rw +++ /dev/null @@ -1,4 +0,0 @@ -#name : attr_accessor ... -#group : definitions -# -- -attr_accessor : \ No newline at end of file diff --git a/.emacs.d/snippets/ruby-mode/select b/.emacs.d/snippets/ruby-mode/select deleted file mode 100644 index 78bca8f..0000000 --- a/.emacs.d/snippets/ruby-mode/select +++ /dev/null @@ -1,4 +0,0 @@ -#name : select { |...| ... } -#group : collections -# -- -select { |${1:element}| $0 } \ No newline at end of file diff --git a/.emacs.d/snippets/ruby-mode/str b/.emacs.d/snippets/ruby-mode/str deleted file mode 100644 index 733cef5..0000000 --- a/.emacs.d/snippets/ruby-mode/str +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: str -# key: s -# -- -#{$0} \ No newline at end of file diff --git a/.emacs.d/snippets/ruby-mode/test class b/.emacs.d/snippets/ruby-mode/test class deleted file mode 100644 index 1f7fb91..0000000 --- a/.emacs.d/snippets/ruby-mode/test class +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: test class -# key: tc -# -- -class TC_${1:Class} < Test::Unit::TestCase - $0 -end \ No newline at end of file diff --git a/.emacs.d/snippets/ruby-mode/tim b/.emacs.d/snippets/ruby-mode/tim deleted file mode 100644 index 0da115f..0000000 --- a/.emacs.d/snippets/ruby-mode/tim +++ /dev/null @@ -1,4 +0,0 @@ -#name : times { |n| ... } -#group : control structure -# -- -times { |${n}| $0 } \ No newline at end of file diff --git a/.emacs.d/snippets/ruby-mode/to_ b/.emacs.d/snippets/ruby-mode/to_ deleted file mode 100644 index a2f9cde..0000000 --- a/.emacs.d/snippets/ruby-mode/to_ +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: to_ -# key: to_ -# -- -def to_s - "${1:string}" -end -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/ruby-mode/tu b/.emacs.d/snippets/ruby-mode/tu deleted file mode 100644 index b9244b6..0000000 --- a/.emacs.d/snippets/ruby-mode/tu +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: tu -# key: tu -# -- -require 'test/unit' \ No newline at end of file diff --git a/.emacs.d/snippets/ruby-mode/until b/.emacs.d/snippets/ruby-mode/until deleted file mode 100644 index 476966a..0000000 --- a/.emacs.d/snippets/ruby-mode/until +++ /dev/null @@ -1,6 +0,0 @@ -#name : until ... end -#group: control structure -# -- -until ${condition} - $0 -end \ No newline at end of file diff --git a/.emacs.d/snippets/ruby-mode/upt b/.emacs.d/snippets/ruby-mode/upt deleted file mode 100644 index 6fc6810..0000000 --- a/.emacs.d/snippets/ruby-mode/upt +++ /dev/null @@ -1,6 +0,0 @@ -#name : upto(...) { |n| ... } -#group : control structure -# -- -upto(${n}) { |${i}| - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/ruby-mode/w b/.emacs.d/snippets/ruby-mode/w deleted file mode 100644 index 9edbfcb..0000000 --- a/.emacs.d/snippets/ruby-mode/w +++ /dev/null @@ -1,4 +0,0 @@ -#name : attr_writer ... -#group : definitions -# -- -attr_writer : \ No newline at end of file diff --git a/.emacs.d/snippets/ruby-mode/when b/.emacs.d/snippets/ruby-mode/when deleted file mode 100644 index 9b06f21..0000000 --- a/.emacs.d/snippets/ruby-mode/when +++ /dev/null @@ -1,6 +0,0 @@ -#name : when ... end -#group : control structure -# -- -when ${condition} - $0 -end \ No newline at end of file diff --git a/.emacs.d/snippets/ruby-mode/while b/.emacs.d/snippets/ruby-mode/while deleted file mode 100644 index 4c9ad35..0000000 --- a/.emacs.d/snippets/ruby-mode/while +++ /dev/null @@ -1,6 +0,0 @@ -#name : while ... end -#group : control structure -# -- -while ${condition} - $0 -end \ No newline at end of file diff --git a/.emacs.d/snippets/ruby-mode/y b/.emacs.d/snippets/ruby-mode/y deleted file mode 100644 index 0ddf0f9..0000000 --- a/.emacs.d/snippets/ruby-mode/y +++ /dev/null @@ -1,4 +0,0 @@ -#name : :yields: arguments (rdoc) -#group : general -# -- -:yields: $0 \ No newline at end of file diff --git a/.emacs.d/snippets/ruby-mode/zip b/.emacs.d/snippets/ruby-mode/zip deleted file mode 100644 index 56f4266..0000000 --- a/.emacs.d/snippets/ruby-mode/zip +++ /dev/null @@ -1,4 +0,0 @@ -#name : zip(...) { |...| ... } -#group : collections -# -- -zip(${enums}) { |${row}| $0 } \ No newline at end of file diff --git a/.emacs.d/snippets/rust-mode/allow b/.emacs.d/snippets/rust-mode/allow deleted file mode 100644 index c30c1e8..0000000 --- a/.emacs.d/snippets/rust-mode/allow +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: #[allow(lint)] -# key: allow -# -- -#[allow(${1:lint})] \ No newline at end of file diff --git a/.emacs.d/snippets/rust-mode/allow! b/.emacs.d/snippets/rust-mode/allow! deleted file mode 100644 index cfb0c7d..0000000 --- a/.emacs.d/snippets/rust-mode/allow! +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: #![allow(lint)] -# key: allow! -# -- -#![allow(${1:lint})] \ No newline at end of file diff --git a/.emacs.d/snippets/rust-mode/assert b/.emacs.d/snippets/rust-mode/assert deleted file mode 100644 index d1252d0..0000000 --- a/.emacs.d/snippets/rust-mode/assert +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: assert!(predicate); -# key: ass -# -- -assert!(${1:predicate}); \ No newline at end of file diff --git a/.emacs.d/snippets/rust-mode/asserteq b/.emacs.d/snippets/rust-mode/asserteq deleted file mode 100644 index 7bfafd2..0000000 --- a/.emacs.d/snippets/rust-mode/asserteq +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: assert_eq!(expected, actual); -# key: asseq -# -- -assert_eq!(${1:expected}, ${2:actual}); \ No newline at end of file diff --git a/.emacs.d/snippets/rust-mode/case b/.emacs.d/snippets/rust-mode/case deleted file mode 100644 index 9ea6609..0000000 --- a/.emacs.d/snippets/rust-mode/case +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: pattern => expression, -# key: case -# -- -${1:pattern} => ${2:expression}, \ No newline at end of file diff --git a/.emacs.d/snippets/rust-mode/cfg b/.emacs.d/snippets/rust-mode/cfg deleted file mode 100644 index 583e021..0000000 --- a/.emacs.d/snippets/rust-mode/cfg +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: #[cfg(option)] -# key: cfg -# -- -#[cfg(${1:option})] \ No newline at end of file diff --git a/.emacs.d/snippets/rust-mode/cfg= b/.emacs.d/snippets/rust-mode/cfg= deleted file mode 100644 index b01a458..0000000 --- a/.emacs.d/snippets/rust-mode/cfg= +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: #[cfg(option = "value")] -# key: cfg= -# -- -#[cfg(${1:option} = "${2:value}")] \ No newline at end of file diff --git a/.emacs.d/snippets/rust-mode/closure b/.emacs.d/snippets/rust-mode/closure deleted file mode 100644 index 8257983..0000000 --- a/.emacs.d/snippets/rust-mode/closure +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: closure -# key: || -# -- -|${1:arguments}| { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/rust-mode/deny b/.emacs.d/snippets/rust-mode/deny deleted file mode 100644 index 5b7f3d9..0000000 --- a/.emacs.d/snippets/rust-mode/deny +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: #[deny(lint)] -# key: deny -# -- -#[deny(${1:lint})] \ No newline at end of file diff --git a/.emacs.d/snippets/rust-mode/deny! b/.emacs.d/snippets/rust-mode/deny! deleted file mode 100644 index 232dfbc..0000000 --- a/.emacs.d/snippets/rust-mode/deny! +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: #![deny(lint)] -# key: deny! -# -- -#![deny(${1:lint})] \ No newline at end of file diff --git a/.emacs.d/snippets/rust-mode/derive b/.emacs.d/snippets/rust-mode/derive deleted file mode 100644 index 581c86f..0000000 --- a/.emacs.d/snippets/rust-mode/derive +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: #[derive(Trait)] -# key: derive -# -- -#[derive(${1:Trait})] \ No newline at end of file diff --git a/.emacs.d/snippets/rust-mode/drop b/.emacs.d/snippets/rust-mode/drop deleted file mode 100644 index 310d0ad..0000000 --- a/.emacs.d/snippets/rust-mode/drop +++ /dev/null @@ -1,9 +0,0 @@ -# -*- mode: snippet -*- -# name: impl Drop for Type { fn drop(...) } -# key: drop -# -- -impl Drop for ${1:Type} { - fn drop(&mut self) { - $0 - } -} \ No newline at end of file diff --git a/.emacs.d/snippets/rust-mode/enum b/.emacs.d/snippets/rust-mode/enum deleted file mode 100644 index 058aadc..0000000 --- a/.emacs.d/snippets/rust-mode/enum +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: enum Type { ... } -# key: enum -# -- -enum ${1:Type} { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/rust-mode/fn b/.emacs.d/snippets/rust-mode/fn deleted file mode 100644 index 459fd49..0000000 --- a/.emacs.d/snippets/rust-mode/fn +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: fn name() { ... } -# key: fn -# -- -fn ${1:name}($2) { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/rust-mode/fnr b/.emacs.d/snippets/rust-mode/fnr deleted file mode 100644 index 4a4db71..0000000 --- a/.emacs.d/snippets/rust-mode/fnr +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: fn name() -> Type { ... } -# key: fnr -# -- -fn ${1:name}($2) -> ${3:Type} { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/rust-mode/fns b/.emacs.d/snippets/rust-mode/fns deleted file mode 100644 index 6d2c828..0000000 --- a/.emacs.d/snippets/rust-mode/fns +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: fn name(&self) -> Type; -# key: fns -# -- -fn ${1:name}(${2:&self}) -> ${3:Type}; \ No newline at end of file diff --git a/.emacs.d/snippets/rust-mode/fnw b/.emacs.d/snippets/rust-mode/fnw deleted file mode 100644 index 77bee6e..0000000 --- a/.emacs.d/snippets/rust-mode/fnw +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: fn name(x: T) where T: Clone { ... } -# key: fnw -# -- -fn ${1:name}<${2:T}>(${3:x: T}) where ${4:T: Clone} { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/rust-mode/for b/.emacs.d/snippets/rust-mode/for deleted file mode 100644 index 66dca09..0000000 --- a/.emacs.d/snippets/rust-mode/for +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: for var in iterable { ... } -# key: for -# -- -for ${1:var} in ${2:iterable} { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/rust-mode/if b/.emacs.d/snippets/rust-mode/if deleted file mode 100644 index c793ace..0000000 --- a/.emacs.d/snippets/rust-mode/if +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: if expr { ... } -# key: if -# -- -if ${1:expression} { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/rust-mode/ife b/.emacs.d/snippets/rust-mode/ife deleted file mode 100644 index c738d4b..0000000 --- a/.emacs.d/snippets/rust-mode/ife +++ /dev/null @@ -1,9 +0,0 @@ -# -*- mode: snippet -*- -# name: if expression { ... } else { .. } -# key: ife -# -- -if ${1:expression} { - $0 -} else { - -} \ No newline at end of file diff --git a/.emacs.d/snippets/rust-mode/ifl b/.emacs.d/snippets/rust-mode/ifl deleted file mode 100644 index 177a359..0000000 --- a/.emacs.d/snippets/rust-mode/ifl +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: if let pattern = expression { ... }; -# key: ifl -# -- -if let ${1:pattern} = ${2:expression} { $0 }; \ No newline at end of file diff --git a/.emacs.d/snippets/rust-mode/impl b/.emacs.d/snippets/rust-mode/impl deleted file mode 100644 index 2d90db9..0000000 --- a/.emacs.d/snippets/rust-mode/impl +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: impl Type { ... } -# key: impl -# -- -impl ${1:Type} { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/rust-mode/implt b/.emacs.d/snippets/rust-mode/implt deleted file mode 100644 index 54269df..0000000 --- a/.emacs.d/snippets/rust-mode/implt +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: impl Trait for Type { ... } -# key: implt -# -- -impl ${1:Trait} for ${2:Type} { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/rust-mode/let b/.emacs.d/snippets/rust-mode/let deleted file mode 100644 index 9f603ea..0000000 --- a/.emacs.d/snippets/rust-mode/let +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: let pattern = expression; -# key: let -# -- -let ${1:pattern} = ${2:expression}; \ No newline at end of file diff --git a/.emacs.d/snippets/rust-mode/letm b/.emacs.d/snippets/rust-mode/letm deleted file mode 100644 index b07d673..0000000 --- a/.emacs.d/snippets/rust-mode/letm +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: let mut pattern = expression; -# key: letm -# -- -let mut ${1:pattern} = ${2:expression}; \ No newline at end of file diff --git a/.emacs.d/snippets/rust-mode/lett b/.emacs.d/snippets/rust-mode/lett deleted file mode 100644 index 10a7fa6..0000000 --- a/.emacs.d/snippets/rust-mode/lett +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: let pattern: type = expression; -# key: lett -# -- -let ${1:pattern}: ${2:type} = ${3:expression}; \ No newline at end of file diff --git a/.emacs.d/snippets/rust-mode/lettm b/.emacs.d/snippets/rust-mode/lettm deleted file mode 100644 index 9ceb8c3..0000000 --- a/.emacs.d/snippets/rust-mode/lettm +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: let mut pattern: type = expression; -# key: lettm -# -- -let mut ${1:pattern}: ${2:type} = ${3:expression}; \ No newline at end of file diff --git a/.emacs.d/snippets/rust-mode/loop b/.emacs.d/snippets/rust-mode/loop deleted file mode 100644 index 2285b75..0000000 --- a/.emacs.d/snippets/rust-mode/loop +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: loop { ... } -# key: loop -# -- -loop { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/rust-mode/macro b/.emacs.d/snippets/rust-mode/macro deleted file mode 100644 index b07f748..0000000 --- a/.emacs.d/snippets/rust-mode/macro +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: macro_rules! name { (..) => (..); } -# key: macro -# -- -macro_rules! ${1:name} { - ($2) => ($3); -} \ No newline at end of file diff --git a/.emacs.d/snippets/rust-mode/main b/.emacs.d/snippets/rust-mode/main deleted file mode 100644 index 75ae143..0000000 --- a/.emacs.d/snippets/rust-mode/main +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: fn main() { ... } -# key: main -# -- -fn main() { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/rust-mode/match b/.emacs.d/snippets/rust-mode/match deleted file mode 100644 index 54b7c80..0000000 --- a/.emacs.d/snippets/rust-mode/match +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: match expression { ... } -# key: match -# -- -match ${1:expression} { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/rust-mode/print b/.emacs.d/snippets/rust-mode/print deleted file mode 100644 index 11ba7c8..0000000 --- a/.emacs.d/snippets/rust-mode/print +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: print!("{}", value); -# key: print -# -- -print!("${1:{}}", $2); \ No newline at end of file diff --git a/.emacs.d/snippets/rust-mode/println b/.emacs.d/snippets/rust-mode/println deleted file mode 100644 index a53f860..0000000 --- a/.emacs.d/snippets/rust-mode/println +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: println!("{}", value); -# key: println -# -- -println!("${1:{}}", $2); \ No newline at end of file diff --git a/.emacs.d/snippets/rust-mode/spawn b/.emacs.d/snippets/rust-mode/spawn deleted file mode 100644 index 4b44ccc..0000000 --- a/.emacs.d/snippets/rust-mode/spawn +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: spawn(proc() { ... }); -# key: spawn -# -- -spawn(proc() { - $0 -}); \ No newline at end of file diff --git a/.emacs.d/snippets/rust-mode/static b/.emacs.d/snippets/rust-mode/static deleted file mode 100644 index eef8072..0000000 --- a/.emacs.d/snippets/rust-mode/static +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: CONSTANT: Type = value; -# key: static -# -- -static ${1:CONSTANT}: ${2:Type} = ${3:value}; \ No newline at end of file diff --git a/.emacs.d/snippets/rust-mode/struct b/.emacs.d/snippets/rust-mode/struct deleted file mode 100644 index 1c2e4c8..0000000 --- a/.emacs.d/snippets/rust-mode/struct +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: struct TypeName { .. } -# key: struct -# -- -struct ${1:TypeName} { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/rust-mode/test b/.emacs.d/snippets/rust-mode/test deleted file mode 100644 index c83d83d..0000000 --- a/.emacs.d/snippets/rust-mode/test +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: #[test] fn test_name() { .. } -# key: test -# -- -#[test] -fn ${1:test_name}() { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/rust-mode/testmod b/.emacs.d/snippets/rust-mode/testmod deleted file mode 100644 index f0be987..0000000 --- a/.emacs.d/snippets/rust-mode/testmod +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: test module -# key: testmod -# -- -#[cfg(test)] -mod ${1:tests} { - use super::*; - - #[test] - fn ${2:test_name}() { - $0 - } -} \ No newline at end of file diff --git a/.emacs.d/snippets/rust-mode/trait b/.emacs.d/snippets/rust-mode/trait deleted file mode 100644 index 15ab201..0000000 --- a/.emacs.d/snippets/rust-mode/trait +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: trait Type { ... } -# key: trait -# -- -trait ${1:Type} { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/rust-mode/type b/.emacs.d/snippets/rust-mode/type deleted file mode 100644 index 584a089..0000000 --- a/.emacs.d/snippets/rust-mode/type +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: type TypeName = TypeName; -# key: type -# -- -type ${1:TypeName} = ${2:TypeName}; \ No newline at end of file diff --git a/.emacs.d/snippets/rust-mode/union b/.emacs.d/snippets/rust-mode/union deleted file mode 100644 index bfd93aa..0000000 --- a/.emacs.d/snippets/rust-mode/union +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: union Type { ... } -# key: union -# -- -union ${1:Type} { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/rust-mode/warn b/.emacs.d/snippets/rust-mode/warn deleted file mode 100644 index acf5c5c..0000000 --- a/.emacs.d/snippets/rust-mode/warn +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: #[warn(lint)] -# key: warn -# -- -#[warn(${1:lint})] \ No newline at end of file diff --git a/.emacs.d/snippets/rust-mode/warn! b/.emacs.d/snippets/rust-mode/warn! deleted file mode 100644 index 2f4885d..0000000 --- a/.emacs.d/snippets/rust-mode/warn! +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: #![warn(lint)] -# key: warn! -# -- -#![warn(${1:lint})] \ No newline at end of file diff --git a/.emacs.d/snippets/rust-mode/while b/.emacs.d/snippets/rust-mode/while deleted file mode 100644 index 2fa221a..0000000 --- a/.emacs.d/snippets/rust-mode/while +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: while expression { ... } -# key: while -# -- -while ${1:expression} { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/rust-mode/whilel b/.emacs.d/snippets/rust-mode/whilel deleted file mode 100644 index 7f807e1..0000000 --- a/.emacs.d/snippets/rust-mode/whilel +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: while let pattern = expression { ... } -# key: whilel -# -- -while let ${1:pattern} = ${2:expression} { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/scala-mode/app b/.emacs.d/snippets/scala-mode/app deleted file mode 100644 index f02b309..0000000 --- a/.emacs.d/snippets/scala-mode/app +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -#Author : Anders Bach Nielsen -#name : object name extends App -# key: app -# -- -object ${1:name} extends App { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/scala-mode/case b/.emacs.d/snippets/scala-mode/case deleted file mode 100644 index b16dcae..0000000 --- a/.emacs.d/snippets/scala-mode/case +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -#Author : Jonas Bonèr -#name : case pattern => -# key: case -# -- -case ${1:_} => $0 \ No newline at end of file diff --git a/.emacs.d/snippets/scala-mode/cc b/.emacs.d/snippets/scala-mode/cc deleted file mode 100644 index 3eedbc7..0000000 --- a/.emacs.d/snippets/scala-mode/cc +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -#Author : Sam Halliday -#name : case class T(arg: A) -# key: cc -# -- -case class ${1:Name}( - ${2:arg}: ${3:Type} -) \ No newline at end of file diff --git a/.emacs.d/snippets/scala-mode/co b/.emacs.d/snippets/scala-mode/co deleted file mode 100644 index 7c3d371..0000000 --- a/.emacs.d/snippets/scala-mode/co +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -#Author : Jonas Bonèr -#name : case object T -# key: co -# -- -case object ${1:name} $0 \ No newline at end of file diff --git a/.emacs.d/snippets/scala-mode/cons b/.emacs.d/snippets/scala-mode/cons deleted file mode 100644 index bb2b26c..0000000 --- a/.emacs.d/snippets/scala-mode/cons +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -#Author : Jonas Bonèr -#name : element1 :: element2 -# key: cons -# -- -${1:element1} :: ${2:element2} $0 \ No newline at end of file diff --git a/.emacs.d/snippets/scala-mode/def b/.emacs.d/snippets/scala-mode/def deleted file mode 100644 index 22a8ee9..0000000 --- a/.emacs.d/snippets/scala-mode/def +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -#Author : Jonas Bonèr -#name : def f(arg: T): R = {...} -# key: def -# -- -def ${1:name}(${2:args}): ${3:Unit} = { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/scala-mode/doc b/.emacs.d/snippets/scala-mode/doc deleted file mode 100644 index 60b5007..0000000 --- a/.emacs.d/snippets/scala-mode/doc +++ /dev/null @@ -1,9 +0,0 @@ -# -*- mode: snippet -*- -#Author : Anders Bach Nielsen -#name : /** ... */ -# key: doc -# -- -/** - * ${1:description} - * $0 - */ \ No newline at end of file diff --git a/.emacs.d/snippets/scala-mode/for b/.emacs.d/snippets/scala-mode/for deleted file mode 100644 index 44a4253..0000000 --- a/.emacs.d/snippets/scala-mode/for +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -#Author : Sam Halliday -#name : for { x <- xs } yield -#key: for -# -- -for { - ${1:x} <- ${2:xs} -} yield ${3:x} \ No newline at end of file diff --git a/.emacs.d/snippets/scala-mode/if b/.emacs.d/snippets/scala-mode/if deleted file mode 100644 index 28ff792..0000000 --- a/.emacs.d/snippets/scala-mode/if +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -#Author : Jonas Bonèr -#name : if (cond) { .. } -# key: if -# -- -if (${1:condition}) { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/scala-mode/ls b/.emacs.d/snippets/scala-mode/ls deleted file mode 100644 index 3e1fb51..0000000 --- a/.emacs.d/snippets/scala-mode/ls +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -#Author : Jonas Bonèr -#name : List(..) -# key: ls -# -- -List(${1:args}, ${2:args}) $0 \ No newline at end of file diff --git a/.emacs.d/snippets/scala-mode/main b/.emacs.d/snippets/scala-mode/main deleted file mode 100644 index 4befc32..0000000 --- a/.emacs.d/snippets/scala-mode/main +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -#Author : Jonas Bonèr -#name: def main(args: Array[String]) = { ... } -# key: main -# -- -def main(args: Array[String]) = { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/scala-mode/match b/.emacs.d/snippets/scala-mode/match deleted file mode 100644 index 8aadeea..0000000 --- a/.emacs.d/snippets/scala-mode/match +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -#Author : Jonas Bonèr -#name : cc match { .. } -# key: match -# -- -${1:cc} match { - case ${2:pattern} => $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/scala-mode/ob b/.emacs.d/snippets/scala-mode/ob deleted file mode 100644 index 1890550..0000000 --- a/.emacs.d/snippets/scala-mode/ob +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -#Author : Jonas Bonèr -#name : object name extends T -# key: ob -# -- -object ${1:name} extends ${2:type} $0 \ No newline at end of file diff --git a/.emacs.d/snippets/scala-mode/throw b/.emacs.d/snippets/scala-mode/throw deleted file mode 100644 index 02ad549..0000000 --- a/.emacs.d/snippets/scala-mode/throw +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -#Author : Jonas Bonèr -#name : throw new Exception -# key: throw -# -- -throw new ${1:Exception}(${2:msg}) $0 \ No newline at end of file diff --git a/.emacs.d/snippets/scala-mode/try b/.emacs.d/snippets/scala-mode/try deleted file mode 100644 index d0c8d04..0000000 --- a/.emacs.d/snippets/scala-mode/try +++ /dev/null @@ -1,11 +0,0 @@ -# -*- mode: snippet -*- -#Author : Sam Halliday -#name : try { .. } catch { case e => ..} -# key: try -# -- -try { - $0 -} catch { - case e: ${1:Throwable} => - ${2:// TODO: handle exception} -} \ No newline at end of file diff --git a/.emacs.d/snippets/scala-mode/valueclass b/.emacs.d/snippets/scala-mode/valueclass deleted file mode 100644 index 8ad8ead..0000000 --- a/.emacs.d/snippets/scala-mode/valueclass +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# Author: Michael Pollmeier -# name: value class -# key: vc -# -- -case class ${1:Name}(value: ${2:Type}) extends AnyVal diff --git a/.emacs.d/snippets/sh-mode/args b/.emacs.d/snippets/sh-mode/args deleted file mode 100644 index 09fe3a0..0000000 --- a/.emacs.d/snippets/sh-mode/args +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name:args -# key: args -# -- -if [ $# -lt ${1:2} ] - then $0 -fi \ No newline at end of file diff --git a/.emacs.d/snippets/sh-mode/bang b/.emacs.d/snippets/sh-mode/bang deleted file mode 100644 index 5e11f0e..0000000 --- a/.emacs.d/snippets/sh-mode/bang +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: bang -# key: ! -# -- -#!/usr/bin/env bash -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/sh-mode/for loop b/.emacs.d/snippets/sh-mode/for loop deleted file mode 100644 index 438706b..0000000 --- a/.emacs.d/snippets/sh-mode/for loop +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: for loop -# key: for -# -- -for ${1:var} in ${2:stuff}; do - $0 -done \ No newline at end of file diff --git a/.emacs.d/snippets/sh-mode/function b/.emacs.d/snippets/sh-mode/function deleted file mode 100644 index c0f670a..0000000 --- a/.emacs.d/snippets/sh-mode/function +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: function -# key: f -# -- -function ${1:name} { - $0 -} \ No newline at end of file diff --git a/.emacs.d/snippets/sh-mode/if b/.emacs.d/snippets/sh-mode/if deleted file mode 100644 index 2dc537d..0000000 --- a/.emacs.d/snippets/sh-mode/if +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: if -# key: if -# -- -if ${1:[ -f file]} - then ${2:do} -fi -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/sh-mode/ife b/.emacs.d/snippets/sh-mode/ife deleted file mode 100644 index f046a3e..0000000 --- a/.emacs.d/snippets/sh-mode/ife +++ /dev/null @@ -1,9 +0,0 @@ -# -*- mode: snippet -*- -# name: ife -# key: ife -# -- -if ${1:cond} -then ${2:stuff} -else ${3:other} -fi -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/sh-mode/safe-bang b/.emacs.d/snippets/sh-mode/safe-bang deleted file mode 100644 index ef93a83..0000000 --- a/.emacs.d/snippets/sh-mode/safe-bang +++ /dev/null @@ -1,9 +0,0 @@ -# -*- mode: snippet -*- -# name: safer bash settings for scripts -# key: s! -# -- -#!/usr/bin/env bash -set -euo pipefail -IFS=$'\n\t' - -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/sh-mode/until b/.emacs.d/snippets/sh-mode/until deleted file mode 100644 index a99709c..0000000 --- a/.emacs.d/snippets/sh-mode/until +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: until loop -# key: until -# -- -until ${1:cond}; do - $0 -done \ No newline at end of file diff --git a/.emacs.d/snippets/sh-mode/while b/.emacs.d/snippets/sh-mode/while deleted file mode 100644 index 16b147c..0000000 --- a/.emacs.d/snippets/sh-mode/while +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: while loop -# key: while -# -- -while ${1:cond}; do - $0 -done \ No newline at end of file diff --git a/.emacs.d/snippets/snippet-mode/cont b/.emacs.d/snippets/snippet-mode/cont deleted file mode 100644 index 3783d54..0000000 --- a/.emacs.d/snippets/snippet-mode/cont +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: cont -# key: cont -# -- -# contributor: `user-full-name` \ No newline at end of file diff --git a/.emacs.d/snippets/snippet-mode/elisp b/.emacs.d/snippets/snippet-mode/elisp deleted file mode 100644 index 768e94d..0000000 --- a/.emacs.d/snippets/snippet-mode/elisp +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: elisp -# key: ` -# -- -\`$0\` \ No newline at end of file diff --git a/.emacs.d/snippets/snippet-mode/field b/.emacs.d/snippets/snippet-mode/field deleted file mode 100644 index 12ff0e0..0000000 --- a/.emacs.d/snippets/snippet-mode/field +++ /dev/null @@ -1,6 +0,0 @@ -# name : ${ ... } field -# contributor : joaotavora -# key : $f -# key: field -# -- -\${${1:${2:n}:}$3${4:\$(${5:lisp-fn})}\}$0 \ No newline at end of file diff --git a/.emacs.d/snippets/snippet-mode/group b/.emacs.d/snippets/snippet-mode/group deleted file mode 100644 index 3ae8fd2..0000000 --- a/.emacs.d/snippets/snippet-mode/group +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: group -# key: group -# -- -# group : ${1:group} \ No newline at end of file diff --git a/.emacs.d/snippets/snippet-mode/mirror b/.emacs.d/snippets/snippet-mode/mirror deleted file mode 100644 index 2a45042..0000000 --- a/.emacs.d/snippets/snippet-mode/mirror +++ /dev/null @@ -1,6 +0,0 @@ -# name : ${n:$(...)} mirror -# key : $m -# contributor : joaotavora -# key: mirror -# -- -\${${2:n}:${4:\$(${5:reflection-fn})}\}$0 \ No newline at end of file diff --git a/.emacs.d/snippets/snippet-mode/vars b/.emacs.d/snippets/snippet-mode/vars deleted file mode 100644 index ec4e4b6..0000000 --- a/.emacs.d/snippets/snippet-mode/vars +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name : Snippet header -# contributor : joaotavora -# key: vars -# -- -# name : $1${2: -# key : ${3:trigger-key}}${4: -# keybinding : ${5:keybinding}}${6: -# expand-env : (${7:})} -# contributor : $6 -# key: vars -# -- -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/sql-mode/column b/.emacs.d/snippets/sql-mode/column deleted file mode 100644 index 90e4963..0000000 --- a/.emacs.d/snippets/sql-mode/column +++ /dev/null @@ -1,4 +0,0 @@ -#contributor : Alejandro Espinoza Esparza -#name : , ColumnName ColumnType NOT NULL... -# -- - , ${1:Name} ${2:Type} ${3:NOT NULL} diff --git a/.emacs.d/snippets/sql-mode/constraint b/.emacs.d/snippets/sql-mode/constraint deleted file mode 100644 index 989e508..0000000 --- a/.emacs.d/snippets/sql-mode/constraint +++ /dev/null @@ -1,4 +0,0 @@ -#contributor : Alejandro Espinoza Esparza -#name : CONSTRAINT [..] PRIMARY KEY ... -# -- -CONSTRAINT [${1:PK_Name}] PRIMARY KEY ${2:CLUSTERED} ([${3:ColumnName}]) diff --git a/.emacs.d/snippets/sql-mode/constraint.1 b/.emacs.d/snippets/sql-mode/constraint.1 deleted file mode 100644 index 98d89f0..0000000 --- a/.emacs.d/snippets/sql-mode/constraint.1 +++ /dev/null @@ -1,4 +0,0 @@ -#contributor : Alejandro Espinoza Esparza -#name : CONSTRAINT [..] FOREIGN KEY ... -# -- -CONSTRAINT [${1:FK_Name}] FOREIGN KEY ${2:CLUSTERED} ([${3:ColumnName}]) diff --git a/.emacs.d/snippets/sql-mode/create b/.emacs.d/snippets/sql-mode/create deleted file mode 100644 index a34624d..0000000 --- a/.emacs.d/snippets/sql-mode/create +++ /dev/null @@ -1,10 +0,0 @@ -#contributor : Alejandro Espinoza Esparza -#name : create table ... -# -- -CREATE TABLE [${1:dbo}].[${2:TableName}] -( - ${3:Id} ${4:INT IDENTITY(1,1)} ${5:NOT NULL} -$0 - CONSTRAINT [${6:PK_}] PRIMARY KEY ${7:CLUSTERED} ([$3]) -) -GO diff --git a/.emacs.d/snippets/sql-mode/create.1 b/.emacs.d/snippets/sql-mode/create.1 deleted file mode 100644 index 1323daf..0000000 --- a/.emacs.d/snippets/sql-mode/create.1 +++ /dev/null @@ -1,12 +0,0 @@ -#contributor : Alejandro Espinoza Esparza -#name : create procedure ... -# -- -CREATE PROCEDURE [${1:dbo}].[${2:Name}] -( - $3 $4 = ${5:NULL} ${6:OUTPUT} -) -AS -BEGIN -$0 -END -GO diff --git a/.emacs.d/snippets/sql-mode/insert b/.emacs.d/snippets/sql-mode/insert deleted file mode 100644 index 9ac08fe..0000000 --- a/.emacs.d/snippets/sql-mode/insert +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet; -*- -# name: insert -# key: ins -# -- -INSERT INTO ${table-name} (${col1, col2}) VALUES (${'val1', 'val2'});$0 \ No newline at end of file diff --git a/.emacs.d/snippets/sql-mode/references b/.emacs.d/snippets/sql-mode/references deleted file mode 100644 index f2e4eab..0000000 --- a/.emacs.d/snippets/sql-mode/references +++ /dev/null @@ -1,4 +0,0 @@ -#contributor : Alejandro Espinoza Esparza -#name : REFERENCES ... -# -- -REFERENCES ${1:TableName}([${2:ColumnName}]) diff --git a/.emacs.d/snippets/terraform-mode/resource b/.emacs.d/snippets/terraform-mode/resource deleted file mode 100644 index 00aa0ec..0000000 --- a/.emacs.d/snippets/terraform-mode/resource +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: resource -# key: res -# -- -resource "${1:type}" "${2:name}" { - $0 -} diff --git a/.emacs.d/snippets/terraform-mode/variable b/.emacs.d/snippets/terraform-mode/variable deleted file mode 100644 index 84d13f0..0000000 --- a/.emacs.d/snippets/terraform-mode/variable +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: variable -# key: var -# -- -variable "${1:name}" { - ${2:default = "$3"} -} \ No newline at end of file diff --git a/.emacs.d/snippets/text-mode/.yas-parents b/.emacs.d/snippets/text-mode/.yas-parents deleted file mode 100644 index c3ca481..0000000 --- a/.emacs.d/snippets/text-mode/.yas-parents +++ /dev/null @@ -1 +0,0 @@ -fundamental-mode diff --git a/.emacs.d/snippets/tuareg-mode/assert b/.emacs.d/snippets/tuareg-mode/assert deleted file mode 100644 index 574f865..0000000 --- a/.emacs.d/snippets/tuareg-mode/assert +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: assert -# key: as -# -- -assert $0;; \ No newline at end of file diff --git a/.emacs.d/snippets/tuareg-mode/docstring b/.emacs.d/snippets/tuareg-mode/docstring deleted file mode 100644 index 6738353..0000000 --- a/.emacs.d/snippets/tuareg-mode/docstring +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: docstring -# key: d -# -- -(* $0 *) \ No newline at end of file diff --git a/.emacs.d/snippets/tuareg-mode/for b/.emacs.d/snippets/tuareg-mode/for deleted file mode 100644 index f21b345..0000000 --- a/.emacs.d/snippets/tuareg-mode/for +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: for -# key: for -# -- -for ${1:cond} do - $0 -done \ No newline at end of file diff --git a/.emacs.d/snippets/tuareg-mode/fun b/.emacs.d/snippets/tuareg-mode/fun deleted file mode 100644 index 7579a3c..0000000 --- a/.emacs.d/snippets/tuareg-mode/fun +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: fun -# key: fun -# -- -fun ${1:args} -> $0 \ No newline at end of file diff --git a/.emacs.d/snippets/tuareg-mode/guard b/.emacs.d/snippets/tuareg-mode/guard deleted file mode 100644 index 13d43fc..0000000 --- a/.emacs.d/snippets/tuareg-mode/guard +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: guard -# key: | -# -- -| ${1:match} -> $0 \ No newline at end of file diff --git a/.emacs.d/snippets/tuareg-mode/ifthen b/.emacs.d/snippets/tuareg-mode/ifthen deleted file mode 100644 index dfb1907..0000000 --- a/.emacs.d/snippets/tuareg-mode/ifthen +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: ifthen -# key: if -# -- -if ${1:cond} then - $0 diff --git a/.emacs.d/snippets/tuareg-mode/ifthenelse b/.emacs.d/snippets/tuareg-mode/ifthenelse deleted file mode 100644 index 86d409f..0000000 --- a/.emacs.d/snippets/tuareg-mode/ifthenelse +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: ifthenelse -# key: if -# -- -if ${1:cond} then - $2 -else - $0 \ No newline at end of file diff --git a/.emacs.d/snippets/tuareg-mode/let b/.emacs.d/snippets/tuareg-mode/let deleted file mode 100644 index 1a0162e..0000000 --- a/.emacs.d/snippets/tuareg-mode/let +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: let -# key: let -# -- -let ${1:var} $0 \ No newline at end of file diff --git a/.emacs.d/snippets/tuareg-mode/list_comprehension b/.emacs.d/snippets/tuareg-mode/list_comprehension deleted file mode 100644 index 86d4a53..0000000 --- a/.emacs.d/snippets/tuareg-mode/list_comprehension +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: list_comprehension -# key: l -# -- -[? $1 | $0 ?] \ No newline at end of file diff --git a/.emacs.d/snippets/tuareg-mode/main b/.emacs.d/snippets/tuareg-mode/main deleted file mode 100644 index 3351548..0000000 --- a/.emacs.d/snippets/tuareg-mode/main +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: main -# key: m -# -- -let main = - $0 \ No newline at end of file diff --git a/.emacs.d/snippets/tuareg-mode/match b/.emacs.d/snippets/tuareg-mode/match deleted file mode 100644 index 18d4caa..0000000 --- a/.emacs.d/snippets/tuareg-mode/match +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: match -# key: match -# -- -match ${1:to_match} with - | ${2:matching} -> $0 \ No newline at end of file diff --git a/.emacs.d/snippets/tuareg-mode/module b/.emacs.d/snippets/tuareg-mode/module deleted file mode 100644 index 7e14d14..0000000 --- a/.emacs.d/snippets/tuareg-mode/module +++ /dev/null @@ -1,9 +0,0 @@ -# -*- mode: snippet -*- -# name: module -# key: mod -# -- -module ${1:A} = - struct - ${2:type t = { name : string; phone : string }} - $0 -end;; diff --git a/.emacs.d/snippets/tuareg-mode/open b/.emacs.d/snippets/tuareg-mode/open deleted file mode 100644 index cfc71f4..0000000 --- a/.emacs.d/snippets/tuareg-mode/open +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: open -# key: op -# -- -open ${1:Module} \ No newline at end of file diff --git a/.emacs.d/snippets/tuareg-mode/printf b/.emacs.d/snippets/tuareg-mode/printf deleted file mode 100644 index 71a9a59..0000000 --- a/.emacs.d/snippets/tuareg-mode/printf +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: printf -# key: pr -# -- -Printf.printf "${1:string}" ${2:vals};; \ No newline at end of file diff --git a/.emacs.d/snippets/tuareg-mode/rec b/.emacs.d/snippets/tuareg-mode/rec deleted file mode 100644 index e901eb4..0000000 --- a/.emacs.d/snippets/tuareg-mode/rec +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: rec -# key: rec -# -- -let rec ${1:fun} ${2:args} = - $0 \ No newline at end of file diff --git a/.emacs.d/snippets/tuareg-mode/try b/.emacs.d/snippets/tuareg-mode/try deleted file mode 100644 index 9c7faed..0000000 --- a/.emacs.d/snippets/tuareg-mode/try +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: try -# key: try -# -- -try - $0 -with - $1 \ No newline at end of file diff --git a/.emacs.d/snippets/tuareg-mode/type b/.emacs.d/snippets/tuareg-mode/type deleted file mode 100644 index a81b0e1..0000000 --- a/.emacs.d/snippets/tuareg-mode/type +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: type_record -# key: type -# -- -type ${1:name} = {${2:var}: ${3:int}$0} \ No newline at end of file diff --git a/.emacs.d/snippets/tuareg-mode/type_type b/.emacs.d/snippets/tuareg-mode/type_type deleted file mode 100644 index c5b4ac9..0000000 --- a/.emacs.d/snippets/tuareg-mode/type_type +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: type_type -# key: type -# -- -type ${1:expr} = - | $0 \ No newline at end of file diff --git a/.emacs.d/snippets/tuareg-mode/val b/.emacs.d/snippets/tuareg-mode/val deleted file mode 100644 index 6a565ac..0000000 --- a/.emacs.d/snippets/tuareg-mode/val +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: val -# key: val -# -- -val ${1:fun} : $0 \ No newline at end of file diff --git a/.emacs.d/snippets/tuareg-mode/while b/.emacs.d/snippets/tuareg-mode/while deleted file mode 100644 index e4b1f07..0000000 --- a/.emacs.d/snippets/tuareg-mode/while +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: while -# key: wh -# -- -while ${1:cond} do - $0 -done \ No newline at end of file diff --git a/.emacs.d/snippets/typerex-mode/.yas-parents b/.emacs.d/snippets/typerex-mode/.yas-parents deleted file mode 100644 index f26cfc7..0000000 --- a/.emacs.d/snippets/typerex-mode/.yas-parents +++ /dev/null @@ -1 +0,0 @@ -tuareg-mode diff --git a/.emacs.d/snippets/udev-mode/ENV b/.emacs.d/snippets/udev-mode/ENV deleted file mode 100644 index e25b271..0000000 --- a/.emacs.d/snippets/udev-mode/ENV +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: ENV -# key: env -# -- -ENV{$1}$0 \ No newline at end of file diff --git a/.emacs.d/snippets/udev-mode/GOTO b/.emacs.d/snippets/udev-mode/GOTO deleted file mode 100644 index 2200b5d..0000000 --- a/.emacs.d/snippets/udev-mode/GOTO +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: GOTO -# key: goto -# -- -GOTO="$1" -$0 - -LABEL="$1" \ No newline at end of file diff --git a/.emacs.d/snippets/udev-mode/KERNEL b/.emacs.d/snippets/udev-mode/KERNEL deleted file mode 100644 index c27d937..0000000 --- a/.emacs.d/snippets/udev-mode/KERNEL +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: KERNEL -# key: ker -# -- -KERNEL!="$0" \ No newline at end of file diff --git a/.emacs.d/snippets/udev-mode/add b/.emacs.d/snippets/udev-mode/add deleted file mode 100644 index 8cbd63b..0000000 --- a/.emacs.d/snippets/udev-mode/add +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: add -# key: add -# -- -ACTION=="add", $0 \ No newline at end of file diff --git a/.emacs.d/snippets/udev-mode/env$ b/.emacs.d/snippets/udev-mode/env$ deleted file mode 100644 index 7c743b1..0000000 --- a/.emacs.d/snippets/udev-mode/env$ +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: env$ -# key: $ -# -- -$env{$1} $0 \ No newline at end of file diff --git a/.emacs.d/snippets/udev-mode/run b/.emacs.d/snippets/udev-mode/run deleted file mode 100644 index cc0bb7b..0000000 --- a/.emacs.d/snippets/udev-mode/run +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: run -# key: run -# -- -RUN+="$0" \ No newline at end of file diff --git a/.emacs.d/snippets/web-mode/.yas-parents b/.emacs.d/snippets/web-mode/.yas-parents deleted file mode 100644 index 8a11383..0000000 --- a/.emacs.d/snippets/web-mode/.yas-parents +++ /dev/null @@ -1 +0,0 @@ -html-mode diff --git a/.emacs.d/snippets/yaml-mode/entry b/.emacs.d/snippets/yaml-mode/entry deleted file mode 100644 index f9cfbe7..0000000 --- a/.emacs.d/snippets/yaml-mode/entry +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: entry -# key: entry -# -- -${1:entry}: ${2:value} -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/yaml-mode/list b/.emacs.d/snippets/yaml-mode/list deleted file mode 100644 index 89d97eb..0000000 --- a/.emacs.d/snippets/yaml-mode/list +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: list -# key: list -# -- -[$1] -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/yaml-mode/section b/.emacs.d/snippets/yaml-mode/section deleted file mode 100644 index 5e8782d..0000000 --- a/.emacs.d/snippets/yaml-mode/section +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: section -# key: -- -# -- ---- # ${1:section} -$0 \ No newline at end of file diff --git a/.emacs.d/snippets/yasnippet-snippets.el b/.emacs.d/snippets/yasnippet-snippets.el deleted file mode 100644 index a9e24ae..0000000 --- a/.emacs.d/snippets/yasnippet-snippets.el +++ /dev/null @@ -1,57 +0,0 @@ -;;; yasnippet-snippets.el --- Collection of yasnippet snippets - -;; Copyright (C) 2017 Andrea Crotti - -;; Author: Andrea Crotti -;; Keywords: snippets -;; Version: 1.0.3 -;; Package-Requires: ((yasnippet "0.8.0")) -;; Keywords: convenience, snippets - -;;; Commentary: - -;; Official snippet collection for the yasnippet package. - -;;; License: - -;; This program is free software; you can redistribute it and/or modify -;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation, either version 3 of the License, or -;; (at your option) any later version. - -;; This program is distributed in the hope that it will be useful, -;; but WITHOUT ANY WARRANTY; without even the implied warranty of -;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -;; GNU General Public License for more details. - -;; You should have received a copy of the GNU General Public License -;; along with this program. If not, see . - -;;; Code: - -(require 'yasnippet) - -(defconst yasnippet-snippets-dir - (expand-file-name - "snippets" - (file-name-directory - ;; Copied from ‘f-this-file’ from f.el. - (cond - (load-in-progress load-file-name) - ((and (boundp 'byte-compile-current-file) byte-compile-current-file) - byte-compile-current-file) - (:else (buffer-file-name)))))) - -;;;###autoload -(defun yasnippet-snippets-initialize () - (add-to-list 'yas-snippet-dirs 'yasnippet-snippets-dir t) - (yas-load-directory yasnippet-snippets-dir)) - -;;;###autoload -(eval-after-load 'yasnippet - '(yasnippet-snippets-initialize)) - - -(provide 'yasnippet-snippets) - -;;; yasnippet-snippets.el ends here diff --git a/.emacs.d/srecode-map.el b/.emacs.d/srecode-map.el deleted file mode 100644 index 8f55578..0000000 --- a/.emacs.d/srecode-map.el +++ /dev/null @@ -1,6 +0,0 @@ -;; Object srecode-map -;; EIEIO PERSISTENT OBJECT -(srecode-map "srecode-map" - :file "srecode-map.el" - :files '(("/usr/share/emacs/25.3/etc/srecode/wisent.srt" . wisent-grammar-mode) ("/usr/share/emacs/25.3/etc/srecode/texi.srt" . texinfo-mode) ("/usr/share/emacs/25.3/etc/srecode/template.srt" . srecode-template-mode) ("/usr/share/emacs/25.3/etc/srecode/make.srt" . makefile-mode) ("/usr/share/emacs/25.3/etc/srecode/java.srt" . java-mode) ("/usr/share/emacs/25.3/etc/srecode/el.srt" . emacs-lisp-mode) ("/usr/share/emacs/25.3/etc/srecode/default.srt" . default) ("/usr/share/emacs/25.3/etc/srecode/cpp.srt" . c++-mode) ("/usr/share/emacs/25.3/etc/srecode/c.srt" . c-mode)) - :apps '((tests ("/usr/share/emacs/25.3/etc/srecode/test.srt" . srecode-template-mode)) (getset ("/usr/share/emacs/25.3/etc/srecode/getset-cpp.srt" . c++-mode)) (ede ("/usr/share/emacs/25.3/etc/srecode/ede-make.srt" . makefile-mode) ("/usr/share/emacs/25.3/etc/srecode/ede-autoconf.srt" . autoconf-mode)) (document ("/usr/share/emacs/25.3/etc/srecode/doc-java.srt" . java-mode) ("/usr/share/emacs/25.3/etc/srecode/doc-default.srt" . default) ("/usr/share/emacs/25.3/etc/srecode/doc-cpp.srt" . c-mode)))) diff --git a/.scripts/dotfiles.sh b/.scripts/dotfiles.sh index 38aa719..fff2ae6 100755 --- a/.scripts/dotfiles.sh +++ b/.scripts/dotfiles.sh @@ -37,7 +37,7 @@ copy .zshrc # printf "You must also add '~/.local/bin' to your path." printf "\nCopying emacs configs...\n" copy .emacs -copy .emacs.d/ +copy .emacs.d/snippets/ # Latex templates copy Templates/ diff --git a/.zshrc b/.zshrc index c747d39..3bb5745 100644 --- a/.zshrc +++ b/.zshrc @@ -59,5 +59,9 @@ alias emacs="emacs -nw" alias rm="rm -i" alias dir="du -hd 1" alias hiss="history | grep" +alias -s tex=emacs +alias -s cpp=emacs +alias -s py=emacs source $ZSH/oh-my-zsh.sh +export GPG_TTY=$(tty)