mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-14 05:23:04 +00:00
added 20 or so snippets for emacs lisp mode.
This commit is contained in:
parent
e9f1158ad4
commit
fd4065a70f
4
snippets/emacs-lisp-mode/buffer-file-name.yasnippet
Executable file
4
snippets/emacs-lisp-mode/buffer-file-name.yasnippet
Executable file
@ -0,0 +1,4 @@
|
||||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: buffer-file-name
|
||||
# --
|
||||
(buffer-file-name)
|
4
snippets/emacs-lisp-mode/buffer-substring.yasnippet
Executable file
4
snippets/emacs-lisp-mode/buffer-substring.yasnippet
Executable file
@ -0,0 +1,4 @@
|
||||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: buffer-substring
|
||||
# --
|
||||
(buffer-substring START$0 END)
|
@ -1,4 +1,4 @@
|
||||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: defalias
|
||||
# --
|
||||
(defalias $0 )
|
||||
(defalias 'SYMBOL$0 'DEFINITION &optional DOCSTRING)
|
@ -1,4 +1,4 @@
|
||||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: fboundp
|
||||
# --
|
||||
(fboundp $0 )
|
||||
(fboundp '$0 )
|
4
snippets/emacs-lisp-mode/file-relative-name.yasnippet
Executable file
4
snippets/emacs-lisp-mode/file-relative-name.yasnippet
Executable file
@ -0,0 +1,4 @@
|
||||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: file-relative-name
|
||||
# --
|
||||
(file-relative-name $0 )
|
4
snippets/emacs-lisp-mode/find-file.yasnippet
Executable file
4
snippets/emacs-lisp-mode/find-file.yasnippet
Executable file
@ -0,0 +1,4 @@
|
||||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: find-file
|
||||
# --
|
||||
(find-file $0 )
|
4
snippets/emacs-lisp-mode/global-set-key.yasnippet
Executable file
4
snippets/emacs-lisp-mode/global-set-key.yasnippet
Executable file
@ -0,0 +1,4 @@
|
||||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: global-set-key
|
||||
# --
|
||||
(global-set-key (kbd "C-$0") 'COMMAND)
|
4
snippets/emacs-lisp-mode/kbd.yasnippet
Executable file
4
snippets/emacs-lisp-mode/kbd.yasnippet
Executable file
@ -0,0 +1,4 @@
|
||||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: kbd
|
||||
# --
|
||||
(kbd "$0")
|
4
snippets/emacs-lisp-mode/line-beginning-position.yasnippet
Executable file
4
snippets/emacs-lisp-mode/line-beginning-position.yasnippet
Executable file
@ -0,0 +1,4 @@
|
||||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: line-beginning-position
|
||||
# --
|
||||
(line-beginning-position)
|
4
snippets/emacs-lisp-mode/line-end-position.yasnippet
Executable file
4
snippets/emacs-lisp-mode/line-end-position.yasnippet
Executable file
@ -0,0 +1,4 @@
|
||||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: line-end-position
|
||||
# --
|
||||
(line-end-position)
|
4
snippets/emacs-lisp-mode/princ.yasnippet
Executable file
4
snippets/emacs-lisp-mode/princ.yasnippet
Executable file
@ -0,0 +1,4 @@
|
||||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: princ
|
||||
# --
|
||||
(princ $0)
|
4
snippets/emacs-lisp-mode/print.yasnippet
Executable file
4
snippets/emacs-lisp-mode/print.yasnippet
Executable file
@ -0,0 +1,4 @@
|
||||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: print
|
||||
# --
|
||||
(print $0)
|
4
snippets/emacs-lisp-mode/re-search-backward.yasnippet
Executable file
4
snippets/emacs-lisp-mode/re-search-backward.yasnippet
Executable file
@ -0,0 +1,4 @@
|
||||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: re-search-backward
|
||||
# --
|
||||
(re-search-backward REGEXP$0 &optional BOUND NOERROR COUNT)
|
4
snippets/emacs-lisp-mode/region-beginning.yasnippet
Executable file
4
snippets/emacs-lisp-mode/region-beginning.yasnippet
Executable file
@ -0,0 +1,4 @@
|
||||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: region-beginning
|
||||
# --
|
||||
(region-beginning)
|
4
snippets/emacs-lisp-mode/region-end.yasnippet
Executable file
4
snippets/emacs-lisp-mode/region-end.yasnippet
Executable file
@ -0,0 +1,4 @@
|
||||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: region-end
|
||||
# --
|
||||
(region-end)
|
4
snippets/emacs-lisp-mode/replace-regexp-in-string.yasnippet
Executable file
4
snippets/emacs-lisp-mode/replace-regexp-in-string.yasnippet
Executable file
@ -0,0 +1,4 @@
|
||||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: replace-regexp-in-string
|
||||
# --
|
||||
(replace-regexp-in-string REGEXP$0 REP STRING &optional FIXEDCASE LITERAL SUBEXP START)
|
4
snippets/emacs-lisp-mode/replace-regexp.yasnippet
Executable file
4
snippets/emacs-lisp-mode/replace-regexp.yasnippet
Executable file
@ -0,0 +1,4 @@
|
||||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: replace-regexp
|
||||
# --
|
||||
(replace-regexp REGEXP$0 TO-STRING &optional DELIMITED START END)
|
4
snippets/emacs-lisp-mode/search-backward.yasnippet
Executable file
4
snippets/emacs-lisp-mode/search-backward.yasnippet
Executable file
@ -0,0 +1,4 @@
|
||||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: search-backward
|
||||
# --
|
||||
(search-backward "$0" &optional BOUND NOERROR COUNT)
|
4
snippets/emacs-lisp-mode/search-forward.yasnippet
Executable file
4
snippets/emacs-lisp-mode/search-forward.yasnippet
Executable file
@ -0,0 +1,4 @@
|
||||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: search-forward
|
||||
# --
|
||||
(search-forward "$0" &optional BOUND NOERROR COUNT)
|
4
snippets/emacs-lisp-mode/skip-chars-backward.yasnippet
Executable file
4
snippets/emacs-lisp-mode/skip-chars-backward.yasnippet
Executable file
@ -0,0 +1,4 @@
|
||||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: skip-chars-backward
|
||||
# --
|
||||
(skip-chars-backward "$0" &optional LIM)
|
4
snippets/emacs-lisp-mode/skip-chars-forward.yasnippet
Executable file
4
snippets/emacs-lisp-mode/skip-chars-forward.yasnippet
Executable file
@ -0,0 +1,4 @@
|
||||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: skip-chars-forward
|
||||
# --
|
||||
(skip-chars-forward "$0" &optional LIM)
|
Loading…
x
Reference in New Issue
Block a user