Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added snippets from yasnippet (sans the built-in ruby ones)
- Loading branch information
Showing
644 changed files
with
3,831 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#name : v.begin(), v.end() | ||
# -- | ||
${1:v}.begin(), $1.end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#name : class ... { ... } | ||
# -- | ||
class ${1:Name} | ||
{ | ||
public: | ||
${1:$(yas/substr text "[^: ]*")}($2); | ||
virtual ~${1:$(yas/substr text "[^: ]*")}(); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#name : namespace ... | ||
# -- | ||
namespace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#name : template <typename ...> | ||
# -- | ||
template <typename ${T}> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#name : using namespace ... | ||
# -- | ||
using namespace ${std}; | ||
$0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#name : FILE *fp = fopen(..., ...); | ||
# -- | ||
FILE *${fp} = fopen(${"file"}, "${r}"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# -*- mode: snippet -*- | ||
# name : printf | ||
# contributor : joaotavora | ||
# -- | ||
printf ("${1:%s}\\n"${1:$(if (string-match "%" text) "," "\);") | ||
}$2${1:$(if (string-match "%" text) "\);" "")} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx> | ||
#name : private attribute ....; | ||
# -- | ||
/// <summary> | ||
/// $3 | ||
/// </summary> | ||
private $1 $2; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx> | ||
#name : private attribute ....; public property ... ... { ... } | ||
# -- | ||
/// <summary> | ||
/// $3 | ||
/// </summary> | ||
private $1 $2; | ||
|
||
/// <summary> | ||
/// $4 | ||
/// </summary> | ||
/// <value>$5</value> | ||
public $1 $2 | ||
{ | ||
get { | ||
return this.$2; | ||
} | ||
set { | ||
this.$2 = value; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx> | ||
#name : private _attribute ....; public Property ... ... { ... } | ||
# -- | ||
/// <summary> | ||
/// $3 | ||
/// </summary> | ||
private $1 ${2:$(if (> (length text) 0) (format "_%s%s" (downcase (substring text 0 1)) (substring text 1 (length text))) "")}; | ||
|
||
/// <summary> | ||
/// ${3:Description} | ||
/// </summary> | ||
/// <value><c>$1</c></value> | ||
public ${1:Type} ${2:Name} | ||
{ | ||
get { | ||
return this.${2:$(if (> (length text) 0) (format "_%s%s" (downcase (substring text 0 1)) (substring text 1 (length text))) "")}; | ||
} | ||
set { | ||
this.${2:$(if (> (length text) 0) (format "_%s%s" (downcase (substring text 0 1)) (substring text 1 (length text))) "")} = value; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx> | ||
#name : class ... { ... } | ||
# -- | ||
${5:public} class ${1:Name} | ||
{ | ||
#region Ctor & Destructor | ||
/// <summary> | ||
/// ${3:Standard Constructor} | ||
/// </summary> | ||
public $1($2) | ||
{ | ||
} | ||
|
||
/// <summary> | ||
/// ${4:Default Destructor} | ||
/// </summary> | ||
public ~$1() | ||
{ | ||
} | ||
#endregion | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx> | ||
#name : /// <summary> ... </summary> | ||
# -- | ||
/// <summary> | ||
/// $1 | ||
/// </summary> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx> | ||
#name : /// <param name="..."> ... </param> | ||
# -- | ||
/// <param name="$1">$2</param> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx> | ||
#name : /// <param name="..."> ... </param> | ||
# -- | ||
/// <returns>$1</returns> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx> | ||
#name : /// <exception cref="..."> ... </exception> | ||
# -- | ||
/// <exception cref="$1">$2</exception> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx> | ||
#name : public void Method { ... } | ||
# -- | ||
/// <summary> | ||
/// ${5:Description} | ||
/// </summary>${2:$(if (string= (upcase text) "VOID") "" (format "%s%s%s" "\n/// <returns><c>" text "</c></returns>"))} | ||
${1:public} ${2:void} ${3:MethodName}($4) | ||
{ | ||
$0 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx> | ||
#name : namespace .. { ... } | ||
# -- | ||
namespace $1 | ||
{ | ||
$0 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx> | ||
#name : property ... ... { ... } | ||
# -- | ||
/// <summary> | ||
/// $5 | ||
/// </summary> | ||
/// <value>$6</value> | ||
$1 $2 $3 | ||
{ | ||
get { | ||
return this.$4; | ||
} | ||
set { | ||
this.$4 = value; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx> | ||
#name : #region ... #endregion | ||
# -- | ||
#region $1 | ||
$0 | ||
#endregion |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx> | ||
#name : using ...; | ||
# -- | ||
using $1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx> | ||
#name : using System; | ||
# -- | ||
using System; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx> | ||
#name : using System....; | ||
# -- | ||
using System.$1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#name : do { ... } while (...) | ||
# -- | ||
do | ||
{ | ||
$0 | ||
} while (${1:condition}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#name : for (...; ...; ...) { ... } | ||
# -- | ||
for (${1:int i = 0}; ${2:i < N}; ${3:++i}) | ||
{ | ||
$0 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#name : if (...) { ... } | ||
# -- | ||
if (${1:condition}) | ||
{ | ||
$0 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#name : #include "..." | ||
# -- | ||
#include "$1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#name : #include <...> | ||
# -- | ||
#include <$1> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#name: int main(argc, argv) { ... } | ||
# -- | ||
int main(int argc, char *argv[]) | ||
{ | ||
$0 | ||
return 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#name : foo { ... } ; setFoo { ... } | ||
# -- | ||
- (${1:id})${2:foo} | ||
{ | ||
return $2; | ||
} | ||
|
||
- (void)set${2:$(capitalize text)}:($1)aValue | ||
{ | ||
[$2 autorelease]; | ||
$2 = [aValue retain]; | ||
} | ||
$0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#name : #ifndef XXX; #define XXX; #endif | ||
# -- | ||
#ifndef ${1:_`(upcase (file-name-nondirectory (file-name-sans-extension (buffer-file-name))))`_H_} | ||
#define $1 | ||
|
||
$0 | ||
|
||
#endif /* $1 */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#name : struct ... { ... } | ||
# -- | ||
struct ${1:name} | ||
{ | ||
$0 | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#name : background-color: ... | ||
# -- | ||
background-color: #${1:DDD}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#name : background-image: ... | ||
# -- | ||
background-image: url($1); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#name : border size style color | ||
# -- | ||
border: ${1:1px} ${2:solid} #${3:999}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#contributor : rejeep <johan.rejeep@gmail.com> | ||
#name : clear: ... | ||
# -- | ||
clear: $1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#contributor : rejeep <johan.rejeep@gmail.com> | ||
#name : display: block | ||
# -- | ||
display: block; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#contributor : rejeep <johan.rejeep@gmail.com> | ||
#name : display: inline | ||
# -- | ||
display: inline; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#contributor : rejeep <johan.rejeep@gmail.com> | ||
#name : display: none | ||
# -- | ||
display: none; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#contributor : rejeep <johan.rejeep@gmail.com> | ||
#name : font-family: ... | ||
# -- | ||
font-family: $1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#contributor : rejeep <johan.rejeep@gmail.com> | ||
#name : font-size: ... | ||
# -- | ||
font-size: ${12px}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#contributor : rejeep <johan.rejeep@gmail.com> | ||
#name : margin-bottom: ... | ||
# -- | ||
margin-bottom: $1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#contributor : rejeep <johan.rejeep@gmail.com> | ||
#name : margin-left: ... | ||
# -- | ||
margin-left: $1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#contributor : rejeep <johan.rejeep@gmail.com> | ||
#name : margin: ... | ||
# -- | ||
margin: $1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#contributor : rejeep <johan.rejeep@gmail.com> | ||
#name : margin top right bottom left | ||
# -- | ||
margin: ${top} ${right} ${bottom} ${left}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#contributor : rejeep <johan.rejeep@gmail.com> | ||
#name : margin-right: ... | ||
# -- | ||
margin-right: $1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#contributor : rejeep <johan.rejeep@gmail.com> | ||
#name : margin-top: ... | ||
# -- | ||
margin-top: $1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#contributor : rejeep <johan.rejeep@gmail.com> | ||
#name : padding-bottom: ... | ||
# -- | ||
padding-bottom: $1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#contributor : rejeep <johan.rejeep@gmail.com> | ||
#name : padding-left: ... | ||
# -- | ||
padding-left: $1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#contributor : rejeep <johan.rejeep@gmail.com> | ||
#name : padding: ... | ||
# -- | ||
padding: $1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#contributor : rejeep <johan.rejeep@gmail.com> | ||
#name : padding: top right bottom left | ||
# -- | ||
padding: ${top} ${right} ${bottom} ${left}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#contributor : rejeep <johan.rejeep@gmail.com> | ||
#name : padding-right: ... | ||
# -- | ||
padding-right: $1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#contributor : rejeep <johan.rejeep@gmail.com> | ||
#name : padding-top: ... | ||
# -- | ||
padding-top: $1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
TITLE: Emacs Idiom Template Set. Version 1. 2009-02-22 | ||
|
||
DESCRIPTION: Some useful templates for emacs lisp. This template set is based on useful elisp idioms on common tasks. | ||
|
||
LICENSING: GPL version 3. | ||
|
||
AUTHOR: Xah Lee | ||
|
||
Home Page: latest version at: | ||
• Emacs Lisp Idiom Templates | ||
http://xahlee.org/emacs/elisp_idiom_templates.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#name : function template | ||
#contributor : Xah Lee | ||
# -- | ||
(defun $1 () | ||
"thisandthat." | ||
(interactive) | ||
(let (var1) | ||
(setq var1 some) | ||
$0 | ||
) | ||
) |
Oops, something went wrong.