add many snippets from default yasnippet distribution
This commit is contained in:
parent
f3922c7b1a
commit
5600362497
4
c++-mode/beginend
Normal file
4
c++-mode/beginend
Normal file
|
@ -0,0 +1,4 @@
|
|||
#name : v.begin(), v.end()
|
||||
# key: beginend
|
||||
# --
|
||||
${1:v}.begin(), $1.end
|
4
c++-mode/ns
Normal file
4
c++-mode/ns
Normal file
|
@ -0,0 +1,4 @@
|
|||
#name : namespace ...
|
||||
# key: ns
|
||||
# --
|
||||
namespace
|
5
c++-mode/using
Normal file
5
c++-mode/using
Normal file
|
@ -0,0 +1,5 @@
|
|||
#name : using namespace ...
|
||||
# key: using
|
||||
# --
|
||||
using namespace ${std};
|
||||
$0
|
4
c-mode/fopen
Normal file
4
c-mode/fopen
Normal file
|
@ -0,0 +1,4 @@
|
|||
#name : FILE *fp = fopen(..., ...);
|
||||
# key: fopen
|
||||
# --
|
||||
FILE *${fp} = fopen(${"file"}, "${r}");
|
7
cc-mode/do
Normal file
7
cc-mode/do
Normal file
|
@ -0,0 +1,7 @@
|
|||
#name : do { ... } while (...)
|
||||
# key: do
|
||||
# --
|
||||
do
|
||||
{
|
||||
$0
|
||||
} while (${1:condition});
|
7
cc-mode/if
Normal file
7
cc-mode/if
Normal file
|
@ -0,0 +1,7 @@
|
|||
#name : if (...) { ... }
|
||||
# key: cc-modeif
|
||||
# --
|
||||
if (${1:condition})
|
||||
{
|
||||
$0
|
||||
}
|
8
cc-mode/main
Normal file
8
cc-mode/main
Normal file
|
@ -0,0 +1,8 @@
|
|||
#name: int main(argc, argv) { ... }
|
||||
# key: main
|
||||
# --
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
$0
|
||||
return 0;
|
||||
}
|
9
cc-mode/once
Normal file
9
cc-mode/once
Normal file
|
@ -0,0 +1,9 @@
|
|||
#name : #ifndef XXX; #define XXX; #endif
|
||||
# key: once
|
||||
# --
|
||||
#ifndef ${1:_`(upcase (file-name-nondirectory (file-name-sans-extension (buffer-file-name))))`_H_}
|
||||
#define $1
|
||||
|
||||
$0
|
||||
|
||||
#endif /* $1 */
|
7
cc-mode/struct
Normal file
7
cc-mode/struct
Normal file
|
@ -0,0 +1,7 @@
|
|||
#name : struct ... { ... }
|
||||
# key: struct
|
||||
# --
|
||||
struct ${1:name}
|
||||
{
|
||||
$0
|
||||
};
|
1
csharp-mode/.yas-parents
Normal file
1
csharp-mode/.yas-parents
Normal file
|
@ -0,0 +1 @@
|
|||
cc-mode
|
8
csharp-mode/attrib
Normal file
8
csharp-mode/attrib
Normal file
|
@ -0,0 +1,8 @@
|
|||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||
#name : private attribute ....;
|
||||
# key: attrib
|
||||
# --
|
||||
/// <summary>
|
||||
/// $3
|
||||
/// </summary>
|
||||
private $1 $2;
|
22
csharp-mode/attrib.1
Normal file
22
csharp-mode/attrib.1
Normal file
|
@ -0,0 +1,22 @@
|
|||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||
#name : private attribute ....; public property ... ... { ... }
|
||||
# key: attrib
|
||||
# --
|
||||
/// <summary>
|
||||
/// $3
|
||||
/// </summary>
|
||||
private $1 $2;
|
||||
|
||||
/// <summary>
|
||||
/// $4
|
||||
/// </summary>
|
||||
/// <value>$5</value>
|
||||
public $1 $2
|
||||
{
|
||||
get {
|
||||
return this.$2;
|
||||
}
|
||||
set {
|
||||
this.$2 = value;
|
||||
}
|
||||
}
|
22
csharp-mode/attrib.2
Normal file
22
csharp-mode/attrib.2
Normal file
|
@ -0,0 +1,22 @@
|
|||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||
#name : private _attribute ....; public Property ... ... { ... }
|
||||
# key: attrib
|
||||
# --
|
||||
/// <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;
|
||||
}
|
||||
}
|
22
csharp-mode/class
Normal file
22
csharp-mode/class
Normal file
|
@ -0,0 +1,22 @@
|
|||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||
#name : class ... { ... }
|
||||
# key: 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
|
||||
}
|
7
csharp-mode/comment
Normal file
7
csharp-mode/comment
Normal file
|
@ -0,0 +1,7 @@
|
|||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||
#name : /// <summary> ... </summary>
|
||||
# key: comment
|
||||
# --
|
||||
/// <summary>
|
||||
/// $1
|
||||
/// </summary>
|
5
csharp-mode/comment.1
Normal file
5
csharp-mode/comment.1
Normal file
|
@ -0,0 +1,5 @@
|
|||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||
#name : /// <param name="..."> ... </param>
|
||||
# key: comment
|
||||
# --
|
||||
/// <param name="$1">$2</param>
|
5
csharp-mode/comment.2
Normal file
5
csharp-mode/comment.2
Normal file
|
@ -0,0 +1,5 @@
|
|||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||
#name : /// <param name="..."> ... </param>
|
||||
# key: comment
|
||||
# --
|
||||
/// <returns>$1</returns>
|
5
csharp-mode/comment.3
Normal file
5
csharp-mode/comment.3
Normal file
|
@ -0,0 +1,5 @@
|
|||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||
#name : /// <exception cref="..."> ... </exception>
|
||||
# key: comment
|
||||
# --
|
||||
/// <exception cref="$1">$2</exception>
|
11
csharp-mode/method
Normal file
11
csharp-mode/method
Normal file
|
@ -0,0 +1,11 @@
|
|||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||
#name : public void Method { ... }
|
||||
# key: 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
|
||||
}
|
8
csharp-mode/namespace
Normal file
8
csharp-mode/namespace
Normal file
|
@ -0,0 +1,8 @@
|
|||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||
#name : namespace .. { ... }
|
||||
# key: namespace
|
||||
# --
|
||||
namespace $1
|
||||
{
|
||||
$0
|
||||
}
|
17
csharp-mode/prop
Normal file
17
csharp-mode/prop
Normal file
|
@ -0,0 +1,17 @@
|
|||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||
#name : property ... ... { ... }
|
||||
# key: prop
|
||||
# --
|
||||
/// <summary>
|
||||
/// $5
|
||||
/// </summary>
|
||||
/// <value>$6</value>
|
||||
$1 $2 $3
|
||||
{
|
||||
get {
|
||||
return this.$4;
|
||||
}
|
||||
set {
|
||||
this.$4 = value;
|
||||
}
|
||||
}
|
7
csharp-mode/region
Normal file
7
csharp-mode/region
Normal file
|
@ -0,0 +1,7 @@
|
|||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||
#name : #region ... #endregion
|
||||
# key: region
|
||||
# --
|
||||
#region $1
|
||||
$0
|
||||
#endregion
|
5
csharp-mode/using
Normal file
5
csharp-mode/using
Normal file
|
@ -0,0 +1,5 @@
|
|||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||
#name : using ...;
|
||||
# key: using
|
||||
# --
|
||||
using $1;
|
5
csharp-mode/using.1
Normal file
5
csharp-mode/using.1
Normal file
|
@ -0,0 +1,5 @@
|
|||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||
#name : using System;
|
||||
# key: using
|
||||
# --
|
||||
using System;
|
5
csharp-mode/using.2
Normal file
5
csharp-mode/using.2
Normal file
|
@ -0,0 +1,5 @@
|
|||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||
#name : using System....;
|
||||
# key: using
|
||||
# --
|
||||
using System.$1;
|
7
emacs-lisp-mode/.read_me
Normal file
7
emacs-lisp-mode/.read_me
Normal file
|
@ -0,0 +1,7 @@
|
|||
-*- 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.
|
1
emacs-lisp-mode/.yas-parents
Normal file
1
emacs-lisp-mode/.yas-parents
Normal file
|
@ -0,0 +1 @@
|
|||
text-mode
|
6
emacs-lisp-mode/add-hook.yasnippet
Executable file
6
emacs-lisp-mode/add-hook.yasnippet
Executable file
|
@ -0,0 +1,6 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: add-hook
|
||||
#key: add-hook
|
||||
#key: ah
|
||||
# --
|
||||
(add-hook HOOK$0 FUNCTION)
|
6
emacs-lisp-mode/and.yasnippet
Executable file
6
emacs-lisp-mode/and.yasnippet
Executable file
|
@ -0,0 +1,6 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: and
|
||||
#key: and
|
||||
#key: a
|
||||
# --
|
||||
(and $0)
|
5
emacs-lisp-mode/append.yasnippet
Executable file
5
emacs-lisp-mode/append.yasnippet
Executable file
|
@ -0,0 +1,5 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: append
|
||||
#key: append
|
||||
# --
|
||||
(append $0 )
|
5
emacs-lisp-mode/apply.yasnippet
Executable file
5
emacs-lisp-mode/apply.yasnippet
Executable file
|
@ -0,0 +1,5 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: apply
|
||||
#key: apply
|
||||
# --
|
||||
(apply $0 )
|
5
emacs-lisp-mode/aref.yasnippet
Executable file
5
emacs-lisp-mode/aref.yasnippet
Executable file
|
@ -0,0 +1,5 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: aref
|
||||
#key: aref
|
||||
# --
|
||||
(aref ARRAY$0 INDEX)
|
5
emacs-lisp-mode/aset.yasnippet
Executable file
5
emacs-lisp-mode/aset.yasnippet
Executable file
|
@ -0,0 +1,5 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: aset
|
||||
#key: aset
|
||||
# --
|
||||
(aset ARRAY$0 IDX NEWELT)
|
5
emacs-lisp-mode/assq.yasnippet
Executable file
5
emacs-lisp-mode/assq.yasnippet
Executable file
|
@ -0,0 +1,5 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: assq
|
||||
#key: assq
|
||||
# --
|
||||
(assq KEY$0 LIST)
|
5
emacs-lisp-mode/autoload.yasnippet
Executable file
5
emacs-lisp-mode/autoload.yasnippet
Executable file
|
@ -0,0 +1,5 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: autoload
|
||||
#key: autoload
|
||||
# --
|
||||
(autoload 'FUNCNAME$0 "FILENAME" &optional "DOCSTRING" INTERACTIVE TYPE)
|
6
emacs-lisp-mode/backward-char.yasnippet
Executable file
6
emacs-lisp-mode/backward-char.yasnippet
Executable file
|
@ -0,0 +1,6 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: backward-char
|
||||
#key: backward-char
|
||||
#key: bc
|
||||
# --
|
||||
(backward-char $0)
|
6
emacs-lisp-mode/beginning-of-line.yasnippet
Executable file
6
emacs-lisp-mode/beginning-of-line.yasnippet
Executable file
|
@ -0,0 +1,6 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: beginning-of-line
|
||||
#key: beginning-of-line
|
||||
#key: bol
|
||||
# --
|
||||
(beginning-of-line)
|
6
emacs-lisp-mode/bounds-of-thing-at-point.yasnippet
Executable file
6
emacs-lisp-mode/bounds-of-thing-at-point.yasnippet
Executable file
|
@ -0,0 +1,6 @@
|
|||
#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) ; symbol, list, sexp, defun, filename, url, email, word, sentence, whitespace, line, page ...
|
6
emacs-lisp-mode/buffer-file-name.yasnippet
Executable file
6
emacs-lisp-mode/buffer-file-name.yasnippet
Executable file
|
@ -0,0 +1,6 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: buffer-file-name
|
||||
#key: buffer-file-name
|
||||
#key: bfn
|
||||
# --
|
||||
(buffer-file-name)
|
6
emacs-lisp-mode/buffer-modified-p.yasnippet
Executable file
6
emacs-lisp-mode/buffer-modified-p.yasnippet
Executable file
|
@ -0,0 +1,6 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: buffer-modified-p
|
||||
#key: buffer-modified-p
|
||||
#key: bmp
|
||||
# --
|
||||
(buffer-modified-p $0)
|
6
emacs-lisp-mode/buffer-substring-no-properties.yasnippet
Executable file
6
emacs-lisp-mode/buffer-substring-no-properties.yasnippet
Executable file
|
@ -0,0 +1,6 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: buffer-substring-no-properties
|
||||
#key: buffer-substring-no-properties
|
||||
#key: bsnp
|
||||
# --
|
||||
(buffer-substring-no-properties START$0 END)
|
6
emacs-lisp-mode/buffer-substring.yasnippet
Executable file
6
emacs-lisp-mode/buffer-substring.yasnippet
Executable file
|
@ -0,0 +1,6 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: buffer-substring
|
||||
#key: buffer-substring
|
||||
#key: bs
|
||||
# --
|
||||
(buffer-substring START$0 END)
|
5
emacs-lisp-mode/car.yasnippet
Executable file
5
emacs-lisp-mode/car.yasnippet
Executable file
|
@ -0,0 +1,5 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: car
|
||||
#key: car
|
||||
# --
|
||||
(car $0)
|
5
emacs-lisp-mode/cdr.yasnippet
Executable file
5
emacs-lisp-mode/cdr.yasnippet
Executable file
|
@ -0,0 +1,5 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: cdr
|
||||
#key: cdr
|
||||
# --
|
||||
(cdr $0)
|
5
emacs-lisp-mode/concat.yasnippet
Executable file
5
emacs-lisp-mode/concat.yasnippet
Executable file
|
@ -0,0 +1,5 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: concat
|
||||
#key: concat
|
||||
# --
|
||||
(concat $0)
|
8
emacs-lisp-mode/cond.yasnippet
Executable file
8
emacs-lisp-mode/cond.yasnippet
Executable file
|
@ -0,0 +1,8 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: cond
|
||||
#key: cond
|
||||
# --
|
||||
(cond
|
||||
(CONDITION$0 BODY)
|
||||
(CONDITION BODY)
|
||||
)
|
6
emacs-lisp-mode/condition-case.yasnippet
Executable file
6
emacs-lisp-mode/condition-case.yasnippet
Executable file
|
@ -0,0 +1,6 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: condition-case
|
||||
#key: condition-case
|
||||
#key: cc
|
||||
# --
|
||||
(condition-case $0 )
|
5
emacs-lisp-mode/cons.yasnippet
Executable file
5
emacs-lisp-mode/cons.yasnippet
Executable file
|
@ -0,0 +1,5 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: cons
|
||||
#key: cons
|
||||
# --
|
||||
(cons $0)
|
5
emacs-lisp-mode/consp.yasnippet
Executable file
5
emacs-lisp-mode/consp.yasnippet
Executable file
|
@ -0,0 +1,5 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: consp
|
||||
#key: consp
|
||||
# --
|
||||
(consp $0 )
|
6
emacs-lisp-mode/copy-directory.yasnippet
Executable file
6
emacs-lisp-mode/copy-directory.yasnippet
Executable file
|
@ -0,0 +1,6 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: copy-directory
|
||||
#key: copy-directory
|
||||
#key: cd
|
||||
# --
|
||||
(copy-directory $0 NEWNAME &optional KEEP-TIME PARENTS)
|
6
emacs-lisp-mode/copy-file.yasnippet
Executable file
6
emacs-lisp-mode/copy-file.yasnippet
Executable file
|
@ -0,0 +1,6 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: copy-file
|
||||
#key: copy-file
|
||||
#key: cf
|
||||
# --
|
||||
(copy-file FILE$0 NEWNAME &optional OK-IF-ALREADY-EXISTS KEEP-TIME PRESERVE-UID-GID)
|
6
emacs-lisp-mode/current-buffer.yasnippet
Executable file
6
emacs-lisp-mode/current-buffer.yasnippet
Executable file
|
@ -0,0 +1,6 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: current-buffer
|
||||
#key: current-buffer
|
||||
#key: cb
|
||||
# --
|
||||
(current-buffer)
|
6
emacs-lisp-mode/custom-autoload.yasnippet
Executable file
6
emacs-lisp-mode/custom-autoload.yasnippet
Executable file
|
@ -0,0 +1,6 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: custom-autoload
|
||||
#key: custom-autoload
|
||||
#key: ca
|
||||
# --
|
||||
(custom-autoload$0 SYMBOL LOAD &optional NOSET)
|
5
emacs-lisp-mode/defalias.yasnippet
Executable file
5
emacs-lisp-mode/defalias.yasnippet
Executable file
|
@ -0,0 +1,5 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: defalias
|
||||
#key: defalias
|
||||
# --
|
||||
(defalias 'SYMBOL$0 'DEFINITION &optional DOCSTRING)
|
5
emacs-lisp-mode/defcustom.yasnippet
Executable file
5
emacs-lisp-mode/defcustom.yasnippet
Executable file
|
@ -0,0 +1,5 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: defcustom
|
||||
#key: defcustom
|
||||
# --
|
||||
(defcustom $0 VALUE "DOC" &optional ARGS)
|
6
emacs-lisp-mode/define-key.yasnippet
Executable file
6
emacs-lisp-mode/define-key.yasnippet
Executable file
|
@ -0,0 +1,6 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: define-key
|
||||
#key: define-key
|
||||
#key: dk
|
||||
# --
|
||||
(define-key KEYMAPNAME$0 (kbd "M-b") 'FUNCNAME)
|
5
emacs-lisp-mode/defsubst.yasnippet
Executable file
5
emacs-lisp-mode/defsubst.yasnippet
Executable file
|
@ -0,0 +1,5 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: defsubst
|
||||
#key: defsubst
|
||||
# --
|
||||
(defsubst $0 )
|
12
emacs-lisp-mode/defun.yasnippet
Executable file
12
emacs-lisp-mode/defun.yasnippet
Executable file
|
@ -0,0 +1,12 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: defun
|
||||
#key: defun
|
||||
#key: d
|
||||
# --
|
||||
(defun $1 ()
|
||||
"DOCSTRING"
|
||||
(interactive)
|
||||
(let (var1)
|
||||
(setq var1 some)
|
||||
$0
|
||||
))
|
5
emacs-lisp-mode/defvar.yasnippet
Executable file
5
emacs-lisp-mode/defvar.yasnippet
Executable file
|
@ -0,0 +1,5 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: defvar
|
||||
#key: defvar
|
||||
# --
|
||||
(defvar $0 &optional INITVALUE "DOCSTRING")
|
6
emacs-lisp-mode/delete-char.yasnippet
Executable file
6
emacs-lisp-mode/delete-char.yasnippet
Executable file
|
@ -0,0 +1,6 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: delete-char
|
||||
#key: delete-char
|
||||
#key: dc
|
||||
# --
|
||||
(delete-char $0)
|
6
emacs-lisp-mode/delete-directory.yasnippet
Executable file
6
emacs-lisp-mode/delete-directory.yasnippet
Executable file
|
@ -0,0 +1,6 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: delete-directory
|
||||
#key: delete-directory
|
||||
#key: dd
|
||||
# --
|
||||
(delete-directory $0 &optional RECURSIVE)
|
6
emacs-lisp-mode/delete-file.yasnippet
Executable file
6
emacs-lisp-mode/delete-file.yasnippet
Executable file
|
@ -0,0 +1,6 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: delete-file
|
||||
#key: delete-file
|
||||
#key: df
|
||||
# --
|
||||
(delete-file $0)
|
6
emacs-lisp-mode/delete-region.yasnippet
Executable file
6
emacs-lisp-mode/delete-region.yasnippet
Executable file
|
@ -0,0 +1,6 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: delete-region
|
||||
#key: delete-region
|
||||
#key: dr
|
||||
# --
|
||||
(delete-region $0 )
|
6
emacs-lisp-mode/directory-files.yasnippet
Executable file
6
emacs-lisp-mode/directory-files.yasnippet
Executable file
|
@ -0,0 +1,6 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: directory-files
|
||||
#key: directory-files
|
||||
#key: df
|
||||
# --
|
||||
(directory-files $0 &optional FULL MATCH NOSORT)
|
5
emacs-lisp-mode/dolist.yasnippet
Executable file
5
emacs-lisp-mode/dolist.yasnippet
Executable file
|
@ -0,0 +1,5 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: dolist
|
||||
#key: dolist
|
||||
# --
|
||||
(dolist $0 )
|
6
emacs-lisp-mode/end-of-line.yasnippet
Executable file
6
emacs-lisp-mode/end-of-line.yasnippet
Executable file
|
@ -0,0 +1,6 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: end-of-line
|
||||
#key: end-of-line
|
||||
#key: eol
|
||||
# --
|
||||
(end-of-line)
|
5
emacs-lisp-mode/eq.yasnippet
Executable file
5
emacs-lisp-mode/eq.yasnippet
Executable file
|
@ -0,0 +1,5 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: eq
|
||||
#key: eq
|
||||
# --
|
||||
(eq $0)
|
5
emacs-lisp-mode/equal.yasnippet
Executable file
5
emacs-lisp-mode/equal.yasnippet
Executable file
|
@ -0,0 +1,5 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: equal
|
||||
#key: equal
|
||||
# --
|
||||
(equal $0)
|
5
emacs-lisp-mode/error.yasnippet
Executable file
5
emacs-lisp-mode/error.yasnippet
Executable file
|
@ -0,0 +1,5 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: error
|
||||
#key: error
|
||||
# --
|
||||
(error "$0" &optional ARGS)
|
6
emacs-lisp-mode/expand-file-name.yasnippet
Executable file
6
emacs-lisp-mode/expand-file-name.yasnippet
Executable file
|
@ -0,0 +1,6 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: expand-file-name
|
||||
#key: expand-file-name
|
||||
#key: efn
|
||||
# --
|
||||
(expand-file-name $0 )
|
5
emacs-lisp-mode/f.yasnippet
Executable file
5
emacs-lisp-mode/f.yasnippet
Executable file
|
@ -0,0 +1,5 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: format
|
||||
#key: format
|
||||
# --
|
||||
(format "$0" &optional OBJECTS)
|
5
emacs-lisp-mode/fboundp.yasnippet
Executable file
5
emacs-lisp-mode/fboundp.yasnippet
Executable file
|
@ -0,0 +1,5 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: fboundp
|
||||
#key: fboundp
|
||||
# --
|
||||
(fboundp '$0 )
|
6
emacs-lisp-mode/file-name-directory.yasnippet
Executable file
6
emacs-lisp-mode/file-name-directory.yasnippet
Executable file
|
@ -0,0 +1,6 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: file-name-directory
|
||||
#key: file-name-directory
|
||||
#key: fnd
|
||||
# --
|
||||
(file-name-directory $0)
|
6
emacs-lisp-mode/file-name-extension.yasnippet
Executable file
6
emacs-lisp-mode/file-name-extension.yasnippet
Executable file
|
@ -0,0 +1,6 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: file-name-extension
|
||||
#key: file-name-extension
|
||||
#key: fne
|
||||
# --
|
||||
(file-name-extension $0 &optional PERIOD)
|
6
emacs-lisp-mode/file-name-nondirectory.yasnippet
Executable file
6
emacs-lisp-mode/file-name-nondirectory.yasnippet
Executable file
|
@ -0,0 +1,6 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: file-name-nondirectory
|
||||
#key: file-name-nondirectory
|
||||
#key: fnn
|
||||
# --
|
||||
(file-name-nondirectory $0 )
|
6
emacs-lisp-mode/file-name-sans-extension.yasnippet
Executable file
6
emacs-lisp-mode/file-name-sans-extension.yasnippet
Executable file
|
@ -0,0 +1,6 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: file-name-sans-extension
|
||||
#key: file-name-sans-extension
|
||||
#key: fnse
|
||||
# --
|
||||
(file-name-sans-extension $0)
|
6
emacs-lisp-mode/file-relative-name.yasnippet
Executable file
6
emacs-lisp-mode/file-relative-name.yasnippet
Executable file
|
@ -0,0 +1,6 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: file-relative-name
|
||||
#key: file-relative-name
|
||||
#key: frn
|
||||
# --
|
||||
(file-relative-name $0 )
|
6
emacs-lisp-mode/find-file.yasnippet
Executable file
6
emacs-lisp-mode/find-file.yasnippet
Executable file
|
@ -0,0 +1,6 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: find-file
|
||||
#key: find-file
|
||||
#key: ff
|
||||
# --
|
||||
(find-file $0 )
|
5
emacs-lisp-mode/format.yasnippet
Executable file
5
emacs-lisp-mode/format.yasnippet
Executable file
|
@ -0,0 +1,5 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: format
|
||||
#key: format
|
||||
# --
|
||||
(format "$0" &optional OBJECTS)
|
6
emacs-lisp-mode/forward-char.yasnippet
Executable file
6
emacs-lisp-mode/forward-char.yasnippet
Executable file
|
@ -0,0 +1,6 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: forward-char
|
||||
#key: forward-char
|
||||
#key: fc
|
||||
# --
|
||||
(forward-char $0)
|
6
emacs-lisp-mode/forward-line.yasnippet
Executable file
6
emacs-lisp-mode/forward-line.yasnippet
Executable file
|
@ -0,0 +1,6 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: forward-line
|
||||
#key: forward-line
|
||||
#key: fl
|
||||
# --
|
||||
(forward-line $0 )
|
5
emacs-lisp-mode/funcall.yasnippet
Executable file
5
emacs-lisp-mode/funcall.yasnippet
Executable file
|
@ -0,0 +1,5 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: funcall
|
||||
#key: funcall
|
||||
# --
|
||||
(funcall $0)
|
5
emacs-lisp-mode/function.yasnippet
Executable file
5
emacs-lisp-mode/function.yasnippet
Executable file
|
@ -0,0 +1,5 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: function
|
||||
#key: function
|
||||
# --
|
||||
(function $0 )
|
5
emacs-lisp-mode/get.yasnippet
Executable file
5
emacs-lisp-mode/get.yasnippet
Executable file
|
@ -0,0 +1,5 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: get
|
||||
#key: get
|
||||
# --
|
||||
(get SYMBOL$0 PROPNAME)
|
6
emacs-lisp-mode/global-set-key.yasnippet
Executable file
6
emacs-lisp-mode/global-set-key.yasnippet
Executable file
|
@ -0,0 +1,6 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: global-set-key
|
||||
#key: global-set-key
|
||||
#key: gsk
|
||||
# --
|
||||
(global-set-key (kbd "C-$0") 'COMMAND)
|
6
emacs-lisp-mode/goto-char.yasnippet
Executable file
6
emacs-lisp-mode/goto-char.yasnippet
Executable file
|
@ -0,0 +1,6 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: goto-char
|
||||
#key: goto-char
|
||||
#key: gc
|
||||
# --
|
||||
(goto-char $0)
|
5
emacs-lisp-mode/if.yasnippet
Executable file
5
emacs-lisp-mode/if.yasnippet
Executable file
|
@ -0,0 +1,5 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: if
|
||||
#key: if
|
||||
# --
|
||||
(if $0)
|
6
emacs-lisp-mode/insert-file-contents.yasnippet
Executable file
6
emacs-lisp-mode/insert-file-contents.yasnippet
Executable file
|
@ -0,0 +1,6 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: insert-file-contents
|
||||
#key: insert-file-contents
|
||||
#key: ifc
|
||||
# --
|
||||
(insert-file-contents $0 &optional VISIT BEG END REPLACE)
|
6
emacs-lisp-mode/insert.yasnippet
Executable file
6
emacs-lisp-mode/insert.yasnippet
Executable file
|
@ -0,0 +1,6 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: insert
|
||||
#key: insert
|
||||
#key: i
|
||||
# --
|
||||
(insert $0)
|
5
emacs-lisp-mode/interactive.yasnippet
Executable file
5
emacs-lisp-mode/interactive.yasnippet
Executable file
|
@ -0,0 +1,5 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: interactive
|
||||
#key: interactive
|
||||
# --
|
||||
(interactive)
|
5
emacs-lisp-mode/kbd.yasnippet
Executable file
5
emacs-lisp-mode/kbd.yasnippet
Executable file
|
@ -0,0 +1,5 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: kbd
|
||||
#key: kbd
|
||||
# --
|
||||
(kbd "$0")
|
6
emacs-lisp-mode/kill-buffer.yasnippet
Executable file
6
emacs-lisp-mode/kill-buffer.yasnippet
Executable file
|
@ -0,0 +1,6 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: kill-buffer
|
||||
#key: kill-buffer
|
||||
#key: kb
|
||||
# --
|
||||
(kill-buffer $0)
|
5
emacs-lisp-mode/lambda.yasnippet
Executable file
5
emacs-lisp-mode/lambda.yasnippet
Executable file
|
@ -0,0 +1,5 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: lambda
|
||||
#key: lambda
|
||||
# --
|
||||
(lambda ($0) "DOCSTRING" (interactive) BODY)
|
5
emacs-lisp-mode/length.yasnippet
Executable file
5
emacs-lisp-mode/length.yasnippet
Executable file
|
@ -0,0 +1,5 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: length
|
||||
#key: length
|
||||
# --
|
||||
(length $0)
|
8
emacs-lisp-mode/let.yasnippet
Executable file
8
emacs-lisp-mode/let.yasnippet
Executable file
|
@ -0,0 +1,8 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: let
|
||||
#key: let
|
||||
#key: l
|
||||
# --
|
||||
(let ($1 )
|
||||
$0
|
||||
)
|
6
emacs-lisp-mode/line-beginning-position.yasnippet
Executable file
6
emacs-lisp-mode/line-beginning-position.yasnippet
Executable file
|
@ -0,0 +1,6 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: line-beginning-position
|
||||
#key: line-beginning-position
|
||||
#key: lbp
|
||||
# --
|
||||
(line-beginning-position)
|
6
emacs-lisp-mode/line-end-position.yasnippet
Executable file
6
emacs-lisp-mode/line-end-position.yasnippet
Executable file
|
@ -0,0 +1,6 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: line-end-position
|
||||
#key: line-end-position
|
||||
#key: lep
|
||||
# --
|
||||
(line-end-position)
|
5
emacs-lisp-mode/list.yasnippet
Executable file
5
emacs-lisp-mode/list.yasnippet
Executable file
|
@ -0,0 +1,5 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: list
|
||||
#key: list
|
||||
# --
|
||||
(list $0)
|
6
emacs-lisp-mode/looking-at.yasnippet
Executable file
6
emacs-lisp-mode/looking-at.yasnippet
Executable file
|
@ -0,0 +1,6 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: looking-at
|
||||
#key: looking-at
|
||||
#key: la
|
||||
# --
|
||||
(looking-at $0)
|
6
emacs-lisp-mode/make-directory.yasnippet
Executable file
6
emacs-lisp-mode/make-directory.yasnippet
Executable file
|
@ -0,0 +1,6 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: make-directory
|
||||
#key: make-directory
|
||||
#key: md
|
||||
# --
|
||||
(make-directory $0 &optional PARENTS)
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue