├── .dockerignore
├── emacs.d
├── snippets
│ ├── css-mode
│ │ ├── .yas-make-groups
│ │ ├── .yas-parents
│ │ ├── bg-color
│ │ ├── bg-image
│ │ ├── mar.mar
│ │ ├── fs
│ │ ├── pad.pad
│ │ ├── mar.top
│ │ ├── pad.top
│ │ ├── mar.left
│ │ ├── mar.right
│ │ ├── pad.left
│ │ ├── mar.bottom
│ │ ├── pad.bottom
│ │ ├── pad.right
│ │ ├── mar.margin
│ │ ├── pad.padding
│ │ └── generated-color
│ ├── haml-mode
│ │ ├── .yas-make-groups
│ │ ├── .yas-parents
│ │ └── script.skewer
│ ├── html-mode
│ │ ├── .yas-make-groups
│ │ ├── .yas-parents
│ │ ├── div
│ │ ├── br
│ │ ├── hr
│ │ ├── p
│ │ ├── q
│ │ ├── s
│ │ ├── rp
│ │ ├── rt
│ │ ├── wbr
│ │ ├── bdi
│ │ ├── kbd
│ │ ├── list
│ │ │ ├── dd
│ │ │ ├── dt
│ │ │ ├── li
│ │ │ ├── ol
│ │ │ ├── ul
│ │ │ ├── dl
│ │ │ ├── dl.id
│ │ │ ├── ol.id
│ │ │ └── ul.id
│ │ ├── sub
│ │ ├── sup
│ │ ├── var
│ │ ├── attributes
│ │ │ ├── style
│ │ │ └── class
│ │ ├── cite
│ │ ├── code
│ │ ├── django
│ │ │ ├── var
│ │ │ ├── ttag
│ │ │ ├── load
│ │ │ ├── super
│ │ │ ├── if
│ │ │ ├── static-url
│ │ │ ├── for
│ │ │ ├── include
│ │ │ ├── block
│ │ │ ├── comment
│ │ │ ├── ifchanged
│ │ │ ├── spaceless
│ │ │ └── extends
│ │ ├── mark
│ │ ├── ruby
│ │ ├── samp
│ │ ├── span
│ │ ├── base
│ │ ├── bdo
│ │ ├── embed
│ │ ├── label
│ │ ├── small
│ │ ├── button
│ │ ├── comment
│ │ ├── legend
│ │ ├── strong
│ │ ├── abbr
│ │ ├── caption
│ │ ├── doctype
│ │ ├── nav
│ │ ├── summary
│ │ ├── body
│ │ ├── dfn
│ │ ├── img
│ │ ├── option
│ │ ├── source
│ │ ├── aside
│ │ ├── output
│ │ ├── param
│ │ ├── title
│ │ ├── figcaption
│ │ ├── figure
│ │ ├── footer
│ │ ├── manifest
│ │ ├── select
│ │ ├── table
│ │ │ ├── tbody
│ │ │ ├── tfoot
│ │ │ ├── thead
│ │ │ ├── td
│ │ │ ├── th
│ │ │ ├── tr
│ │ │ └── table
│ │ ├── address
│ │ ├── article
│ │ ├── author
│ │ ├── details
│ │ ├── header
│ │ │ ├── h1
│ │ │ ├── h2
│ │ │ ├── h3
│ │ │ ├── h4
│ │ │ ├── h5
│ │ │ └── h6
│ │ ├── progress
│ │ ├── section
│ │ ├── colgroup
│ │ ├── fieldset
│ │ ├── noscript
│ │ ├── pre
│ │ ├── textarea
│ │ ├── blockquote
│ │ ├── form
│ │ ├── href
│ │ ├── html
│ │ ├── optgroup
│ │ ├── head
│ │ ├── menu
│ │ ├── del
│ │ ├── iframe
│ │ ├── ins
│ │ ├── time
│ │ ├── mailto
│ │ ├── quote
│ │ ├── script.javascript-src
│ │ ├── meta
│ │ │ ├── doctype
│ │ │ ├── doctype.xhtml1_1
│ │ │ ├── meta
│ │ │ ├── doctype.xhml1
│ │ │ ├── doctype.xhtml1_strict
│ │ │ ├── doctype.xhtml1_transitional
│ │ │ └── meta.http-equiv
│ │ ├── meter
│ │ ├── object
│ │ ├── video
│ │ ├── keygen
│ │ ├── audio
│ │ ├── command
│ │ ├── script.javascript
│ │ ├── style
│ │ ├── link.stylesheet
│ │ ├── canvas
│ │ ├── html.xmlns
│ │ ├── script.skewer
│ │ ├── skeleton
│ │ │ └── html5-skeleton
│ │ ├── track
│ │ ├── datalist
│ │ └── link.stylesheet-ie
│ ├── js-mode
│ │ ├── .yas-make-groups
│ │ ├── .yas-parents
│ │ ├── declarations
│ │ │ ├── var
│ │ │ ├── proto
│ │ │ ├── fn
│ │ │ ├── protofn
│ │ │ └── function-doc
│ │ ├── misc
│ │ │ ├── strict
│ │ │ ├── require
│ │ │ ├── while
│ │ │ ├── assert
│ │ │ ├── throw
│ │ │ ├── it
│ │ │ ├── switch
│ │ │ ├── expect
│ │ │ ├── exports
│ │ │ ├── describe
│ │ │ ├── super
│ │ │ ├── invoc
│ │ │ ├── try
│ │ │ ├── err
│ │ │ └── error
│ │ ├── basic
│ │ │ ├── if
│ │ │ └── for
│ │ ├── debug
│ │ │ ├── log
│ │ │ ├── log-text
│ │ │ ├── breakpoint
│ │ │ ├── debugger
│ │ │ └── log-location
│ │ ├── modules
│ │ │ └── indexjs-export
│ │ └── skeleton
│ │ │ └── module
│ ├── json-mode
│ │ ├── .yas-make-groups
│ │ ├── .yas-parents
│ │ ├── messages.json
│ │ │ ├── desc
│ │ │ └── item
│ │ └── package.json
│ │ │ ├── engines
│ │ │ ├── bin
│ │ │ ├── dependencies
│ │ │ └── dev-dependencies
│ ├── kivy-mode
│ │ ├── .yas-make-groups
│ │ ├── .yas-parents
│ │ └── ColorRect
│ ├── nxml-mode
│ │ ├── .yas-make-groups
│ │ ├── .yas-parents
│ │ ├── br
│ │ ├── hr
│ │ ├── p
│ │ ├── li
│ │ ├── td
│ │ ├── th
│ │ ├── div
│ │ ├── header
│ │ │ ├── h1
│ │ │ ├── h2
│ │ │ ├── h3
│ │ │ ├── h4
│ │ │ ├── h5
│ │ │ └── h6
│ │ ├── name
│ │ ├── ol
│ │ ├── span
│ │ ├── tag.1l
│ │ ├── tr
│ │ ├── ul
│ │ ├── href
│ │ ├── pre
│ │ ├── title
│ │ ├── body
│ │ ├── code
│ │ ├── head
│ │ ├── img
│ │ ├── table
│ │ ├── input
│ │ ├── tag.2l
│ │ ├── quote
│ │ ├── form
│ │ ├── meta
│ │ │ ├── meta
│ │ │ ├── doctype
│ │ │ ├── doctype.xhtml1_strict
│ │ │ └── doctype.xhtml1_transitional
│ │ ├── link
│ │ ├── style
│ │ └── html
│ ├── ruby-mode
│ │ ├── .yas-make-groups
│ │ ├── .yas-parents
│ │ ├── general
│ │ │ ├── #
│ │ │ ├── req
│ │ │ ├── y
│ │ │ ├── rb
│ │ │ ├── =b
│ │ │ ├── dee
│ │ │ ├── case
│ │ │ ├── bm
│ │ │ ├── app
│ │ │ └── rreq
│ │ ├── definitions
│ │ │ ├── r
│ │ │ ├── w
│ │ │ ├── rw
│ │ │ ├── cla
│ │ │ ├── am
│ │ │ ├── mm
│ │ │ └── Comp
│ │ ├── collections
│ │ │ ├── ea
│ │ │ ├── all
│ │ │ ├── any
│ │ │ ├── det
│ │ │ ├── deli
│ │ │ ├── eai
│ │ │ ├── classify
│ │ │ ├── collect
│ │ │ ├── eav
│ │ │ ├── reject
│ │ │ ├── select
│ │ │ ├── eac
│ │ │ ├── zip
│ │ │ ├── eawi
│ │ │ └── inject
│ │ └── control structure
│ │ │ ├── tim
│ │ │ ├── if
│ │ │ ├── when
│ │ │ ├── until
│ │ │ ├── while
│ │ │ ├── upt
│ │ │ ├── ife
│ │ │ └── forin
│ ├── scss-mode
│ │ ├── .yas-make-groups
│ │ └── .yas-parents
│ ├── web-mode
│ │ ├── .yas-make-groups
│ │ └── .yas-parents
│ ├── c-mode
│ │ ├── .yas-parents
│ │ ├── fopen
│ │ └── printf
│ ├── makefile-mode
│ │ ├── .yas-make-groups
│ │ ├── .yas-parents
│ │ └── all
│ ├── python-mode
│ │ ├── .yas-make-groups
│ │ ├── .yas-parents
│ │ ├── general
│ │ │ ├── __
│ │ │ ├── breakpoint
│ │ │ ├── while
│ │ │ ├── for
│ │ │ ├── ifmain
│ │ │ ├── propg
│ │ │ ├── propsg
│ │ │ └── skeleton
│ │ ├── django
│ │ │ ├── model-blanknull
│ │ │ ├── ModelForm-class
│ │ │ └── Model-class
│ │ └── debug
│ │ │ ├── pdb
│ │ │ ├── pudb
│ │ │ └── ipdb
│ ├── c++-mode
│ │ ├── .yas-parents
│ │ ├── ns
│ │ ├── beginend
│ │ ├── template
│ │ ├── using
│ │ └── class
│ ├── cc-mode
│ │ ├── .yas-parents
│ │ ├── inc
│ │ ├── inc.1
│ │ ├── if
│ │ ├── if.orig
│ │ ├── struct
│ │ ├── do
│ │ ├── for
│ │ ├── main
│ │ └── once
│ ├── dockerfile-mode
│ │ ├── .yas-make-groups
│ │ ├── .yas-parents
│ │ ├── install
│ │ │ └── nodejs
│ │ └── lib
│ │ │ └── postgresql
│ ├── emacs-lisp-mode
│ │ ├── .yas-make-groups
│ │ ├── .yas-parents
│ │ ├── basic
│ │ │ ├── defvar
│ │ │ ├── eq
│ │ │ ├── if
│ │ │ ├── car
│ │ │ ├── cdr
│ │ │ ├── kbd
│ │ │ ├── set
│ │ │ ├── cons
│ │ │ ├── equal
│ │ │ ├── list
│ │ │ ├── nth
│ │ │ ├── null
│ │ │ ├── princ
│ │ │ ├── print
│ │ │ ├── progn
│ │ │ ├── push
│ │ │ ├── when
│ │ │ ├── while
│ │ │ ├── and
│ │ │ ├── append
│ │ │ ├── apply
│ │ │ ├── assq
│ │ │ ├── bind-key
│ │ │ ├── concat
│ │ │ ├── consp
│ │ │ ├── dolist
│ │ │ ├── length
│ │ │ ├── mapcar
│ │ │ ├── memq
│ │ │ ├── or
│ │ │ ├── repeat
│ │ │ ├── string
│ │ │ ├── unless
│ │ │ ├── aref
│ │ │ ├── fboundp
│ │ │ ├── funcall
│ │ │ ├── get
│ │ │ ├── mapc
│ │ │ ├── not
│ │ │ ├── point
│ │ │ ├── put
│ │ │ ├── require
│ │ │ ├── setq
│ │ │ ├── string=
│ │ │ ├── stringp
│ │ │ ├── unbind-key
│ │ │ ├── aset
│ │ │ ├── defsubst
│ │ │ ├── function
│ │ │ ├── point-max
│ │ │ ├── use-package
│ │ │ ├── error
│ │ │ ├── f
│ │ │ ├── insert
│ │ │ ├── lambda
│ │ │ ├── vector
│ │ │ ├── format
│ │ │ ├── interactive
│ │ │ ├── let
│ │ │ ├── goto-char
│ │ │ ├── message
│ │ │ ├── point-min
│ │ │ ├── set-mark
│ │ │ ├── find-file
│ │ │ ├── looking-at
│ │ │ ├── match-end
│ │ │ ├── region-end
│ │ │ ├── set-buffer
│ │ │ ├── widget-get
│ │ │ ├── add-hook
│ │ │ ├── delete-char
│ │ │ ├── delete-file
│ │ │ ├── end-of-line
│ │ │ ├── kill-buffer
│ │ │ ├── save-buffer
│ │ │ ├── cond
│ │ │ ├── defcustom
│ │ │ ├── defun
│ │ │ ├── forward-char
│ │ │ ├── forward-line
│ │ │ ├── match-string
│ │ │ ├── backward-char
│ │ │ ├── current-buffer
│ │ │ ├── delete-region
│ │ │ ├── save-excursion
│ │ │ ├── condition-case
│ │ │ ├── defalias
│ │ │ ├── match-beginning
│ │ │ ├── region-active-p
│ │ │ ├── region-beginning
│ │ │ ├── beginning-of-line
│ │ │ ├── buffer-file-name
│ │ │ ├── expand-file-name
│ │ │ ├── line-end-position
│ │ │ ├── number-to-string
│ │ │ ├── set-file-modes
│ │ │ ├── buffer-modified-p
│ │ │ ├── buffer-substring
│ │ │ ├── define-key
│ │ │ ├── file-relative-name
│ │ │ ├── global-set-key
│ │ │ ├── make-directory
│ │ │ ├── file-name-directory
│ │ │ ├── make-local-variable
│ │ │ ├── with-current-buffer
│ │ │ ├── delete-directory
│ │ │ ├── custom-autoload
│ │ │ ├── directory-files
│ │ │ ├── file-name-nondirectory
│ │ │ ├── line-beginning-position
│ │ │ ├── rename-file
│ │ │ ├── skip-chars-forward
│ │ │ ├── copy-directory
│ │ │ ├── file-name-extension
│ │ │ ├── skip-chars-backward
│ │ │ ├── advice-after
│ │ │ ├── file-name-sans-extension
│ │ │ ├── advice-before
│ │ │ ├── copy-file
│ │ │ ├── replace-regexp
│ │ │ ├── advice-around
│ │ │ ├── buffer-substring-no-properties
│ │ │ └── replace-regexp-in-string
│ │ └── longer
│ │ │ └── f9def
│ ├── git-commit-mode
│ │ ├── .yas-make-groups
│ │ ├── .yas-parents
│ │ ├── words
│ │ │ ├── fix
│ │ │ ├── closes
│ │ │ ├── improve
│ │ │ ├── resolves
│ │ │ ├── add
│ │ │ ├── enchance
│ │ │ ├── wip
│ │ │ ├── change
│ │ │ ├── modify
│ │ │ ├── update
│ │ │ ├── disable
│ │ │ ├── set
│ │ │ └── remove
│ │ ├── misc
│ │ │ ├── typo
│ │ │ ├── notes
│ │ │ ├── readme
│ │ │ ├── docs
│ │ │ ├── uspecified-commit
│ │ │ ├── compiled-assets
│ │ │ └── external-deps
│ │ └── cleanup
│ │ │ ├── reformat
│ │ │ └── code-cleanup
│ ├── go-mode
│ │ ├── .yas-parents
│ │ ├── panic-err
│ │ ├── printf
│ │ ├── append
│ │ ├── func
│ │ ├── if
│ │ ├── for
│ │ ├── fmterr
│ │ ├── iferr
│ │ ├── ifnil
│ │ ├── log
│ │ ├── return-err
│ │ ├── ifelse
│ │ ├── select
│ │ ├── struct
│ │ ├── log-string
│ │ ├── test
│ │ ├── test.run
│ │ ├── forrange
│ │ ├── log-struct
│ │ ├── make
│ │ ├── interface
│ │ ├── bench
│ │ └── method
│ ├── go-ts-mode
│ │ └── .yas-parents
│ ├── js-ts-mode
│ │ └── .yas-parents
│ ├── js2-mode
│ │ └── .yas-parents
│ ├── makefile-gmake-mode
│ │ ├── .yas-make-groups
│ │ ├── .yas-parents
│ │ └── phony
│ ├── objc-mode
│ │ ├── .yas-parents
│ │ └── prop
│ ├── org-mode
│ │ ├── .yas-parents
│ │ ├── logdrawer
│ │ ├── exampleblock
│ │ ├── clock
│ │ ├── sourceblock-elisp
│ │ ├── sourceblock
│ │ ├── habit
│ │ ├── email
│ │ ├── note
│ │ └── todo
│ ├── perl-mode
│ │ ├── .yas-parents
│ │ ├── if
│ │ ├── xif
│ │ ├── sub
│ │ ├── unless
│ │ ├── while
│ │ ├── xfore
│ │ ├── xwhile
│ │ ├── xunless
│ │ ├── ife
│ │ ├── fore
│ │ ├── for
│ │ ├── eval
│ │ └── ifee
│ ├── rst-mode
│ │ ├── .yas-parents
│ │ ├── chap
│ │ ├── sec
│ │ └── tit
│ ├── sql-mode
│ │ ├── .yas-parents
│ │ ├── references
│ │ ├── column
│ │ ├── constraint
│ │ ├── constraint.1
│ │ ├── create.1
│ │ └── create
│ ├── cperl-mode
│ │ └── .yas-parents
│ ├── erlang-mode
│ │ ├── .yas-parents
│ │ ├── undef
│ │ ├── after
│ │ ├── def
│ │ ├── fun
│ │ ├── inc
│ │ ├── begin
│ │ ├── rec
│ │ ├── beh
│ │ ├── case
│ │ ├── inc.lib
│ │ ├── rcv
│ │ ├── compile
│ │ ├── ifdef
│ │ ├── ifndef
│ │ ├── if
│ │ ├── rcv.after
│ │ ├── try
│ │ ├── exp
│ │ ├── imp
│ │ ├── loop
│ │ └── mod
│ ├── latex-mode
│ │ ├── .yas-parents
│ │ └── begin
│ ├── makefile-automake-mode
│ │ ├── .yas-make-groups
│ │ └── .yas-parents
│ ├── makefile-bsdmake-mode
│ │ ├── .yas-make-groups
│ │ └── .yas-parents
│ ├── markdown-mode
│ │ ├── .yas-parents
│ │ ├── _
│ │ ├── __
│ │ ├── `
│ │ ├── +
│ │ ├── -
│ │ ├── img
│ │ ├── h1.1
│ │ ├── h3
│ │ ├── h4
│ │ ├── link
│ │ ├── rimg
│ │ ├── rlink
│ │ ├── h2.1
│ │ ├── h5
│ │ ├── h6
│ │ ├── hr.1
│ │ ├── hr.2
│ │ ├── rlb
│ │ ├── h1.2
│ │ ├── h2.2
│ │ └── ol
│ ├── plantuml-mode
│ │ ├── .yas-parents
│ │ └── skeleton
│ ├── ruby-ts-mode
│ │ └── .yas-parents
│ ├── scala-mode
│ │ ├── .yas-parents
│ │ ├── with
│ │ ├── ext
│ │ ├── imp
│ │ ├── pac
│ │ ├── pri
│ │ ├── pro
│ │ ├── ano
│ │ ├── ass.true
│ │ ├── case.match-all
│ │ ├── clof
│ │ ├── co
│ │ ├── for.extract
│ │ ├── pr.simple
│ │ ├── at.author
│ │ ├── case
│ │ ├── def.simple
│ │ ├── ls.new
│ │ ├── map
│ │ ├── pr.newline
│ │ ├── pr.string
│ │ ├── pri.param
│ │ ├── val
│ │ ├── var
│ │ ├── asof
│ │ ├── ass
│ │ ├── at.version
│ │ ├── bang
│ │ ├── cast
│ │ ├── cl
│ │ ├── cons.nil
│ │ ├── hset.new
│ │ ├── isof
│ │ ├── pro.param
│ │ ├── tr
│ │ ├── arr.new
│ │ ├── def.body
│ │ ├── def.ret
│ │ ├── if
│ │ ├── mix
│ │ ├── at.return
│ │ ├── cons
│ │ ├── def.arg
│ │ ├── foreach
│ │ ├── map.new
│ │ ├── val.new
│ │ ├── val.ret
│ │ ├── var.new
│ │ ├── var.ret
│ │ ├── expect
│ │ ├── hmap.new
│ │ ├── ob
│ │ ├── throw
│ │ ├── tup.arrow
│ │ ├── tup.paren
│ │ ├── whi
│ │ ├── at.param
│ │ ├── cc
│ │ ├── cl.arg
│ │ ├── doc.scaladoc
│ │ ├── ls.val-new
│ │ ├── pr.trace
│ │ ├── cl.abs
│ │ ├── def.ret-body
│ │ ├── for.loop
│ │ ├── hset.val-new
│ │ ├── match
│ │ ├── arr.val-new
│ │ ├── def.arg-ret
│ │ ├── doc.def
│ │ ├── test
│ │ ├── tr.with
│ │ ├── try.finally
│ │ ├── def.arg-body
│ │ ├── tr.ext
│ │ ├── app
│ │ ├── hmap.val-new
│ │ ├── cl.abs-arg
│ │ ├── for.if
│ │ ├── if.else
│ │ ├── intercept
│ │ ├── main
│ │ ├── def.arg-ret-body
│ │ ├── act
│ │ ├── suite
│ │ ├── tr.ext-with
│ │ ├── actor
│ │ ├── match.option
│ │ ├── doc.file
│ │ ├── for.multi
│ │ ├── act.arg
│ │ ├── match.can
│ │ ├── try
│ │ └── try.catch-finally
│ ├── snippet-mode
│ │ ├── .yas-parents
│ │ ├── skeleton
│ │ ├── field
│ │ ├── mirror
│ │ └── vars
│ ├── actionscript-mode
│ │ ├── .yas-parents
│ │ ├── cls
│ │ ├── whi
│ │ ├── if
│ │ ├── pub.var
│ │ ├── pri.var
│ │ ├── pro.var
│ │ ├── for
│ │ ├── pub.int
│ │ ├── pub
│ │ ├── ife
│ │ ├── pri.con
│ │ ├── pub.con
│ │ ├── pri
│ │ ├── pro
│ │ ├── pub.get
│ │ ├── pub.set
│ │ ├── pub.sta
│ │ ├── swi
│ │ ├── pub.cl
│ │ ├── pac
│ │ └── pac.spr
│ ├── csharp-ts-mode
│ │ └── .yas-parents
│ ├── python-ts-mode
│ │ └── .yas-parents
│ ├── text-mode
│ │ ├── fig.smile
│ │ ├── time
│ │ └── email
│ ├── sh-mode
│ │ ├── skeleton
│ │ ├── if
│ │ ├── function
│ │ └── case
│ └── feature-mode
│ │ ├── whe
│ │ ├── and
│ │ ├── the
│ │ ├── giv
│ │ ├── sce
│ │ ├── bac
│ │ └── fea
├── profile
├── lisp
│ ├── my-ropemacs.el
│ └── makeup.el
├── batch
│ ├── batch-run.sh
│ ├── install-1.el
│ ├── exec-wrapper.sh
│ ├── install-2.el
│ └── org-export-html.sh
├── gerwinski-gnu-head.png
├── icons
│ ├── gray.xbm
│ ├── gray1.xbm
│ ├── gray3.xbm
│ └── stipple.xbm
├── calc.el
├── dict
│ ├── dockerfile-mode
│ ├── lua-mode
│ └── go-mode
├── profile.el
├── tool
│ └── go.mod
├── .dir-locals.el
├── init-batch.el
├── init-home.el
└── update-tree-sitter-modules.sh
├── .gitignore
├── .dotfilesrc
└── .bin-emacs
├── emacs-minimal
├── emacs-home
└── emacs-batch-eval
/.dockerignore:
--------------------------------------------------------------------------------
1 | .git/
2 | emacs.d/elpa
--------------------------------------------------------------------------------
/emacs.d/snippets/css-mode/.yas-make-groups:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/emacs.d/snippets/haml-mode/.yas-make-groups:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/.yas-make-groups:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/emacs.d/snippets/js-mode/.yas-make-groups:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/emacs.d/snippets/json-mode/.yas-make-groups:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/emacs.d/snippets/kivy-mode/.yas-make-groups:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/emacs.d/snippets/nxml-mode/.yas-make-groups:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/emacs.d/snippets/ruby-mode/.yas-make-groups:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/emacs.d/snippets/scss-mode/.yas-make-groups:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/emacs.d/snippets/web-mode/.yas-make-groups:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/emacs.d/snippets/c-mode/.yas-parents:
--------------------------------------------------------------------------------
1 | cc-mode
2 |
--------------------------------------------------------------------------------
/emacs.d/snippets/makefile-mode/.yas-make-groups:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/emacs.d/snippets/python-mode/.yas-make-groups:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/emacs.d/snippets/c++-mode/.yas-parents:
--------------------------------------------------------------------------------
1 | cc-mode
2 |
--------------------------------------------------------------------------------
/emacs.d/snippets/cc-mode/.yas-parents:
--------------------------------------------------------------------------------
1 | text-mode
2 |
--------------------------------------------------------------------------------
/emacs.d/snippets/css-mode/.yas-parents:
--------------------------------------------------------------------------------
1 | text-mode
2 |
--------------------------------------------------------------------------------
/emacs.d/snippets/dockerfile-mode/.yas-make-groups:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/.yas-make-groups:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/emacs.d/snippets/git-commit-mode/.yas-make-groups:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/emacs.d/snippets/go-mode/.yas-parents:
--------------------------------------------------------------------------------
1 | text-mode
2 |
--------------------------------------------------------------------------------
/emacs.d/snippets/go-ts-mode/.yas-parents:
--------------------------------------------------------------------------------
1 | go-mode
2 |
--------------------------------------------------------------------------------
/emacs.d/snippets/haml-mode/.yas-parents:
--------------------------------------------------------------------------------
1 | text-mode
2 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/.yas-parents:
--------------------------------------------------------------------------------
1 | text-mode
2 |
--------------------------------------------------------------------------------
/emacs.d/snippets/js-mode/.yas-parents:
--------------------------------------------------------------------------------
1 | text-mode
2 |
--------------------------------------------------------------------------------
/emacs.d/snippets/js-ts-mode/.yas-parents:
--------------------------------------------------------------------------------
1 | js-mode
2 |
--------------------------------------------------------------------------------
/emacs.d/snippets/js2-mode/.yas-parents:
--------------------------------------------------------------------------------
1 | js-mode
2 |
--------------------------------------------------------------------------------
/emacs.d/snippets/json-mode/.yas-parents:
--------------------------------------------------------------------------------
1 | text-mode
2 |
--------------------------------------------------------------------------------
/emacs.d/snippets/kivy-mode/.yas-parents:
--------------------------------------------------------------------------------
1 | text-mode
2 |
--------------------------------------------------------------------------------
/emacs.d/snippets/makefile-gmake-mode/.yas-make-groups:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/emacs.d/snippets/nxml-mode/.yas-parents:
--------------------------------------------------------------------------------
1 | text-mode
2 |
--------------------------------------------------------------------------------
/emacs.d/snippets/objc-mode/.yas-parents:
--------------------------------------------------------------------------------
1 | cc-mode
2 |
--------------------------------------------------------------------------------
/emacs.d/snippets/org-mode/.yas-parents:
--------------------------------------------------------------------------------
1 | text-mode
2 |
--------------------------------------------------------------------------------
/emacs.d/snippets/perl-mode/.yas-parents:
--------------------------------------------------------------------------------
1 | text-mode
2 |
--------------------------------------------------------------------------------
/emacs.d/snippets/rst-mode/.yas-parents:
--------------------------------------------------------------------------------
1 | text-mode
2 |
--------------------------------------------------------------------------------
/emacs.d/snippets/ruby-mode/.yas-parents:
--------------------------------------------------------------------------------
1 | text-mode
2 |
--------------------------------------------------------------------------------
/emacs.d/snippets/scss-mode/.yas-parents:
--------------------------------------------------------------------------------
1 | css-mode
2 |
--------------------------------------------------------------------------------
/emacs.d/snippets/sql-mode/.yas-parents:
--------------------------------------------------------------------------------
1 | text-mode
2 |
--------------------------------------------------------------------------------
/emacs.d/snippets/web-mode/.yas-parents:
--------------------------------------------------------------------------------
1 | html-mode
2 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .compiled
2 | .cask/
3 | elpa/
4 | elpa-mirror/
--------------------------------------------------------------------------------
/emacs.d/snippets/cperl-mode/.yas-parents:
--------------------------------------------------------------------------------
1 | perl-mode
2 |
--------------------------------------------------------------------------------
/emacs.d/snippets/erlang-mode/.yas-parents:
--------------------------------------------------------------------------------
1 | text-mode
2 |
--------------------------------------------------------------------------------
/emacs.d/snippets/latex-mode/.yas-parents:
--------------------------------------------------------------------------------
1 | text-mode
2 |
--------------------------------------------------------------------------------
/emacs.d/snippets/makefile-automake-mode/.yas-make-groups:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/emacs.d/snippets/makefile-bsdmake-mode/.yas-make-groups:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/emacs.d/snippets/makefile-mode/.yas-parents:
--------------------------------------------------------------------------------
1 | text-mode
2 |
--------------------------------------------------------------------------------
/emacs.d/snippets/markdown-mode/.yas-parents:
--------------------------------------------------------------------------------
1 | text-mode
2 |
--------------------------------------------------------------------------------
/emacs.d/snippets/plantuml-mode/.yas-parents:
--------------------------------------------------------------------------------
1 | text-mode
2 |
--------------------------------------------------------------------------------
/emacs.d/snippets/python-mode/.yas-parents:
--------------------------------------------------------------------------------
1 | text-mode
2 |
--------------------------------------------------------------------------------
/emacs.d/snippets/ruby-ts-mode/.yas-parents:
--------------------------------------------------------------------------------
1 | ruby-mode
2 |
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/.yas-parents:
--------------------------------------------------------------------------------
1 | text-mode
2 |
--------------------------------------------------------------------------------
/emacs.d/snippets/snippet-mode/.yas-parents:
--------------------------------------------------------------------------------
1 | text-mode
2 |
--------------------------------------------------------------------------------
/emacs.d/profile:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | emacs -Q -l profile.el
4 |
--------------------------------------------------------------------------------
/emacs.d/snippets/actionscript-mode/.yas-parents:
--------------------------------------------------------------------------------
1 | text-mode
2 |
--------------------------------------------------------------------------------
/emacs.d/snippets/csharp-ts-mode/.yas-parents:
--------------------------------------------------------------------------------
1 | csharp-mode
2 |
--------------------------------------------------------------------------------
/emacs.d/snippets/dockerfile-mode/.yas-parents:
--------------------------------------------------------------------------------
1 | text-mode
2 |
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/.yas-parents:
--------------------------------------------------------------------------------
1 | text-mode
2 |
--------------------------------------------------------------------------------
/emacs.d/snippets/git-commit-mode/.yas-parents:
--------------------------------------------------------------------------------
1 | text-mode
2 |
--------------------------------------------------------------------------------
/emacs.d/snippets/python-ts-mode/.yas-parents:
--------------------------------------------------------------------------------
1 | python-mode
2 |
--------------------------------------------------------------------------------
/emacs.d/snippets/makefile-gmake-mode/.yas-parents:
--------------------------------------------------------------------------------
1 | makefile-mode
2 |
--------------------------------------------------------------------------------
/emacs.d/snippets/makefile-automake-mode/.yas-parents:
--------------------------------------------------------------------------------
1 | makefile-mode
2 |
--------------------------------------------------------------------------------
/emacs.d/snippets/makefile-bsdmake-mode/.yas-parents:
--------------------------------------------------------------------------------
1 | makefile-mode
2 |
--------------------------------------------------------------------------------
/emacs.d/snippets/ruby-mode/general/#:
--------------------------------------------------------------------------------
1 | # name: # =>
2 | # key: #
3 | # --
4 | # =>
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/with:
--------------------------------------------------------------------------------
1 | # name: with T
2 | # key: with
3 | # --
4 | with $0
--------------------------------------------------------------------------------
/emacs.d/snippets/c++-mode/ns:
--------------------------------------------------------------------------------
1 | # name: namespace ...
2 | # key: ns
3 | # --
4 | namespace
--------------------------------------------------------------------------------
/emacs.d/snippets/git-commit-mode/words/fix:
--------------------------------------------------------------------------------
1 | # name: Fix
2 | # key: f
3 | # --
4 | fix $0
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/ext:
--------------------------------------------------------------------------------
1 | # name: extends T
2 | # key: ext
3 | # --
4 | extends $0
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/imp:
--------------------------------------------------------------------------------
1 | # name: import ..
2 | # key: imp
3 | # --
4 | import $0
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/pac:
--------------------------------------------------------------------------------
1 | # name: package ..
2 | # key: pac
3 | # --
4 | package $0
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/pri:
--------------------------------------------------------------------------------
1 | #name : private
2 | # key: pri
3 | # --
4 | private $0
--------------------------------------------------------------------------------
/emacs.d/snippets/cc-mode/inc:
--------------------------------------------------------------------------------
1 | # name: #include "..."
2 | # key: inc
3 | # --
4 | #include "$1"
--------------------------------------------------------------------------------
/emacs.d/snippets/python-mode/general/__:
--------------------------------------------------------------------------------
1 | # name: __...__
2 | # key: __
3 | # --
4 | __${init}__
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/pro:
--------------------------------------------------------------------------------
1 | # name: protected
2 | # key: pro
3 | # --
4 | protected $0
--------------------------------------------------------------------------------
/emacs.d/snippets/text-mode/fig.smile:
--------------------------------------------------------------------------------
1 | # name: (。◕‿◕。)
2 | # key: fig.smile
3 | # --
4 | (。◕‿◕。)
--------------------------------------------------------------------------------
/emacs.d/lisp/my-ropemacs.el:
--------------------------------------------------------------------------------
1 | ;; for now only a dummy package
2 |
3 | (provide 'my-ropemacs)
4 |
--------------------------------------------------------------------------------
/emacs.d/snippets/cc-mode/inc.1:
--------------------------------------------------------------------------------
1 | # name: #include <...>
2 | # key: inc
3 | # --
4 | #include <$1>
--------------------------------------------------------------------------------
/emacs.d/snippets/git-commit-mode/words/closes:
--------------------------------------------------------------------------------
1 | # name: closes
2 | # key: clo
3 | # --
4 | closes #
--------------------------------------------------------------------------------
/emacs.d/snippets/go-mode/panic-err:
--------------------------------------------------------------------------------
1 | # name: panic(err)
2 | # key: panerr
3 | # --
4 | panic(err)
--------------------------------------------------------------------------------
/emacs.d/snippets/go-mode/printf:
--------------------------------------------------------------------------------
1 | # name: printf
2 | # key: printf
3 | # --
4 | fmt.Printf("$0\n",$1)
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/div:
--------------------------------------------------------------------------------
1 | # name:
...
2 | # key: div
3 | # --
4 | $0
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/defvar:
--------------------------------------------------------------------------------
1 | # name: defvar
2 | # key: defvar
3 | # --
4 | (defvar $0)
--------------------------------------------------------------------------------
/emacs.d/snippets/erlang-mode/undef:
--------------------------------------------------------------------------------
1 | # name: -undef(...).
2 | # key: undef
3 | # --
4 | -undef($1).
5 | $0
--------------------------------------------------------------------------------
/emacs.d/snippets/git-commit-mode/words/improve:
--------------------------------------------------------------------------------
1 | # name: Improve
2 | # key: imp
3 | # --
4 | improve $0
--------------------------------------------------------------------------------
/emacs.d/snippets/git-commit-mode/words/resolves:
--------------------------------------------------------------------------------
1 | # name: resolves
2 | # key: res
3 | # --
4 | resolves #
--------------------------------------------------------------------------------
/emacs.d/snippets/go-mode/append:
--------------------------------------------------------------------------------
1 | # name: append
2 | # key: append
3 | # --
4 | $1 = append($1, $0)
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/go-mode/func:
--------------------------------------------------------------------------------
1 | # name: func
2 | # key: func
3 | # --
4 | func $1($0) {
5 |
6 | }
7 |
--------------------------------------------------------------------------------
/emacs.d/snippets/go-mode/if:
--------------------------------------------------------------------------------
1 | # name: if
2 | # key: if
3 | # --
4 | if ${1:condition} {
5 | $0
6 | }
7 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/br:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: br
3 | # key: br
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/hr:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: hr
3 | # key: hr
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/p:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: p
3 | # key: p
4 | # --
5 | $0
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/q:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: q
3 | # key: q
4 | # --
5 | $1
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/s:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: s
3 | # key: s
4 | # --
5 | $1
--------------------------------------------------------------------------------
/emacs.d/snippets/ruby-mode/definitions/r:
--------------------------------------------------------------------------------
1 | # name: attr_reader ...
2 | # key: r
3 | # --
4 | attr_reader :
--------------------------------------------------------------------------------
/emacs.d/snippets/ruby-mode/definitions/w:
--------------------------------------------------------------------------------
1 | # name: attr_writer ...
2 | # key: w
3 | # --
4 | attr_writer :
--------------------------------------------------------------------------------
/emacs.d/snippets/ruby-mode/general/req:
--------------------------------------------------------------------------------
1 | # name: require "..."
2 | # key: req
3 | # --
4 | require "$0"
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/ano:
--------------------------------------------------------------------------------
1 | # name: (args) => ...
2 | # key: ano
3 | # --
4 | ($1) => ${2:body} $0
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/ass.true:
--------------------------------------------------------------------------------
1 | # name: assert(true)
2 | # key: ass
3 | # --
4 | assert(true) $0
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/case.match-all:
--------------------------------------------------------------------------------
1 | # name: case _ =>
2 | # key: case
3 | # --
4 | case _ => $0
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/clof:
--------------------------------------------------------------------------------
1 | # name: classOf[T]
2 | # key: clof
3 | # --
4 | classOf[${1:type}] $0
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/co:
--------------------------------------------------------------------------------
1 | # name: case object T
2 | # key: co
3 | # --
4 | case object ${1:name} $0
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/for.extract:
--------------------------------------------------------------------------------
1 | # name: x <- xs
2 | # key: for
3 | # --
4 | ${1:x} <- ${2:xs}
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/pr.simple:
--------------------------------------------------------------------------------
1 | # name: print(..)
2 | # key: pr
3 | # --
4 | print(${1:obj}) $0
--------------------------------------------------------------------------------
/emacs.d/snippets/erlang-mode/after:
--------------------------------------------------------------------------------
1 | # name: after ... ->
2 | # key: after
3 | # --
4 | after
5 | $1 -> $0
--------------------------------------------------------------------------------
/emacs.d/snippets/erlang-mode/def:
--------------------------------------------------------------------------------
1 | # name: -define(...,...).
2 | # key: def
3 | # --
4 | -define($1,$2).
5 | $0
--------------------------------------------------------------------------------
/emacs.d/snippets/erlang-mode/fun:
--------------------------------------------------------------------------------
1 | # name: fun (...) -> ... end
2 | # key: fun
3 | # --
4 | fun ($1) -> $0 end
--------------------------------------------------------------------------------
/emacs.d/snippets/erlang-mode/inc:
--------------------------------------------------------------------------------
1 | # name: -include("...").
2 | # key: inc
3 | # --
4 | -include("$1").
5 | $0
--------------------------------------------------------------------------------
/emacs.d/snippets/git-commit-mode/words/add:
--------------------------------------------------------------------------------
1 | # name: Add
2 | # key: a
3 | # expand-env: ()
4 | # --
5 | add $0
--------------------------------------------------------------------------------
/emacs.d/snippets/git-commit-mode/words/enchance:
--------------------------------------------------------------------------------
1 | # name: Enhance
2 | # key: enh
3 | # --
4 | enhance $0 (WIP)
--------------------------------------------------------------------------------
/emacs.d/snippets/git-commit-mode/words/wip:
--------------------------------------------------------------------------------
1 | # name: wip
2 | # key: w
3 | # expand-env: ()
4 | # --
5 | WIP: $0
--------------------------------------------------------------------------------
/emacs.d/snippets/go-mode/for:
--------------------------------------------------------------------------------
1 | # name: for
2 | # key: for
3 | # --
4 | for ${1:elements} {
5 | $0
6 | }
7 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/rp:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: rp
3 | # key: rp
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/rt:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: rt
3 | # key: rt
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/wbr:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: wbr
3 | # key: wbr
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/perl-mode/if:
--------------------------------------------------------------------------------
1 | # name: if (...) { ... }
2 | # key: if
3 | # --
4 | if ($1) {
5 | $0
6 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/python-mode/general/breakpoint:
--------------------------------------------------------------------------------
1 | # name: breakpoint()
2 | # key: bp
3 | # --
4 | breakpoint()
--------------------------------------------------------------------------------
/emacs.d/snippets/ruby-mode/general/y:
--------------------------------------------------------------------------------
1 | # name: :yields: arguments (rdoc)
2 | # key: y
3 | # --
4 | :yields: $0
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/at.author:
--------------------------------------------------------------------------------
1 | # name: @author name
2 | # key: at
3 | # --
4 | @author ${1:name} $0
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/case:
--------------------------------------------------------------------------------
1 | # name: case pattern =>
2 | # key: case
3 | # --
4 | case ${1:pattern} => $0
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/def.simple:
--------------------------------------------------------------------------------
1 | # name: def f = ...
2 | # key: def
3 | # --
4 | def ${1:name} = $0
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/ls.new:
--------------------------------------------------------------------------------
1 | # name: List(..)
2 | # key: ls
3 | # --
4 | List(${1:args}, ${2:args}) $0
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/map:
--------------------------------------------------------------------------------
1 | # name: map(x => ..)
2 | # key: map
3 | # --
4 | map(${1:x} => ${2:body}) $0
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/pr.newline:
--------------------------------------------------------------------------------
1 | # name: println(..)
2 | # key: pr
3 | # --
4 | println(${1:obj}) $0
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/pr.string:
--------------------------------------------------------------------------------
1 | # name: println("..")
2 | # key: pr
3 | # --
4 | println("${1:msg}") $0
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/pri.param:
--------------------------------------------------------------------------------
1 | # name: private[this]
2 | # key: pri
3 | # --
4 | private[${1:this}] $0
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/val:
--------------------------------------------------------------------------------
1 | # name: val name = ..
2 | # key: val
3 | # --
4 | val ${1:name} = ${2:obj} $0
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/var:
--------------------------------------------------------------------------------
1 | # name: var name = ..
2 | # key: var
3 | # --
4 | var ${1:name} = ${2:obj} $0
--------------------------------------------------------------------------------
/emacs.d/snippets/text-mode/time:
--------------------------------------------------------------------------------
1 | # name: (current time)
2 | # key: time
3 | # --
4 | `(current-time-string)`
--------------------------------------------------------------------------------
/emacs.d/snippets/actionscript-mode/cls:
--------------------------------------------------------------------------------
1 | # name: class ...
2 | # key: cls
3 | # --
4 | class ${1:name} {
5 | }
6 |
--------------------------------------------------------------------------------
/emacs.d/snippets/css-mode/bg-color:
--------------------------------------------------------------------------------
1 | # name: background-color: ...
2 | # key: bc
3 | # --
4 | background-color: $0;
--------------------------------------------------------------------------------
/emacs.d/snippets/css-mode/bg-image:
--------------------------------------------------------------------------------
1 | # name: background-image: ...
2 | # key: bi
3 | # --
4 | background-image: $0;
--------------------------------------------------------------------------------
/emacs.d/snippets/erlang-mode/begin:
--------------------------------------------------------------------------------
1 | # name: begin ... end
2 | # key: begin
3 | # --
4 | begin
5 | $0
6 | end
--------------------------------------------------------------------------------
/emacs.d/snippets/erlang-mode/rec:
--------------------------------------------------------------------------------
1 | # name: -record(...,{...}).
2 | # key: rec
3 | # --
4 | -record($1,{$2}).
5 | $0
--------------------------------------------------------------------------------
/emacs.d/snippets/go-mode/fmterr:
--------------------------------------------------------------------------------
1 | # name: fmt.Errorf
2 | # key: fmterr
3 | # --
4 | $0fmt.Errorf("$1: %w",err)
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/go-mode/iferr:
--------------------------------------------------------------------------------
1 | # name: if error
2 | # key: iferr
3 | # --
4 | if err != nil {
5 | $0
6 | }
7 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/bdi:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: bdi
3 | # key: bdi
4 | # --
5 | $1
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/kbd:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: kbd
3 | # key: kbd
4 | # --
5 | $1
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/list/dd:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: dd
3 | # key: dd
4 | # --
5 | $1
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/list/dt:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: dt
3 | # key: dt
4 | # --
5 | $1
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/list/li:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: li
3 | # key: li
4 | # --
5 | $1
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/sub:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: sub
3 | # key: sub
4 | # --
5 | $1
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/sup:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: sup
3 | # key: sup
4 | # --
5 | $1
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/var:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: var
3 | # key: var
4 | # --
5 | $1
--------------------------------------------------------------------------------
/emacs.d/snippets/perl-mode/xif:
--------------------------------------------------------------------------------
1 | # name: ... if ...
2 | # key: xif
3 | # --
4 | ${1:expression} if ${2:condition}
--------------------------------------------------------------------------------
/emacs.d/snippets/ruby-mode/collections/ea:
--------------------------------------------------------------------------------
1 | # name: each { |...| ... }
2 | # key: ea
3 | # --
4 | each { |${e}| $0 }
--------------------------------------------------------------------------------
/emacs.d/snippets/ruby-mode/definitions/rw:
--------------------------------------------------------------------------------
1 | # name: attr_accessor ...
2 | # key: rw
3 | # --
4 | attr_accessor :
--------------------------------------------------------------------------------
/emacs.d/snippets/ruby-mode/general/rb:
--------------------------------------------------------------------------------
1 | # name: /usr/bin/ruby -wKU
2 | # key: rb
3 | # --
4 | #!/usr/bin/ruby -wKU
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/asof:
--------------------------------------------------------------------------------
1 | # name: asInstanceOf[T]
2 | # key: asof
3 | # --
4 | asInstanceOf[${1:type}] $0
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/ass:
--------------------------------------------------------------------------------
1 | # name: assert(x === y)
2 | # key: ass
3 | # --
4 | assert(${1:x} === ${2:y}) $0
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/at.version:
--------------------------------------------------------------------------------
1 | # name: @version number
2 | # key: at
3 | # --
4 | @version ${1:0.1} $0
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/bang:
--------------------------------------------------------------------------------
1 | # name: actor ! message
2 | # key: bang
3 | # --
4 | ${1:actor} ! ${2:message} $0
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/cast:
--------------------------------------------------------------------------------
1 | # name: asInstanceOf[T]
2 | # key: cast
3 | # --
4 | asInstanceOf[${1:type}] $0
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/cl:
--------------------------------------------------------------------------------
1 | # name: class T { .. }
2 | # key: cl
3 | # --
4 | class ${1:name} {
5 | $0
6 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/cons.nil:
--------------------------------------------------------------------------------
1 | # name: element1 :: Nil
2 | # key: cons
3 | # --
4 | ${1:element1} :: Nil $0
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/hset.new:
--------------------------------------------------------------------------------
1 | # name: new HashSet[K]
2 | # key: hset
3 | # --
4 | new HashSet[${1:key}] $0
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/isof:
--------------------------------------------------------------------------------
1 | # name: isInstanceOf[T]
2 | # key: isof
3 | # --
4 | isInstanceOf[${1:type}] $0
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/pro.param:
--------------------------------------------------------------------------------
1 | # name: protected[this]
2 | # key: pro
3 | # --
4 | protected[${1:this}] $0
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/tr:
--------------------------------------------------------------------------------
1 | # name: trait T { .. }
2 | # key: tr
3 | # --
4 | trait ${1:name} {
5 | $0
6 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/c++-mode/beginend:
--------------------------------------------------------------------------------
1 | # name: v.begin(), v.end()
2 | # key: beginend
3 | # --
4 | ${1:v}.begin(), $1.end
--------------------------------------------------------------------------------
/emacs.d/snippets/git-commit-mode/words/change:
--------------------------------------------------------------------------------
1 | # name: Change
2 | # key: cha
3 | # expand-env: ()
4 | # --
5 | change $0
--------------------------------------------------------------------------------
/emacs.d/snippets/git-commit-mode/words/modify:
--------------------------------------------------------------------------------
1 | # name: Modify
2 | # key: mod
3 | # expand-env: ()
4 | # --
5 | modify $0
--------------------------------------------------------------------------------
/emacs.d/snippets/git-commit-mode/words/update:
--------------------------------------------------------------------------------
1 | # name: Update
2 | # key: u
3 | # expand-env: ()
4 | # --
5 | update $0
--------------------------------------------------------------------------------
/emacs.d/snippets/go-mode/ifnil:
--------------------------------------------------------------------------------
1 | # name: if () nil {...
2 | # key: ifnil
3 | # --
4 | if $1 == nil {
5 | $0
6 | }
7 |
--------------------------------------------------------------------------------
/emacs.d/snippets/go-mode/log:
--------------------------------------------------------------------------------
1 | # name: Log.Println
2 | # key: logln
3 | # expand-env: ()
4 | # --
5 | log.Println("$0")
--------------------------------------------------------------------------------
/emacs.d/snippets/go-mode/return-err:
--------------------------------------------------------------------------------
1 | # name: return err
2 | # key: reterr
3 | # --
4 | return $0fmt.Errorf("$1: %w",err)
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/attributes/style:
--------------------------------------------------------------------------------
1 | # name: style=''
2 | # key: st
3 | # expand-env: ()
4 | # --
5 | style='$0'
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/cite:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: cite
3 | # key: cite
4 | # --
5 | $1
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/code:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: code
3 | # key: code
4 | # --
5 | $1
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/django/var:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name : {{ ... }}
3 | # key: v
4 | # --
5 | {{ $0 }}
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/mark:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: mark
3 | # key: mark
4 | # --
5 | $1
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/ruby:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: ruby
3 | # key: ruby
4 | # --
5 | $0
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/samp:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: samp
3 | # key: samp
4 | # --
5 | $1
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/span:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: span
3 | # key: span
4 | # --
5 | $1
--------------------------------------------------------------------------------
/emacs.d/snippets/ruby-mode/collections/all:
--------------------------------------------------------------------------------
1 | # name: all? { |...| ... }
2 | # key: all
3 | # --
4 | all? { |${e}| $0 }
--------------------------------------------------------------------------------
/emacs.d/snippets/ruby-mode/collections/any:
--------------------------------------------------------------------------------
1 | # name: any? { |...| ... }
2 | # key: any
3 | # --
4 | any? { |${e}| $0 }
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/arr.new:
--------------------------------------------------------------------------------
1 | # name: Array[T](..)
2 | # key: arr
3 | # --
4 | Array[${1:value}](${2:args}) $0
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/def.body:
--------------------------------------------------------------------------------
1 | # name: def f = {...}
2 | # key: def
3 | # --
4 | def ${1:name} = {
5 | $0
6 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/def.ret:
--------------------------------------------------------------------------------
1 | # name: def f: R = ...
2 | # key: def
3 | # --
4 | def ${1:name}: ${2:Unit} = $0
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/if:
--------------------------------------------------------------------------------
1 | # name: if (cond) { .. }
2 | # key: if
3 | # --
4 | if (${1:condition}) {
5 | $0
6 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/mix:
--------------------------------------------------------------------------------
1 | # name: trait T { .. }
2 | # key: mix
3 | # --
4 | trait ${1:name} {
5 | $0
6 | }
--------------------------------------------------------------------------------
/emacs.d/batch/batch-run.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | set -e
4 |
5 | exec emacs --batch -q --load /emacs/batch-run.el ${@}
6 |
--------------------------------------------------------------------------------
/emacs.d/snippets/actionscript-mode/whi:
--------------------------------------------------------------------------------
1 | # name: while
2 | # key: whi
3 | # --
4 | while(${1:condition}) {
5 | $0
6 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/c++-mode/template:
--------------------------------------------------------------------------------
1 | # name: template
2 | # key: template
3 | # --
4 | template
--------------------------------------------------------------------------------
/emacs.d/snippets/c++-mode/using:
--------------------------------------------------------------------------------
1 | # name: using namespace ...
2 | # key: using
3 | # --
4 | using namespace ${std};
5 | $0
--------------------------------------------------------------------------------
/emacs.d/snippets/cc-mode/if:
--------------------------------------------------------------------------------
1 | # name: if (...) { ... }
2 | # key: if
3 | # --
4 | if (${1:condition})
5 | {
6 | $0
7 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/erlang-mode/beh:
--------------------------------------------------------------------------------
1 | # name: -behaviour(...).
2 | # key: beh
3 | # --
4 | -behaviour(${1:gen_server}).
5 | $0
--------------------------------------------------------------------------------
/emacs.d/snippets/erlang-mode/case:
--------------------------------------------------------------------------------
1 | # name: case ... of ... end
2 | # key: case
3 | # --
4 | case $1 of
5 | $0
6 | end
--------------------------------------------------------------------------------
/emacs.d/snippets/erlang-mode/inc.lib:
--------------------------------------------------------------------------------
1 | # name: -include_lib("...").
2 | # key: inc
3 | # --
4 | -include_lib("$1").
5 | $0
--------------------------------------------------------------------------------
/emacs.d/snippets/erlang-mode/rcv:
--------------------------------------------------------------------------------
1 | # name: receive ... -> ... end
2 | # key: rcv
3 | # --
4 | receive
5 | $1 -> $0
6 | end
--------------------------------------------------------------------------------
/emacs.d/snippets/git-commit-mode/words/disable:
--------------------------------------------------------------------------------
1 | # name: Disable
2 | # key: dis
3 | # expand-env: ()
4 | # --
5 | disable $0
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/base:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: base
3 | # key: base
4 | # --
5 | $0
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/bdo:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: bdo
3 | # key: bdo
4 | # --
5 | $1
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/django/ttag:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name : {% ... %}
3 | # key: tag
4 | # --
5 | {% $0 %}
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/embed:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: embed
3 | # key: embed
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/label:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: label
3 | # key: label
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/small:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: small
3 | # key: small
4 | # --
5 | $1
--------------------------------------------------------------------------------
/emacs.d/snippets/js-mode/declarations/var:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: var
3 | # key: var
4 | # --
5 | var $0 =
6 |
--------------------------------------------------------------------------------
/emacs.d/snippets/js-mode/misc/strict:
--------------------------------------------------------------------------------
1 | # name: "use strict";
2 | # key: strict
3 | # expand-env: ()
4 | # --
5 | "use strict";
--------------------------------------------------------------------------------
/emacs.d/snippets/makefile-mode/all:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: all
3 | # key: all
4 | # --
5 | all:
6 | $0
--------------------------------------------------------------------------------
/emacs.d/snippets/perl-mode/sub:
--------------------------------------------------------------------------------
1 | # name: sub ... { ... }
2 | # key: sub
3 | # --
4 | sub ${1:function_name} {
5 | $0
6 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/perl-mode/unless:
--------------------------------------------------------------------------------
1 | # name: unless (...) { ... }
2 | # key: unless
3 | # --
4 | unless ($1) {
5 | $0
6 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/perl-mode/while:
--------------------------------------------------------------------------------
1 | # name: while (...) { ... }
2 | # key: while
3 | # --
4 | while ($1) {
5 | $0
6 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/perl-mode/xfore:
--------------------------------------------------------------------------------
1 | # name: ... foreach ...
2 | # key: xfore
3 | # --
4 | ${1:expression} foreach @${2:array};
--------------------------------------------------------------------------------
/emacs.d/snippets/perl-mode/xwhile:
--------------------------------------------------------------------------------
1 | # name: ... while ...
2 | # key: xwhile
3 | # --
4 | ${1:expression} while ${2:condition};
--------------------------------------------------------------------------------
/emacs.d/snippets/ruby-mode/collections/det:
--------------------------------------------------------------------------------
1 | # name: detect { |...| ... }
2 | # key: det
3 | # --
4 | detect { |${e}| $0 }
--------------------------------------------------------------------------------
/emacs.d/snippets/ruby-mode/control structure/tim:
--------------------------------------------------------------------------------
1 | # name: times { |n| ... }
2 | # key: tim
3 | # --
4 | times { |${n}| $0 }
--------------------------------------------------------------------------------
/emacs.d/snippets/ruby-mode/general/=b:
--------------------------------------------------------------------------------
1 | # name: =begin rdoc ... =end
2 | # key: =b
3 | # --
4 | =begin rdoc
5 | $0
6 | =end
--------------------------------------------------------------------------------
/emacs.d/snippets/ruby-mode/general/dee:
--------------------------------------------------------------------------------
1 | # name: deep_copy(...)
2 | # key: dee
3 | # --
4 | Marshal.load(Marshal.dump($0))
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/at.return:
--------------------------------------------------------------------------------
1 | # name: @return description
2 | # key: at
3 | # --
4 | @return ${1:description} $0
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/cons:
--------------------------------------------------------------------------------
1 | # name: element1 :: element2
2 | # key: cons
3 | # --
4 | ${1:element1} :: ${2:element2} $0
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/def.arg:
--------------------------------------------------------------------------------
1 | # name: def f(arg: T) = ...
2 | # key: def
3 | # --
4 | def ${1:name}(${2:args}) = $0
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/foreach:
--------------------------------------------------------------------------------
1 | # name: foreach(x => ..)
2 | # key: foreach
3 | # --
4 | foreach(${1:x} => ${2:body}) $0
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/map.new:
--------------------------------------------------------------------------------
1 | # name: Map(key -> value)
2 | # key: map
3 | # --
4 | Map(${1:key} -> ${2:value}) $0
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/val.new:
--------------------------------------------------------------------------------
1 | # name: val name = new ..
2 | # key: val
3 | # --
4 | val ${1:name} = new ${2:obj} $0
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/val.ret:
--------------------------------------------------------------------------------
1 | # name: val name: T = ..
2 | # key: val
3 | # --
4 | val ${1:name}: ${2:T} = ${3:obj} $0
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/var.new:
--------------------------------------------------------------------------------
1 | # name: var name = new ..
2 | # key: var
3 | # --
4 | var ${1:name} = new ${2:obj} $0
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/var.ret:
--------------------------------------------------------------------------------
1 | # name: var name: T = ..
2 | # key: var
3 | # --
4 | var ${1:name}: ${2:T} = ${3:obj} $0
--------------------------------------------------------------------------------
/emacs.d/snippets/sh-mode/skeleton:
--------------------------------------------------------------------------------
1 | # name: sh skeleton
2 | # expand-env: ()
3 | # --
4 | #!/bin/sh
5 |
6 | set -e
7 |
8 |
--------------------------------------------------------------------------------
/emacs.d/gerwinski-gnu-head.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thomasf/dotfiles-thomasf-emacs/HEAD/emacs.d/gerwinski-gnu-head.png
--------------------------------------------------------------------------------
/emacs.d/icons/gray.xbm:
--------------------------------------------------------------------------------
1 | #define gray_width 2
2 | #define gray_height 2
3 | static char gray_bits[] = {
4 | '\x01','\x02'};
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/actionscript-mode/if:
--------------------------------------------------------------------------------
1 | # name: if(...)
2 | # key: if
3 | # --
4 | if (${1:condition}) {
5 | ${2:body}
6 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/actionscript-mode/pub.var:
--------------------------------------------------------------------------------
1 | # name: public var ...
2 | # key: pub.var
3 | # --
4 | public var ${1:name}:${2:type};
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/eq:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: eq
3 | # key: eq
4 | # --
5 | (eq $0)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/if:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: if
3 | # key: if
4 | # --
5 | (if $0)
--------------------------------------------------------------------------------
/emacs.d/snippets/erlang-mode/compile:
--------------------------------------------------------------------------------
1 | # name: -compile(...).
2 | # key: compile
3 | # --
4 | -compile([${1:export_all}]).
5 | $0
--------------------------------------------------------------------------------
/emacs.d/snippets/erlang-mode/ifdef:
--------------------------------------------------------------------------------
1 | # name: -ifdef(...). ... -endif.
2 | # key: ifdef
3 | # --
4 | -ifdef($1).
5 | $0
6 | -endif.
--------------------------------------------------------------------------------
/emacs.d/snippets/git-commit-mode/words/set:
--------------------------------------------------------------------------------
1 | # name: Set
2 | # key: set
3 | # binding:
4 | # expand-env: ()
5 | # --
6 | set $0
--------------------------------------------------------------------------------
/emacs.d/snippets/go-mode/ifelse:
--------------------------------------------------------------------------------
1 | # name: ifelse
2 | # key: ifelse
3 | # --
4 | if ${1:condition} {
5 | $0
6 | } else {
7 | }
8 |
--------------------------------------------------------------------------------
/emacs.d/snippets/go-mode/select:
--------------------------------------------------------------------------------
1 | # name: select
2 | # key: select
3 | # --
4 | select {
5 | case $1 <- $2:
6 | $0
7 | }
8 |
--------------------------------------------------------------------------------
/emacs.d/snippets/go-mode/struct:
--------------------------------------------------------------------------------
1 | # name: struct
2 | # key: struct
3 | # --
4 | // $1 .
5 | type $1 struct {
6 | $0
7 | }
8 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/button:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: button
3 | # key: button
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/comment:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: !
3 | # key: !
4 | # --
5 | $0
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/legend:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: legend
3 | # key: legend
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/strong:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: strong
3 | # key: strong
4 | # --
5 | $1
--------------------------------------------------------------------------------
/emacs.d/snippets/js-mode/basic/if:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: if
3 | # key: if
4 | # --
5 | if( ${1} ){
6 | $0
7 | }
8 |
--------------------------------------------------------------------------------
/emacs.d/snippets/perl-mode/xunless:
--------------------------------------------------------------------------------
1 | # name: ... unless ...
2 | # key: xunless
3 | # --
4 | ${1:expression} unless ${2:condition}
--------------------------------------------------------------------------------
/emacs.d/snippets/python-mode/general/while:
--------------------------------------------------------------------------------
1 | # name: while ... : ...
2 | # key: while
3 | # --
4 | while ${condition}:
5 | $0
--------------------------------------------------------------------------------
/emacs.d/snippets/ruby-mode/collections/deli:
--------------------------------------------------------------------------------
1 | # name: delete_if { |...| ... }
2 | # key: deli
3 | # --
4 | delete_if { |${e} $0 }
--------------------------------------------------------------------------------
/emacs.d/snippets/ruby-mode/collections/eai:
--------------------------------------------------------------------------------
1 | # name: each_index { |i| ... }
2 | # key: eai
3 | # --
4 | each_index { |${i}| $0 }
--------------------------------------------------------------------------------
/emacs.d/snippets/ruby-mode/control structure/if:
--------------------------------------------------------------------------------
1 | # name: if ... end
2 | # key: if
3 | # --
4 | if ${1:condition}
5 | $0
6 | end
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/expect:
--------------------------------------------------------------------------------
1 | # name: expect(value) { ..}
2 | # key: expect
3 | # --
4 | expect(${1:reply}) {
5 | $0
6 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/hmap.new:
--------------------------------------------------------------------------------
1 | # name: new HashMap[K, V]
2 | # key: hmap
3 | # --
4 | new HashMap[${1:key}, ${2:value}] $0
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/ob:
--------------------------------------------------------------------------------
1 | # name: object name extends T
2 | # key: ob
3 | # --
4 | object ${1:name} extends ${2:type} $0
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/throw:
--------------------------------------------------------------------------------
1 | # name: throw new Exception
2 | # key: throw
3 | # --
4 | throw new ${1:Exception}(${2:msg}) $0
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/tup.arrow:
--------------------------------------------------------------------------------
1 | # name: element1 -> element2
2 | # key: tup
3 | # --
4 | ${1:element1} -> ${2:element2} $0
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/tup.paren:
--------------------------------------------------------------------------------
1 | # name: (element1, element2)
2 | # key: tup
3 | # --
4 | (${1:element1}, ${2:element2}) $0
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/whi:
--------------------------------------------------------------------------------
1 | # name: while(cond) { .. }
2 | # key: whi
3 | # --
4 | while (${1:condition}) {
5 | $0
6 | }
--------------------------------------------------------------------------------
/emacs.d/icons/gray1.xbm:
--------------------------------------------------------------------------------
1 | #define gray1_width 2
2 | #define gray1_height 2
3 | static char gray1_bits[] = {
4 | '\x01','\x02'};
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/actionscript-mode/pri.var:
--------------------------------------------------------------------------------
1 | # name: private var ...
2 | # key: pri.var
3 | # --
4 | private var ${1:name}:${2:type};
--------------------------------------------------------------------------------
/emacs.d/snippets/cc-mode/if.orig:
--------------------------------------------------------------------------------
1 | # name: if (...) { ... }
2 | # key: cc-modeif
3 | # --
4 | if (${1:condition})
5 | {
6 | $0
7 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/cc-mode/struct:
--------------------------------------------------------------------------------
1 | # name: struct ... { ... }
2 | # key: struct
3 | # --
4 | struct ${1:name}
5 | {
6 | $0
7 | };
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/car:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: car
3 | # key: car
4 | # --
5 | (car $0)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/cdr:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: cdr
3 | # key: cdr
4 | # --
5 | (cdr $0)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/kbd:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: kbd
3 | # key: kbd
4 | # --
5 | (kbd "$0")
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/set:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: set
3 | # key: set
4 | # --
5 | (set $0 )
--------------------------------------------------------------------------------
/emacs.d/snippets/erlang-mode/ifndef:
--------------------------------------------------------------------------------
1 | # name: -ifndef(...). ... -endif.
2 | # key: ifndef
3 | # --
4 | -ifndef($1).
5 | $0
6 | -endif.
--------------------------------------------------------------------------------
/emacs.d/snippets/git-commit-mode/misc/typo:
--------------------------------------------------------------------------------
1 | # name: fix typo
2 | # key: ty
3 | # binding:
4 | # expand-env: ()
5 | # --
6 | fix typo
--------------------------------------------------------------------------------
/emacs.d/snippets/git-commit-mode/words/remove:
--------------------------------------------------------------------------------
1 | # name: remove
2 | # key: r
3 | # binding:
4 | # expand-env: ()
5 | # --
6 | remove $0
--------------------------------------------------------------------------------
/emacs.d/snippets/go-mode/log-string:
--------------------------------------------------------------------------------
1 | # name: log string
2 | # key: logstr
3 | # expand-env: ()
4 | # --
5 | log.Printf("$1: %s", $1$0)
--------------------------------------------------------------------------------
/emacs.d/snippets/go-mode/test:
--------------------------------------------------------------------------------
1 | # name: test {}
2 | # key: test
3 | # --
4 | func Test${1:Feature}(t *testing.T) {
5 | $0
6 | }
7 |
--------------------------------------------------------------------------------
/emacs.d/snippets/go-mode/test.run:
--------------------------------------------------------------------------------
1 | # name: test.run
2 | # key: t.run
3 | # --
4 | t.Run("$1", func(t *testing.T) {
5 | $0
6 | })
7 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/abbr:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: abbr
3 | # key: abbr
4 | # --
5 | $1$0
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/caption:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: caption
3 | # key: caption
4 | # --
5 | $1
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/doctype:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: doctype
3 | # key: doctype
4 | # --
5 |
6 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/list/ol:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: ol
3 | # key: ol
4 | # --
5 |
6 | - $0
7 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/list/ul:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: ul
3 | # key: ul
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/nav:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: nav
3 | # key: nav
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/summary:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: summary
3 | # key: summary
4 | # --
5 | $1
--------------------------------------------------------------------------------
/emacs.d/snippets/js-mode/misc/require:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: rq
3 | # key: rq
4 | # --
5 | $1 = require("${2:$1}")$0
6 |
--------------------------------------------------------------------------------
/emacs.d/snippets/js-mode/misc/while:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: while
3 | # key: wh
4 | # --
5 | while($1){
6 | $0
7 | }
8 |
--------------------------------------------------------------------------------
/emacs.d/snippets/ruby-mode/collections/classify:
--------------------------------------------------------------------------------
1 | # name: classify { |...| ... }
2 | # key: classify
3 | # --
4 | classify { |${e}| $0 }
--------------------------------------------------------------------------------
/emacs.d/snippets/ruby-mode/collections/collect:
--------------------------------------------------------------------------------
1 | # name: collect { |...| ... }
2 | # key: collect
3 | # --
4 | collect { |${e}| $0 }
--------------------------------------------------------------------------------
/emacs.d/snippets/ruby-mode/collections/eav:
--------------------------------------------------------------------------------
1 | # name: each_value { |val| ... }
2 | # key: eav
3 | # --
4 | each_value { |${val}| $0 }
--------------------------------------------------------------------------------
/emacs.d/snippets/ruby-mode/collections/reject:
--------------------------------------------------------------------------------
1 | # name: reject { |...| ... }
2 | # key: reject
3 | # --
4 | reject { |${1:element}| $0 }
--------------------------------------------------------------------------------
/emacs.d/snippets/ruby-mode/collections/select:
--------------------------------------------------------------------------------
1 | # name: select { |...| ... }
2 | # key: select
3 | # --
4 | select { |${1:element}| $0 }
--------------------------------------------------------------------------------
/emacs.d/snippets/ruby-mode/control structure/when:
--------------------------------------------------------------------------------
1 | # name: when ... end
2 | # key: when
3 | # --
4 | when ${condition}
5 | $0
6 | end
--------------------------------------------------------------------------------
/emacs.d/snippets/ruby-mode/definitions/cla:
--------------------------------------------------------------------------------
1 | # name: class << self ... end
2 | # key: cla
3 | # --
4 | class << ${self}
5 | $0
6 | end
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/at.param:
--------------------------------------------------------------------------------
1 | # name: @param name description
2 | # key: at
3 | # --
4 | @param ${1:name} ${2:description} $0
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/cc:
--------------------------------------------------------------------------------
1 | # name: case class T(arg: A)
2 | # key: cc
3 | # --
4 | case class ${1:name}(${2:arg}: ${3:type}) $0
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/cl.arg:
--------------------------------------------------------------------------------
1 | # name: class T(args) { .. }
2 | # key: cl
3 | # --
4 | class ${1:name}(${2:args}) {
5 | $0
6 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/doc.scaladoc:
--------------------------------------------------------------------------------
1 | # name: /** ... */
2 | # key: doc
3 | # --
4 | /**
5 | * ${1:description}
6 | * $0
7 | */
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/ls.val-new:
--------------------------------------------------------------------------------
1 | # name: val l = List(..)
2 | # key: ls
3 | # --
4 | val ${1:l} = List(${2:args}, ${3:args}) $0
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/pr.trace:
--------------------------------------------------------------------------------
1 | # name: println("obj: " + obj)
2 | # key: pr
3 | # --
4 | println("${1:obj}: " + ${1:obj}) $0
--------------------------------------------------------------------------------
/emacs.d/batch/install-1.el:
--------------------------------------------------------------------------------
1 | (load-file "./install-common.el")
2 | (require-package 'org-plus-contrib)
3 | (require-package 'htmlize)
4 |
--------------------------------------------------------------------------------
/emacs.d/snippets/actionscript-mode/pro.var:
--------------------------------------------------------------------------------
1 | # name: protected var ...;
2 | # key: pro.var
3 | # --
4 | protected var ${1:name}:${2:type};
--------------------------------------------------------------------------------
/emacs.d/snippets/c-mode/fopen:
--------------------------------------------------------------------------------
1 | # name: FILE *fp = fopen(..., ...);
2 | # key: fopen
3 | # --
4 | FILE *${fp} = fopen(${"file"}, "${r}");
--------------------------------------------------------------------------------
/emacs.d/snippets/cc-mode/do:
--------------------------------------------------------------------------------
1 | # name: do { ... } while (...)
2 | # key: do
3 | # --
4 | do
5 | {
6 | $0
7 | } while (${1:condition});
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/cons:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: cons
3 | # key: cons
4 | # --
5 | (cons $0)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/equal:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: equal
3 | # key: equal
4 | # --
5 | (equal $0)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/list:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: list
3 | # key: list
4 | # --
5 | (list $0)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/nth:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: nth
3 | # key: nth
4 | # --
5 | (nth N$0 LIST)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/null:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: null
3 | # key: null
4 | # --
5 | (null $0)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/princ:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: princ
3 | # key: princ
4 | # --
5 | (princ $0)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/print:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: print
3 | # key: print
4 | # --
5 | (print $0)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/progn:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: progn
3 | # key: progn
4 | # --
5 | (progn $0)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/push:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: push
3 | # key: push
4 | # --
5 | (push $0 )
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/when:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: when
3 | # key: when
4 | # --
5 | (when $0)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/while:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: while
3 | # key: while
4 | # --
5 | (while $0)
--------------------------------------------------------------------------------
/emacs.d/snippets/git-commit-mode/cleanup/reformat:
--------------------------------------------------------------------------------
1 | # name: reformat source
2 | # key: fmt
3 | # expand-env: ()
4 | # --
5 | reformat source
--------------------------------------------------------------------------------
/emacs.d/snippets/go-mode/forrange:
--------------------------------------------------------------------------------
1 | # name: for range
2 | # key: range
3 | # --
4 | for ${3:k}, ${2:v} := range ${1:target} {
5 | $0
6 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/go-mode/log-struct:
--------------------------------------------------------------------------------
1 | # name: log struct
2 | # key: logstruct
3 | # expand-env: ()
4 | # --
5 | log.Printf("$1: %+v", $1$0)
--------------------------------------------------------------------------------
/emacs.d/snippets/go-mode/make:
--------------------------------------------------------------------------------
1 | # name: make
2 | # key: make
3 | # --
4 | make(${1:Type}, ${2:startingSize}, ${3:memorySize})
5 | $0
6 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/attributes/class:
--------------------------------------------------------------------------------
1 | # name: class=''
2 | # key: cl
3 | # binding:
4 | # expand-env: ()
5 | # --
6 | class='$0'
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/body:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: body
3 | # key: body
4 | # --
5 |
6 | $0
7 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/dfn:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: dfn
3 | # key: dfn
4 | # --
5 | $1
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/django/load:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: load
3 | # key: load
4 | # --
5 | {% load ${1:template_lib} %}$0
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/django/super:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: super block
3 | # key: super
4 | # --
5 | {{ block.super }}$0
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/img:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: img
3 | # key: img
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/option:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: option
3 | # key: option
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/source:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: source
3 | # key: source
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/js-mode/misc/assert:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: assert
3 | # key: assert
4 | # --
5 | assert.${1:equal}($0);
6 |
--------------------------------------------------------------------------------
/emacs.d/snippets/js-mode/misc/throw:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: throw
3 | # key: throw
4 | # --
5 | throw new Error("$1");
6 |
--------------------------------------------------------------------------------
/emacs.d/snippets/nxml-mode/br:
--------------------------------------------------------------------------------
1 | # contributor: Anders Bach Nielsen
2 | # name:
3 | # key: br
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/nxml-mode/hr:
--------------------------------------------------------------------------------
1 | # contributor: Anders Bach Nielsen
2 | # name:
3 | # key: hr
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/org-mode/logdrawer:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name : logdrawer
3 | # key: log
4 | # --
5 | :LOGBOOK:
6 | $0
7 | :END:
--------------------------------------------------------------------------------
/emacs.d/snippets/python-mode/general/for:
--------------------------------------------------------------------------------
1 | # name: for ... in ... : ...
2 | # key: for
3 | # --
4 | for ${var} in ${collection}:
5 | $0
--------------------------------------------------------------------------------
/emacs.d/snippets/ruby-mode/control structure/until:
--------------------------------------------------------------------------------
1 | # name: until ... end
2 | # key: until
3 | # --
4 | until ${condition}
5 | $0
6 | end
--------------------------------------------------------------------------------
/emacs.d/snippets/ruby-mode/control structure/while:
--------------------------------------------------------------------------------
1 | # name: while ... end
2 | # key: while
3 | # --
4 | while ${condition}
5 | $0
6 | end
--------------------------------------------------------------------------------
/emacs.d/snippets/ruby-mode/definitions/am:
--------------------------------------------------------------------------------
1 | # name: alias_method new, old
2 | # key: am
3 | # --
4 | alias_method :${new_name}, :${old_name}
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/cl.abs:
--------------------------------------------------------------------------------
1 | # name: abstract class T { .. }
2 | # key: cl
3 | # --
4 | abstract class ${1:name} {
5 | $0
6 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/def.ret-body:
--------------------------------------------------------------------------------
1 | # name: def f: R = {...}
2 | # key: def
3 | # --
4 | def ${1:name}: ${3:Unit} = {
5 | $0
6 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/for.loop:
--------------------------------------------------------------------------------
1 | # name: for (x <- xs) { ... }
2 | # key: for
3 | # --
4 | for (${1:x} <- ${2:xs}) {
5 | $0
6 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/hset.val-new:
--------------------------------------------------------------------------------
1 | # name: val m = new HashSet[K]
2 | # key: hset
3 | # --
4 | val ${1:m} = new HashSet[${2:key}] $0
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/match:
--------------------------------------------------------------------------------
1 | # name: cc match { .. }
2 | # key: match
3 | # --
4 | ${1:cc} match {
5 | case ${2:pattern} => $0
6 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/sh-mode/if:
--------------------------------------------------------------------------------
1 | # name: if...
2 | # key: if
3 | # binding:
4 | # expand-env: ()
5 | # --
6 | if [ $1 ]; then
7 | $0
8 | fi
--------------------------------------------------------------------------------
/emacs.d/snippets/actionscript-mode/for:
--------------------------------------------------------------------------------
1 | # name: for (...) { ... }
2 | # key: for
3 | # --
4 | for ($1;$2;$3) {
5 | ${4:# body...}
6 | }
7 |
--------------------------------------------------------------------------------
/emacs.d/snippets/css-mode/mar.mar:
--------------------------------------------------------------------------------
1 | # contributor: rejeep
2 | # name: margin: ...
3 | # key: mar
4 | # --
5 | margin: $1;
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/and:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: and
3 | # key: and
4 | # key: a
5 | # --
6 | (and $0)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/append:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: append
3 | # key: append
4 | # --
5 | (append $0 )
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/apply:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: apply
3 | # key: apply
4 | # --
5 | (apply $0 )
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/assq:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: assq
3 | # key: assq
4 | # --
5 | (assq KEY$0 LIST)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/bind-key:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: bind-key
3 | # key: bind-key
4 | # --
5 | (bind-key "$0")
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/concat:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: concat
3 | # key: concat
4 | # --
5 | (concat $0)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/consp:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: consp
3 | # key: consp
4 | # --
5 | (consp $0 )
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/dolist:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: dolist
3 | # key: dolist
4 | # --
5 | (dolist $0 )
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/length:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: length
3 | # key: length
4 | # --
5 | (length $0)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/mapcar:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: mapcar
3 | # key: mapcar
4 | # --
5 | (mapcar $0 )
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/memq:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: memq
3 | # key: memq
4 | # --
5 | (memq ELT$0 LIST)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/or:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: or
3 | # key: or
4 | # key: o
5 | # --
6 | (or $0 )
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/repeat:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: repeat
3 | # key: repeat
4 | # --
5 | (repeat $0 )
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/string:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: string
3 | # key: string
4 | # --
5 | (string $0 )
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/unless:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: unless
3 | # key: unless
4 | # --
5 | (unless $0)
--------------------------------------------------------------------------------
/emacs.d/snippets/git-commit-mode/misc/notes:
--------------------------------------------------------------------------------
1 | # name: Update notes
2 | # key: not
3 | # binding:
4 | # expand-env: ()
5 | # --
6 | update notes
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/aside:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: aside
3 | # key: aside
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/django/if:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name : {% if %}
3 | # key: if
4 | # --
5 | {% if $0 %}
6 |
7 | {% endif %}
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/output:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: output
3 | # key: output
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/param:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: param
3 | # key: param
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/title:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: title
3 | # key: title
4 | # --
5 | ${1:Untitled Document}
--------------------------------------------------------------------------------
/emacs.d/snippets/js-mode/debug/log:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8; mode: snippet -*-
2 | # name: console.log
3 | # key: log
4 | # --
5 | console.log($0);
--------------------------------------------------------------------------------
/emacs.d/snippets/js-mode/declarations/proto:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: proto
3 | # key: proto
4 | # --
5 | $1.prototype.$2 = $0
6 |
--------------------------------------------------------------------------------
/emacs.d/snippets/js-mode/misc/it:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: it
3 | # key: it
4 | # --
5 | it('$1', function(done){
6 | $2
7 | });
8 |
--------------------------------------------------------------------------------
/emacs.d/snippets/js-mode/misc/switch:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: switch
3 | # key: switch
4 | # --
5 | switch($1){
6 | $0
7 | };
8 |
--------------------------------------------------------------------------------
/emacs.d/snippets/markdown-mode/_:
--------------------------------------------------------------------------------
1 | # name: Emphasis
2 | # contributor: Peng Deng
3 | # key: _
4 | # --
5 | _${1:Text}_ $0
--------------------------------------------------------------------------------
/emacs.d/snippets/markdown-mode/__:
--------------------------------------------------------------------------------
1 | # name: Strong
2 | # contributor: Peng Deng
3 | # key: __
4 | # --
5 | **${1:Text}** $0
--------------------------------------------------------------------------------
/emacs.d/snippets/nxml-mode/p:
--------------------------------------------------------------------------------
1 | # contributor: Anders Bach Nielsen
2 | # name: ...
3 | # key: p
4 | # --
5 | $1
--------------------------------------------------------------------------------
/emacs.d/snippets/ruby-mode/collections/eac:
--------------------------------------------------------------------------------
1 | # name: each_cons(...) { |...| ... }
2 | # key: eac
3 | # --
4 | each_cons(${1:2}) { |${group}| $0 }
--------------------------------------------------------------------------------
/emacs.d/snippets/ruby-mode/collections/zip:
--------------------------------------------------------------------------------
1 | #name : zip(...) { |...| ... }
2 | # key: collectionszip
3 | # --
4 | zip(${enums}) { |${row}| $0 }
--------------------------------------------------------------------------------
/emacs.d/snippets/ruby-mode/control structure/upt:
--------------------------------------------------------------------------------
1 | # name: upto(...) { |n| ... }
2 | # key: upt
3 | # --
4 | upto(${n}) { |${i}|
5 | $0
6 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/arr.val-new:
--------------------------------------------------------------------------------
1 | # name: val a = Array[T](..)
2 | # key: arr
3 | # --
4 | val ${1:arr} = Array[${2:value}](${3:args}) $0
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/def.arg-ret:
--------------------------------------------------------------------------------
1 |
2 | # name: def f(arg: T): R = ...
3 | # key: def
4 | # --
5 | def ${1:name}(${2:args}): ${3:Unit} = $0
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/doc.def:
--------------------------------------------------------------------------------
1 | # name: /** method name */
2 | # key: doc
3 | # --
4 | /**
5 | * `(scala-mode-def-and-args-doc)`
6 | */
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/test:
--------------------------------------------------------------------------------
1 | # name: @Test def testX = ...
2 | # key: test
3 | # --
4 | //@Test
5 | def test${1:name} = {
6 | $0
7 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/tr.with:
--------------------------------------------------------------------------------
1 | # name: trait T1 with T2 { .. }
2 | # key: tr
3 | # --
4 | trait ${1:name} with ${2:trait} {
5 | $0
6 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/try.finally:
--------------------------------------------------------------------------------
1 | # name: try { .. } finally { .. }
2 | # key: try
3 | # --
4 | try {
5 |
6 | } finally {
7 | $0
8 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/sh-mode/function:
--------------------------------------------------------------------------------
1 | # name: function
2 | # key: fn
3 | # binding:
4 | # expand-env: ()
5 | # --
6 | ${1:name}() {
7 | $0
8 | }
--------------------------------------------------------------------------------
/emacs.d/batch/exec-wrapper.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | set -e
4 |
5 | export HOME=/emacs
6 |
7 | cmd=$(basename ${0})
8 | exec /usr/bin/${cmd} ${@}
9 |
--------------------------------------------------------------------------------
/emacs.d/icons/gray3.xbm:
--------------------------------------------------------------------------------
1 | #define gray3_width 4
2 | #define gray3_height 4
3 | static char gray3_bits[] = {
4 | '\x01','\x00','\x04','\x00'};
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/actionscript-mode/pub.int:
--------------------------------------------------------------------------------
1 | # name: public interface
2 | # key: pub.int
3 | # --
4 | public interface ${1:name} {
5 | $0
6 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/css-mode/fs:
--------------------------------------------------------------------------------
1 | # contributor: rejeep
2 | # name: font-size: ...
3 | # key: fs
4 | # --
5 | font-size: ${12px};
--------------------------------------------------------------------------------
/emacs.d/snippets/css-mode/pad.pad:
--------------------------------------------------------------------------------
1 | # contributor: rejeep
2 | # name: padding: ...
3 | # key: pad
4 | # --
5 | padding: $1;
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/aref:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: aref
3 | # key: aref
4 | # --
5 | (aref ARRAY$0 INDEX)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/fboundp:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: fboundp
3 | # key: fboundp
4 | # --
5 | (fboundp '$0 )
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/funcall:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: funcall
3 | # key: funcall
4 | # --
5 | (funcall $0)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/get:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: get
3 | # key: get
4 | # --
5 | (get SYMBOL$0 PROPNAME)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/mapc:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: mapc
3 | # key: mapc
4 | # --
5 | (mapc '$0 SEQUENCE)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/not:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: not
3 | # key: not
4 | # key: n
5 | # --
6 | (not $0 )
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/point:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: point
3 | # key: point
4 | # key: p
5 | # --
6 | (point)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/put:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: put
3 | # key: put
4 | # --
5 | (put $0 PROPNAME VALUE)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/require:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: require
3 | # key: require
4 | # --
5 | (require $0 )
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/setq:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: setq
3 | # key: setq
4 | # key: s
5 | # --
6 | (setq $0 )
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/string=:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: string=
3 | # key: string=
4 | # --
5 | (string= $0 )
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/stringp:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: stringp
3 | # key: stringp
4 | # --
5 | (stringp $0)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/unbind-key:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: unbind-key
3 | # key: unbind-key
4 | # --
5 | (unbind-key "$0")
--------------------------------------------------------------------------------
/emacs.d/snippets/erlang-mode/if:
--------------------------------------------------------------------------------
1 | # name: if ... -> ... ; true -> ... end
2 | # key: if
3 | # --
4 | if
5 | $1 -> $2;
6 | true -> $0
7 | end
--------------------------------------------------------------------------------
/emacs.d/snippets/erlang-mode/rcv.after:
--------------------------------------------------------------------------------
1 | # name: receive after ... -> ... end
2 | # key: rcv
3 | # --
4 | receive
5 | after
6 | $1 -> $0
7 | end
--------------------------------------------------------------------------------
/emacs.d/snippets/erlang-mode/try:
--------------------------------------------------------------------------------
1 | # name: try ... of ... catch after end
2 | # key: try
3 | # --
4 | try $1 of
5 | $0
6 | catch
7 | after
8 | end
--------------------------------------------------------------------------------
/emacs.d/snippets/feature-mode/whe:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # key: whe
3 | # name: When some action
4 | # --
5 | When ${1:some action}
6 | $0
7 |
--------------------------------------------------------------------------------
/emacs.d/snippets/git-commit-mode/misc/readme:
--------------------------------------------------------------------------------
1 | # name: update readme
2 | # key: readme
3 | # binding:
4 | # expand-env: ()
5 | # --
6 | update README
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/figcaption:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: figcaption
3 | # key: figcaption
4 | # --
5 | $1
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/figure:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: figure
3 | # key: figure
4 | # --
5 |
6 | $0
7 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/footer:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: footer
3 | # key: footer
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/manifest:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: manifest
3 | # key: manifest
4 | # --
5 | manifest="${1:filename}.appcache"
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/select:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: select
3 | # key: select
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/table/tbody:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: tbody
3 | # key: tbody
4 | # --
5 |
6 | $0
7 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/table/tfoot:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: tfoot
3 | # key: tfoot
4 | # --
5 |
6 | $0
7 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/table/thead:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: thead
3 | # key: thead
4 | # --
5 |
6 | $0
7 |
--------------------------------------------------------------------------------
/emacs.d/snippets/js-mode/declarations/fn:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: function
3 | # key: fn
4 | # --
5 | function$1($2){
6 | $0
7 | }
8 |
--------------------------------------------------------------------------------
/emacs.d/snippets/js-mode/misc/expect:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: expect
3 | # key: expect
4 | # --
5 | expect($1).${2:to.equal}($0);
6 |
--------------------------------------------------------------------------------
/emacs.d/snippets/markdown-mode/`:
--------------------------------------------------------------------------------
1 | # name: Inline Code
2 | # contributor: Peng Deng
3 | # key: `
4 | # --
5 | \`${1:Code}\` $0
--------------------------------------------------------------------------------
/emacs.d/snippets/nxml-mode/li:
--------------------------------------------------------------------------------
1 | # contributor: Anders Bach Nielsen
2 | # name: ...
3 | # key: li
4 | # --
5 | $1
--------------------------------------------------------------------------------
/emacs.d/snippets/perl-mode/ife:
--------------------------------------------------------------------------------
1 | # name: if (...) { ... } else { ... }
2 | # key: ife
3 | # --
4 | if ($1) {
5 | $2
6 | } else {
7 | $3
8 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/ruby-mode/collections/eawi:
--------------------------------------------------------------------------------
1 | # name: each_with_index { |e, i| ... }
2 | # key: eawi
3 | # --
4 | each_with_index { |${e}, ${i}| $0 }
--------------------------------------------------------------------------------
/emacs.d/snippets/ruby-mode/general/case:
--------------------------------------------------------------------------------
1 | # name: case ... end
2 | # key: case
3 | # --
4 | case ${1:object}
5 | when ${2:condition}
6 | $0
7 | end
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/def.arg-body:
--------------------------------------------------------------------------------
1 |
2 | # name: def f(arg: T) = {...}
3 | # key: def
4 | # --
5 | def ${1:name}(${2:args}) = {
6 | $0
7 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/tr.ext:
--------------------------------------------------------------------------------
1 | # name: trait T extends C { .. }
2 | # key: tr
3 | # --
4 | trait ${1:name} extends ${2:class} {
5 | $0
6 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/text-mode/email:
--------------------------------------------------------------------------------
1 | # name: (user's email)
2 | # key: email
3 | # --
4 | `(replace-regexp-in-string "@" "@NOSPAM." user-mail-address)`
--------------------------------------------------------------------------------
/emacs.d/calc.el:
--------------------------------------------------------------------------------
1 |
2 | ;;; Custom units stored by Calc on Wed Jan 22 18:17:03 2014
3 | ;;; (no custom units defined)
4 | ;;; End of custom units
5 |
6 |
--------------------------------------------------------------------------------
/emacs.d/snippets/actionscript-mode/pub:
--------------------------------------------------------------------------------
1 | # name: public
2 | # key: pub
3 | # --
4 | public function ${1:name}(${2:params}):${3:ret_type} {
5 | $0
6 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/css-mode/mar.top:
--------------------------------------------------------------------------------
1 | # contributor: rejeep
2 | # name: margin-top: ...
3 | # key: mar
4 | # --
5 | margin-top: $1;
--------------------------------------------------------------------------------
/emacs.d/snippets/css-mode/pad.top:
--------------------------------------------------------------------------------
1 | # contributor: rejeep
2 | # name: padding-top: ...
3 | # key: pad
4 | # --
5 | padding-top: $1;
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/aset:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: aset
3 | # key: aset
4 | # --
5 | (aset ARRAY$0 IDX NEWELT)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/defsubst:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: defsubst
3 | # key: defsubst
4 | # --
5 | (defsubst $0 )
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/function:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: function
3 | # key: function
4 | # --
5 | (function $0 )
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/point-max:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: point-max
3 | # key: point-max
4 | # --
5 | (point-max)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/use-package:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: use-package
3 | # key: use-package
4 | # --
5 | (use-package $0)
--------------------------------------------------------------------------------
/emacs.d/snippets/feature-mode/and:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # key: and
3 | # name: And something else
4 | # --
5 | And ${1:something else}
6 | $0
7 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/address:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: address
3 | # key: address
4 | # --
5 |
6 | $0
7 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/article:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: article
3 | # key: article
4 | # --
5 |
6 | $0
7 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/author:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: author
3 | # key: author
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/details:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: details
3 | # key: details
4 | # --
5 |
6 | $0
7 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/header/h1:
--------------------------------------------------------------------------------
1 | # contributor: Jimmy Wu
2 | # name: ...
3 | # key: h1
4 | # --
5 | $1
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/header/h2:
--------------------------------------------------------------------------------
1 | # contributor: Jimmy Wu
2 | # name: ...
3 | # key: h2
4 | # --
5 | $1
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/header/h3:
--------------------------------------------------------------------------------
1 | # contributor: Jimmy Wu
2 | # name: ...
3 | # key: h3
4 | # --
5 | $1
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/header/h4:
--------------------------------------------------------------------------------
1 | # contributor: Jimmy Wu
2 | # name: ...
3 | # key: h4
4 | # --
5 | $1
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/header/h5:
--------------------------------------------------------------------------------
1 | # contributor: Jimmy Wu
2 | # name: ...
3 | # key: h5
4 | # --
5 | $1
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/header/h6:
--------------------------------------------------------------------------------
1 | # contributor: Jimmy Wu
2 | # name: ...
3 | # key: h6
4 | # --
5 | $1
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/progress:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: progress
3 | # key: progress
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/section:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: section
3 | # key: section
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/table/td:
--------------------------------------------------------------------------------
1 | # contributor: Jimmy Wu
2 | # name: ... |
3 | # key: td
4 | # --
5 | $2 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/table/th:
--------------------------------------------------------------------------------
1 | # contributor: Jimmy Wu
2 | # name: ... |
3 | # key: th
4 | # --
5 | $2 |
--------------------------------------------------------------------------------
/emacs.d/snippets/js-mode/debug/log-text:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8; mode: snippet -*-
2 | # name: console.log("")
3 | # key: lot
4 | # --
5 | console.log("$0");
--------------------------------------------------------------------------------
/emacs.d/snippets/js-mode/misc/exports:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: exports
3 | # key: exports
4 | # --
5 | module.exports = {
6 | $0
7 | };
8 |
--------------------------------------------------------------------------------
/emacs.d/snippets/makefile-gmake-mode/phony:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: phony task
3 | # key: phony
4 | # --
5 | .PHONY: ${1:name}
6 |
7 | $1: $0
--------------------------------------------------------------------------------
/emacs.d/snippets/markdown-mode/+:
--------------------------------------------------------------------------------
1 | # name: Unordered List
2 | # contributor: Peng Deng
3 | # key: +
4 | # --
5 | + ${1:Text}
6 | +$0
--------------------------------------------------------------------------------
/emacs.d/snippets/markdown-mode/-:
--------------------------------------------------------------------------------
1 | # name: Unordered List
2 | # contributor: Peng Deng
3 | # key: -
4 | # --
5 | - ${1:Text}
6 | -$0
--------------------------------------------------------------------------------
/emacs.d/snippets/nxml-mode/td:
--------------------------------------------------------------------------------
1 | # contributor: Anders Bach Nielsen
2 | # name: ... |
3 | # key: td
4 | # --
5 | $2 |
--------------------------------------------------------------------------------
/emacs.d/snippets/nxml-mode/th:
--------------------------------------------------------------------------------
1 | # contributor: Anders Bach Nielsen
2 | # name: ... |
3 | # key: th
4 | # --
5 | $2 |
--------------------------------------------------------------------------------
/emacs.d/snippets/perl-mode/fore:
--------------------------------------------------------------------------------
1 | # name: foreach ... { ... }
2 | # key: fore
3 | # --
4 | foreach my \$${1:x} (@${2:array}) {
5 | ${3:# body...}
6 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/python-mode/general/ifmain:
--------------------------------------------------------------------------------
1 | # name: if __name__ == '__main__': ...
2 | # key: ifmain
3 | # --
4 | if __name__ == '__main__':
5 | $0
--------------------------------------------------------------------------------
/emacs.d/snippets/ruby-mode/definitions/mm:
--------------------------------------------------------------------------------
1 | # name: def method_missing ... end
2 | # key: mm
3 | # --
4 | def method_missing(method, *args)
5 | $0
6 | end
--------------------------------------------------------------------------------
/emacs.d/snippets/ruby-mode/general/bm:
--------------------------------------------------------------------------------
1 | # name: Benchmark.bmbm(...) do ... end
2 | # key: bm
3 | # --
4 | Benchmark.bmbm(${1:10}) do |x|
5 | $0
6 | end
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/app:
--------------------------------------------------------------------------------
1 | # name: object name extends Application
2 | # key: app
3 | # --
4 | object ${1:name} extends Application {
5 | $0
6 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/hmap.val-new:
--------------------------------------------------------------------------------
1 | # name: val m = new HashMap[K, V]
2 | # key: hmap
3 | # --
4 | val ${1:m} = new HashMap[${2:key}, ${3:value}] $0
--------------------------------------------------------------------------------
/emacs.d/snippets/actionscript-mode/ife:
--------------------------------------------------------------------------------
1 | # name: if(){...} else {...}
2 | # key: ife
3 | # --
4 | if(${1:condition}) {
5 | ${2:body}
6 | }
7 | else {
8 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/cc-mode/for:
--------------------------------------------------------------------------------
1 | # name: for (...; ...; ...) { ... }
2 | # key: for
3 | # --
4 | for (${1:int i = 0}; ${2:i < N}; ${3:++i})
5 | {
6 | $0
7 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/css-mode/mar.left:
--------------------------------------------------------------------------------
1 | # contributor: rejeep
2 | # name: margin-left: ...
3 | # key: mar
4 | # --
5 | margin-left: $1;
--------------------------------------------------------------------------------
/emacs.d/snippets/css-mode/mar.right:
--------------------------------------------------------------------------------
1 | # contributor: rejeep
2 | # name: margin-right: ...
3 | # key: mar
4 | # --
5 | margin-right: $1;
--------------------------------------------------------------------------------
/emacs.d/snippets/css-mode/pad.left:
--------------------------------------------------------------------------------
1 | # contributor: rejeep
2 | # name: padding-left: ...
3 | # key: pad
4 | # --
5 | padding-left: $1;
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/error:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: error
3 | # key: error
4 | # --
5 | (error "$0" &optional ARGS)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/f:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: format
3 | # key: format
4 | # --
5 | (format "$0" &optional OBJECTS)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/insert:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: insert
3 | # key: insert
4 | # key: i
5 | # --
6 | (insert $0)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/lambda:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: lambda
3 | # key: lambda
4 | # --
5 | '(lambda ($1)
6 | $0)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/vector:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: vector
3 | # key: vector
4 | # key: v
5 | # --
6 | (vector $0)
--------------------------------------------------------------------------------
/emacs.d/snippets/git-commit-mode/misc/docs:
--------------------------------------------------------------------------------
1 | # name: update documentation
2 | # key: doc
3 | # binding:
4 | # expand-env: ()
5 | # --
6 | update documentation
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/colgroup:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: colgroup
3 | # key: colgroup
4 | # --
5 |
6 | $0
7 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/django/static-url:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: static url template var
3 | # key: staticurl
4 | # --
5 | {{ STATIC_URL }}$0
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/fieldset:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: fieldset
3 | # key: fieldset
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/noscript:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: noscript
3 | # key: noscript
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/js-mode/misc/describe:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: describe
3 | # key: desc
4 | # --
5 | describe('$1', function(){
6 | $2
7 | });
8 |
--------------------------------------------------------------------------------
/emacs.d/snippets/js-mode/misc/super:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: super
3 | # key: super
4 | # --
5 | $1.prototype.${2:constructor}.${3:call}($0);
6 |
--------------------------------------------------------------------------------
/emacs.d/snippets/js-mode/modules/indexjs-export:
--------------------------------------------------------------------------------
1 | # name: module export other file to index.js
2 | # expand-env: ()
3 | # --
4 | ${1:name}: require('./$1'),$0
--------------------------------------------------------------------------------
/emacs.d/snippets/markdown-mode/img:
--------------------------------------------------------------------------------
1 | # name: Image
2 | # contributor: Peng Deng
3 | # key: img
4 | # --
5 |  $0
--------------------------------------------------------------------------------
/emacs.d/snippets/nxml-mode/div:
--------------------------------------------------------------------------------
1 | # contributor: Anders Bach Nielsen
2 | # name: ...
3 | # key: div
4 | # --
5 | $0
--------------------------------------------------------------------------------
/emacs.d/snippets/nxml-mode/header/h1:
--------------------------------------------------------------------------------
1 | # contributor: Anders Bach Nielsen
2 | # name: ...
3 | # key: h1
4 | # --
5 | $1
--------------------------------------------------------------------------------
/emacs.d/snippets/nxml-mode/header/h2:
--------------------------------------------------------------------------------
1 | # contributor: Anders Bach Nielsen
2 | # name: ...
3 | # key: h2
4 | # --
5 | $1
--------------------------------------------------------------------------------
/emacs.d/snippets/nxml-mode/header/h3:
--------------------------------------------------------------------------------
1 | # contributor: Anders Bach Nielsen
2 | # name: ...
3 | # key: h3
4 | # --
5 | $1
--------------------------------------------------------------------------------
/emacs.d/snippets/nxml-mode/header/h4:
--------------------------------------------------------------------------------
1 | # contributor: Anders Bach Nielsen
2 | # name: ...
3 | # key: h4
4 | # --
5 | $1
--------------------------------------------------------------------------------
/emacs.d/snippets/nxml-mode/header/h5:
--------------------------------------------------------------------------------
1 | # contributor: Anders Bach Nielsen
2 | # name: ...
3 | # key: h5
4 | # --
5 | $1
--------------------------------------------------------------------------------
/emacs.d/snippets/nxml-mode/header/h6:
--------------------------------------------------------------------------------
1 | # contributor: Anders Bach Nielsen
2 | # name: ...
3 | # key: h6
4 | # --
5 | $1
--------------------------------------------------------------------------------
/emacs.d/snippets/rst-mode/chap:
--------------------------------------------------------------------------------
1 | # name: Chapter title
2 | # key: chap
3 | # --
4 | ${1:Chapter}
5 | ${1:$(make-string (string-width yas-text) ?\=)}
6 |
7 | $0
--------------------------------------------------------------------------------
/emacs.d/snippets/rst-mode/sec:
--------------------------------------------------------------------------------
1 | # name: Section title
2 | # key: sec
3 | # --
4 | ${1:Section}
5 | ${1:$(make-string (string-width yas-text) ?\-)}
6 |
7 | $0
--------------------------------------------------------------------------------
/emacs.d/snippets/ruby-mode/control structure/ife:
--------------------------------------------------------------------------------
1 | # name: if ... else ... end
2 | # key: ife
3 | # --
4 | if ${1:condition}
5 | $2
6 | else
7 | $3
8 | end
--------------------------------------------------------------------------------
/emacs.d/snippets/ruby-mode/general/app:
--------------------------------------------------------------------------------
1 | # name: if __FILE__ == $PROGRAM_NAME ... end
2 | # key: app
3 | # --
4 | if __FILE__ == $PROGRAM_NAME
5 | $0
6 | end
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/cl.abs-arg:
--------------------------------------------------------------------------------
1 | # name: abstract class T(args) { .. }
2 | # key: cl
3 | # --
4 | abstract class ${1:name}(${2:args}) {
5 | $0
6 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/for.if:
--------------------------------------------------------------------------------
1 | # name: for (x <- xs if guard) { ... }
2 | # key: for
3 | # --
4 | for (${1:x} <- ${2:xs} if ${3:guard}) {
5 | $0
6 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/if.else:
--------------------------------------------------------------------------------
1 | # name: if (cond) { .. } else { .. }
2 | # key: if
3 | # --
4 | if (${1:condition}) {
5 | $2
6 | } else {
7 | $0
8 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/intercept:
--------------------------------------------------------------------------------
1 | # name: intercept(classOf[T]) { ..}
2 | # key: intercept
3 | # --
4 | intercept(classOf[${1:Exception]}) {
5 | $0
6 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/main:
--------------------------------------------------------------------------------
1 | # name: def main(args: Array[String]) = { ... }
2 | # key: main
3 | # --
4 | def main(args: Array[String]) = {
5 | $0
6 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/actionscript-mode/pri.con:
--------------------------------------------------------------------------------
1 | # name: private static const ...
2 | # key: pri.con
3 | # --
4 | private static const ${1:name}:${2:type} = ${3:value};
--------------------------------------------------------------------------------
/emacs.d/snippets/actionscript-mode/pub.con:
--------------------------------------------------------------------------------
1 | # name: public static const ...
2 | # key: pub.con
3 | # --
4 | public static const ${1:name}:${2:type} = ${3:value};
--------------------------------------------------------------------------------
/emacs.d/snippets/css-mode/mar.bottom:
--------------------------------------------------------------------------------
1 | # contributor: rejeep
2 | # name: margin-bottom: ...
3 | # key: mar
4 | # --
5 | margin-bottom: $1;
--------------------------------------------------------------------------------
/emacs.d/snippets/css-mode/pad.bottom:
--------------------------------------------------------------------------------
1 | # contributor: rejeep
2 | # name: padding-bottom: ...
3 | # key: pad
4 | # --
5 | padding-bottom: $1;
--------------------------------------------------------------------------------
/emacs.d/snippets/css-mode/pad.right:
--------------------------------------------------------------------------------
1 | # contributor: rejeep
2 | # name: padding-right: ...
3 | # key: pad
4 | # --
5 | padding-right: $1;
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/format:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: format
3 | # key: format
4 | # --
5 | (format "$0" &optional OBJECTS)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/interactive:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: interactive
3 | # key: interactive
4 | # --
5 | (interactive)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/let:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: let
3 | # key: let
4 | # key: l
5 | # --
6 | (let ($1 )
7 | $0
8 | )
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/pre:
--------------------------------------------------------------------------------
1 | # contributor: Jimmy Wu
2 | # name: ...
3 | # key: pre
4 | # --
5 |
6 | $0
7 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/table/tr:
--------------------------------------------------------------------------------
1 | # contributor: Jimmy Wu
2 | # name: ...
3 | # key: tr
4 | # --
5 |
6 | $0
7 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/textarea:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: textarea
3 | # key: textarea
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/js-mode/debug/breakpoint:
--------------------------------------------------------------------------------
1 | # name: break point w. debugger
2 | # key: bp
3 | # --
4 | debugger // FIXME do not commit this line! `(save-buffer)`
--------------------------------------------------------------------------------
/emacs.d/snippets/js-mode/debug/debugger:
--------------------------------------------------------------------------------
1 | # name: break point w. debugger
2 | # key: dbg
3 | # --
4 | debugger // FIXME do not commit this line! `(save-buffer)`
--------------------------------------------------------------------------------
/emacs.d/snippets/markdown-mode/h1.1:
--------------------------------------------------------------------------------
1 | # name: Header 1 (#)
2 | # contributor: Peng Deng
3 | # key: h1
4 | # --
5 | # ${1:Header 1} #
6 |
7 | $0
--------------------------------------------------------------------------------
/emacs.d/snippets/markdown-mode/h3:
--------------------------------------------------------------------------------
1 | # name: Header 3
2 | # contributor: Peng Deng
3 | # key: h3
4 | # --
5 | ### ${1:Header 3} ###
6 |
7 | $0
--------------------------------------------------------------------------------
/emacs.d/snippets/markdown-mode/h4:
--------------------------------------------------------------------------------
1 | # name: Header 4
2 | # contributor: Peng Deng
3 | # key: h4
4 | # --
5 | #### ${1:Header 4} ####
6 |
7 | $0
--------------------------------------------------------------------------------
/emacs.d/snippets/markdown-mode/link:
--------------------------------------------------------------------------------
1 | # name: Link
2 | # contributor: Peng Deng
3 | # key: link
4 | # --
5 | [${1:Link Text}](${2:URL} $3) $0
--------------------------------------------------------------------------------
/emacs.d/snippets/markdown-mode/rimg:
--------------------------------------------------------------------------------
1 | # name: Referenced Image
2 | # contributor: Peng Deng
3 | # key: rimg
4 | # --
5 | ![${1:Alt Text}][$2] $0
--------------------------------------------------------------------------------
/emacs.d/snippets/markdown-mode/rlink:
--------------------------------------------------------------------------------
1 | # name: Reference Link
2 | # contributor: Peng Deng
3 | # key: rlink
4 | # --
5 | [${1:Link Text}][$2] $0
--------------------------------------------------------------------------------
/emacs.d/snippets/nxml-mode/name:
--------------------------------------------------------------------------------
1 | # contributor: Anders Bach Nielsen
2 | # name:
3 | # key: name
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/nxml-mode/ol:
--------------------------------------------------------------------------------
1 | # contributor: Anders Bach Nielsen
2 | # name: ...
3 | # key: ol
4 | # --
5 |
6 | $0
7 |
--------------------------------------------------------------------------------
/emacs.d/snippets/nxml-mode/span:
--------------------------------------------------------------------------------
1 | # contributor: Anders Bach Nielsen
2 | # name: ...
3 | # key: span
4 | # --
5 | $1
--------------------------------------------------------------------------------
/emacs.d/snippets/nxml-mode/tag.1l:
--------------------------------------------------------------------------------
1 | # contributor: Anders Bach Nielsen
2 | # name: ...
3 | # key: tag
4 | # --
5 | <${1:tag}>$2$1>$0
--------------------------------------------------------------------------------
/emacs.d/snippets/nxml-mode/tr:
--------------------------------------------------------------------------------
1 | # contributor: Anders Bach Nielsen
2 | # name: ...
3 | # key: tr
4 | # --
5 |
6 | $0
7 |
--------------------------------------------------------------------------------
/emacs.d/snippets/nxml-mode/ul:
--------------------------------------------------------------------------------
1 | # contributor: Anders Bach Nielsen
2 | # name:
3 | # key: ul
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/ruby-mode/collections/inject:
--------------------------------------------------------------------------------
1 | # name: inject(...) { |...| ... }
2 | # key: inject
3 | # --
4 | inject(${1:0}) { |${2:injection}, ${3:element}| $0 }
--------------------------------------------------------------------------------
/emacs.d/snippets/actionscript-mode/pri:
--------------------------------------------------------------------------------
1 | # name: private function ...
2 | # key: pri
3 | # --
4 | private function ${1:name}(${2:params}):${3:ret_type} {
5 | $0
6 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/cc-mode/main:
--------------------------------------------------------------------------------
1 | # name: int main(argc, argv) { ... }
2 | # key: main
3 | # --
4 | int main(int argc, char *argv[])
5 | {
6 | $0
7 | return 0;
8 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/goto-char:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: goto-char
3 | # key: goto-char
4 | # key: gc
5 | # --
6 | (goto-char $0)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/message:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: message
3 | # key: message
4 | # key: m
5 | # --
6 | (message "$1" $0)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/point-min:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: point-min
3 | # key: point-min
4 | # key: pm
5 | # --
6 | (point-min)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/set-mark:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: set-mark
3 | # key: set-mark
4 | # key: sm
5 | # --
6 | (set-mark $0)
--------------------------------------------------------------------------------
/emacs.d/snippets/erlang-mode/exp:
--------------------------------------------------------------------------------
1 | # name: -export([]).
2 | # contributor: hitesh
3 | # key: exp
4 | # --
5 | -export([${1:start/0}]).
6 | $0
--------------------------------------------------------------------------------
/emacs.d/snippets/feature-mode/the:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # key: the
3 | # name: Then some expected outcome
4 | # --
5 | Then ${1:some expected outcome}
6 | $0
7 |
--------------------------------------------------------------------------------
/emacs.d/snippets/git-commit-mode/misc/uspecified-commit:
--------------------------------------------------------------------------------
1 | # name: unspecified commit
2 | # key: uc
3 | # binding:
4 | # expand-env: ()
5 | # --
6 | unspecified commit
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/blockquote:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: blockquote
3 | # key: blockquote
4 | # --
5 |
6 | $0
7 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/form:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: form
3 | # key: form
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/href:
--------------------------------------------------------------------------------
1 | # contributor: Jimmy Wu
2 | # name: ...
3 | # key: href
4 | # --
5 | $2
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/html:
--------------------------------------------------------------------------------
1 | # contributor: Jimmy Wu
2 | # name: ...
3 | # key: html
4 | # --
5 |
6 | $0
7 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/list/dl:
--------------------------------------------------------------------------------
1 | # contributor: Rodrigo Setti
2 | # name: ...
3 | # key: dl
4 | # --
5 |
6 | $0
7 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/optgroup:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: optgroup
3 | # key: optgroup
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/js-mode/misc/invoc:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: anonymous function scope
3 | # key: invoc
4 | # --
5 | (function($1){
6 | $0
7 | })($2);
8 |
--------------------------------------------------------------------------------
/emacs.d/snippets/js-mode/misc/try:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: try
3 | # key: try
4 | # --
5 | try {
6 | $1
7 | } catch(error) {
8 | $0
9 | }
10 |
--------------------------------------------------------------------------------
/emacs.d/snippets/markdown-mode/h2.1:
--------------------------------------------------------------------------------
1 | # name: Header 2 (##)
2 | # contributor: Peng Deng
3 | # key: h2
4 | # --
5 | ## ${1:Header 1} ##
6 |
7 | $0
--------------------------------------------------------------------------------
/emacs.d/snippets/markdown-mode/h5:
--------------------------------------------------------------------------------
1 | # name: Header 5
2 | # contributor: Peng Deng
3 | # key: h5
4 | # --
5 | ##### ${1:Header 5} #####
6 |
7 | $0
--------------------------------------------------------------------------------
/emacs.d/snippets/markdown-mode/h6:
--------------------------------------------------------------------------------
1 | # name: Header 6
2 | # contributor: Peng Deng
3 | # key: h6
4 | # --
5 | ###### ${1:Header 6} ######
6 |
7 | $0
--------------------------------------------------------------------------------
/emacs.d/snippets/markdown-mode/hr.1:
--------------------------------------------------------------------------------
1 | # name: Horizontal Rule (-)
2 | # contributor: Peng Deng
3 | # key: hr
4 | # --
5 |
6 | ----------
7 |
8 | $0
--------------------------------------------------------------------------------
/emacs.d/snippets/markdown-mode/hr.2:
--------------------------------------------------------------------------------
1 | # name: Horizontal Rule (*)
2 | # contributor: Peng Deng
3 | # key: hr
4 | # --
5 |
6 | *******
7 |
8 | $0
--------------------------------------------------------------------------------
/emacs.d/snippets/nxml-mode/href:
--------------------------------------------------------------------------------
1 | # contributor: Anders Bach Nielsen
2 | # name: ...
3 | # key: href
4 | # --
5 | $2
--------------------------------------------------------------------------------
/emacs.d/snippets/nxml-mode/pre:
--------------------------------------------------------------------------------
1 | # contributor: Anders Bach Nielsen
2 | # name: ...
3 | # key: pre
4 | # --
5 |
6 | $0
7 |
--------------------------------------------------------------------------------
/emacs.d/snippets/nxml-mode/title:
--------------------------------------------------------------------------------
1 | # contributor: Anders Bach Nielsen
2 | # name: ...
3 | # key: title
4 | # --
5 | $1
--------------------------------------------------------------------------------
/emacs.d/snippets/python-mode/django/model-blanknull:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: blank=True, null=True
3 | # key: blanknull
4 | # --
5 | blank=True, null=True
--------------------------------------------------------------------------------
/emacs.d/snippets/ruby-mode/control structure/forin:
--------------------------------------------------------------------------------
1 | # name: for ... in ...; ... end
2 | # key: forin
3 | # --
4 | for ${1:element} in ${2:collection}
5 | $0
6 | end
--------------------------------------------------------------------------------
/emacs.d/snippets/ruby-mode/general/rreq:
--------------------------------------------------------------------------------
1 | # name: require File.join(File.dirname(__FILE__), ...)
2 | # key: rreq
3 | # --
4 | require File.join(File.dirname(__FILE__), $0)
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/def.arg-ret-body:
--------------------------------------------------------------------------------
1 |
2 | # name: def f(arg: T): R = {...}
3 | # key: def
4 | # --
5 | def ${1:name}(${2:args}): ${3:Unit} = {
6 | $0
7 | }
--------------------------------------------------------------------------------
/emacs.d/dict/dockerfile-mode:
--------------------------------------------------------------------------------
1 | from
2 | maintainer
3 | run
4 | cmd
5 | expose
6 | env
7 | add
8 | copy
9 | entrypoint
10 | volume
11 | user
12 | workdir
13 | onbuild
--------------------------------------------------------------------------------
/emacs.d/snippets/actionscript-mode/pro:
--------------------------------------------------------------------------------
1 | # name: protected function ...
2 | # key: pro
3 | # --
4 | protected function ${1:name}(${2:params}):${3:ret_type} {
5 | $0
6 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/actionscript-mode/pub.get:
--------------------------------------------------------------------------------
1 | # name: public function get ...
2 | # key: pub.get
3 | # --
4 | public function get ${1:name}():${2:ret_type}{
5 | $0
6 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/actionscript-mode/pub.set:
--------------------------------------------------------------------------------
1 | # name: public function set ...
2 | # key: pub.set
3 | # --
4 | public function set ${1:name}(${2:param}):void {
5 | $0
6 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/find-file:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: find-file
3 | # key: find-file
4 | # key: ff
5 | # --
6 | (find-file $0 )
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/looking-at:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: looking-at
3 | # key: looking-at
4 | # key: la
5 | # --
6 | (looking-at $0)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/match-end:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: match-end
3 | # key: match-end
4 | # key: me
5 | # --
6 | (match-end N$0)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/region-end:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: region-end
3 | # key: region-end
4 | # key: re
5 | # --
6 | (region-end)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/set-buffer:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: set-buffer
3 | # key: set-buffer
4 | # key: sb
5 | # --
6 | (set-buffer $0 )
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/widget-get:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: widget-get
3 | # key: widget-get
4 | # key: wg
5 | # --
6 | (widget-get $0 )
--------------------------------------------------------------------------------
/emacs.d/snippets/git-commit-mode/misc/compiled-assets:
--------------------------------------------------------------------------------
1 | # name: Update compiled assets
2 | # key: com
3 | # binding:
4 | # expand-env: ()
5 | # --
6 | update compiled assets
--------------------------------------------------------------------------------
/emacs.d/snippets/git-commit-mode/misc/external-deps:
--------------------------------------------------------------------------------
1 | # name: External dependencies update
2 | # key: dep
3 | # binding:
4 | # expand-env: ()
5 | # --
6 | update dependencies
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/django/for:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: {% for %}
3 | # key: for
4 | # --
5 | {% for ${1:item} in ${2:object} %}
6 | $0
7 | {% endfor %}
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/head:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: head
3 | # key: head
4 | # --
5 |
6 |
7 | $0
8 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/menu:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: menu
3 | # key: menu
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/js-mode/declarations/protofn:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: method
3 | # key: method
4 | # --
5 | $1.prototype.$2 = function($3){
6 | ${0}
7 | };
8 |
--------------------------------------------------------------------------------
/emacs.d/snippets/markdown-mode/rlb:
--------------------------------------------------------------------------------
1 | # name: Reference Label
2 | # contributor: Peng Deng
3 | # key: rlb
4 | # --
5 | [${1:Reference}]: ${2:URL} $3
6 | $0
--------------------------------------------------------------------------------
/emacs.d/snippets/nxml-mode/body:
--------------------------------------------------------------------------------
1 | # contributor: Anders Bach Nielsen
2 | # name: ...
3 | # key: body
4 | # --
5 |
6 | $0
7 |
--------------------------------------------------------------------------------
/emacs.d/snippets/nxml-mode/code:
--------------------------------------------------------------------------------
1 | # contributor: Anders Bach Nielsen
2 | # name: ...
3 | # key: code
4 | # --
5 |
6 | $0
7 |
--------------------------------------------------------------------------------
/emacs.d/snippets/nxml-mode/head:
--------------------------------------------------------------------------------
1 | # contributor: Anders Bach Nielsen
2 | # name: ...
3 | # key: head
4 | # --
5 |
6 | $0
7 |
--------------------------------------------------------------------------------
/emacs.d/snippets/perl-mode/for:
--------------------------------------------------------------------------------
1 | # name: for (...) { ... }
2 | # key: for
3 | # --
4 | for (my \$${1:var} = 0; \$$1 < ${2:expression}; \$$1++) {
5 | ${3:# body...}
6 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/plantuml-mode/skeleton:
--------------------------------------------------------------------------------
1 | # name: plantuml skeleton
2 | # key: pluskeleton
3 | # binding:
4 | # expand-env: ()
5 | # --
6 | @startuml
7 | $0
8 | @enduml
--------------------------------------------------------------------------------
/emacs.d/snippets/python-mode/debug/pdb:
--------------------------------------------------------------------------------
1 | # name: pdb, break point.
2 | # key: pdb
3 | # --
4 | import pdb; pdb.set_trace() #### FIXME: REMOVE BREAK POINT ####`(save-buffer)`
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/act:
--------------------------------------------------------------------------------
1 | # name: def act = { ..}
2 | # key: act
3 | # --
4 | def act = {
5 | loop {
6 | react {
7 | $0
8 | }
9 | }
10 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/snippet-mode/skeleton:
--------------------------------------------------------------------------------
1 | # name: Snippet skeleton
2 | # key: skeleton
3 | # --
4 | # name: $0
5 | # key:
6 | # binding:
7 | # expand-env: ()
8 | # --
9 |
--------------------------------------------------------------------------------
/.dotfilesrc:
--------------------------------------------------------------------------------
1 | [dotfiles]
2 | ignore = [ '.DS_Store', '.git', '.gitignore', 'README.md', 'INSTALLER', '.compiled', '.dotfilesrc', '.#.*', 'Dockerfile', '.dockerignore', ]
3 |
4 |
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/add-hook:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: add-hook
3 | # key: add-hook
4 | # key: ah
5 | # --
6 | (add-hook HOOK$0 FUNCTION)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/delete-char:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: delete-char
3 | # key: delete-char
4 | # key: dc
5 | # --
6 | (delete-char $0)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/delete-file:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: delete-file
3 | # key: delete-file
4 | # key: df
5 | # --
6 | (delete-file $0)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/end-of-line:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: end-of-line
3 | # key: end-of-line
4 | # key: eol
5 | # --
6 | (end-of-line)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/kill-buffer:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: kill-buffer
3 | # key: kill-buffer
4 | # key: kb
5 | # --
6 | (kill-buffer $0)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/save-buffer:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: save-buffer
3 | # key: save-buffer
4 | # key: sb
5 | # --
6 | (save-buffer $0)
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/del:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: del
3 | # key: del
4 | # --
5 | $1$0
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/iframe:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: iframe
3 | # key: iframe
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/ins:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: ins
3 | # key: ins
4 | # --
5 | $1$0
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/list/dl.id:
--------------------------------------------------------------------------------
1 | # contributor: Rodrigo Setti
2 | # name: ...
3 | # key: dl
4 | # --
5 |
6 | $0
7 |
--------------------------------------------------------------------------------
/emacs.d/snippets/js-mode/misc/err:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: err
3 | # key: err
4 | # --
5 | if(${1:error}){
6 | callback($1);
7 | return;
8 | }
9 | $2
10 |
--------------------------------------------------------------------------------
/emacs.d/snippets/nxml-mode/img:
--------------------------------------------------------------------------------
1 | # contributor: Anders Bach Nielsen
2 | # name:
3 | # key: img
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/nxml-mode/table:
--------------------------------------------------------------------------------
1 | # contributor: Anders Bach Nielsen
2 | # name:
3 | # key: table
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/python-mode/debug/pudb:
--------------------------------------------------------------------------------
1 | # name: pudb break point.
2 | # key: pudb
3 | # --
4 | import pudb; pudb.set_trace() #### FIXME: REMOVE BREAK POINT ####`(save-buffer)`
--------------------------------------------------------------------------------
/emacs.d/snippets/ruby-mode/definitions/Comp:
--------------------------------------------------------------------------------
1 | # name: include Comparable; def <=> ... end
2 | # key: Comp
3 | # --
4 | include Comparable
5 |
6 | def <=> other
7 | $0
8 | end
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/suite:
--------------------------------------------------------------------------------
1 | # name: class T extends Suite { .. }
2 | # key: suite
3 | # --
4 | import org.scalatest._
5 |
6 | class ${1:name} extends Suite {
7 | $0
8 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/tr.ext-with:
--------------------------------------------------------------------------------
1 | # name: trait T1 extends C with T2 { .. }
2 | # key: tr
3 | # --
4 | trait ${1:name} extends ${2:class} with ${3:trait} {
5 | $0
6 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/snippet-mode/field:
--------------------------------------------------------------------------------
1 | # name: ${ ... } field
2 | # contributor: joaotavora
3 | # key: $f
4 | # key: field
5 | # --
6 | \${${1:${2:n}:}$3${4:\$(${5:lisp-fn})}\}$0
--------------------------------------------------------------------------------
/emacs.d/icons/stipple.xbm:
--------------------------------------------------------------------------------
1 | #define stipple_width 16
2 | #define stipple_height 4
3 | static char stipple_bits[] = {
4 | '\x55','\x55','\xee','\xee','\x55','\x55','\xba','\xbb'};
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/cond:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: cond
3 | # key: cond
4 | # --
5 | (cond
6 | (CONDITION$0 BODY)
7 | (CONDITION BODY)
8 | )
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/defcustom:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: defcustom
3 | # key: defcustom
4 | # --
5 | (defcustom $0 VALUE "DOC" &optional ARGS)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/defun:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: defun
3 | # key: defun
4 | # key: d
5 | # --
6 | (defun $1 ()
7 | "TODO"
8 | $0
9 | )
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/forward-char:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: forward-char
3 | # key: forward-char
4 | # key: fc
5 | # --
6 | (forward-char $0)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/forward-line:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: forward-line
3 | # key: forward-line
4 | # key: fl
5 | # --
6 | (forward-line $0 )
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/match-string:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: match-string
3 | # key: match-string
4 | # key: ms
5 | # --
6 | (match-string $0 )
--------------------------------------------------------------------------------
/emacs.d/snippets/erlang-mode/imp:
--------------------------------------------------------------------------------
1 | # name: -import([]).
2 | # contributor: hitesh
3 | # key: imp
4 | # --
5 | -import(${1:lists}, [${2:map/2, sum/1}]).
6 | $0
--------------------------------------------------------------------------------
/emacs.d/snippets/feature-mode/giv:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # key: giv
3 | # name: Given a known starting condition
4 | # --
5 | Given ${1:a known starting condition}
6 | $0
7 |
--------------------------------------------------------------------------------
/emacs.d/snippets/go-mode/interface:
--------------------------------------------------------------------------------
1 | # name: interface
2 | # key: interface
3 | # --
4 | type ${1:InterfaceName} interface {
5 | ${2:MethodName}() ${3:ReturnType}
6 | $0
7 | }
8 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/django/include:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # group: django
3 | # name: template include
4 | # key: include
5 | # --
6 | {% include '${1:included.html}' %}$0
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/list/ol.id:
--------------------------------------------------------------------------------
1 | # contributor: Jimmy Wu
2 | # name: ...
3 | # key: ol
4 | # --
5 |
6 | $0
7 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/list/ul.id:
--------------------------------------------------------------------------------
1 | # contributor: Jimmy Wu
2 | # name:
3 | # key: ul
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/time:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: time
3 | # key: time
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/nxml-mode/input:
--------------------------------------------------------------------------------
1 | # contributor: Anders Bach Nielsen
2 | # name:
3 | # key: input
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/nxml-mode/tag.2l:
--------------------------------------------------------------------------------
1 | # contributor: Anders Bach Nielsen
2 | # name: \n...\n
3 | # key: tag
4 | # --
5 | <${1:tag}>
6 | $2
7 | $1>$0
--------------------------------------------------------------------------------
/emacs.d/snippets/org-mode/exampleblock:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name : #+begin_example...#+end_example
3 | # key: ex
4 | # --
5 | #+begin_example
6 | $0
7 | #+end_example
8 |
--------------------------------------------------------------------------------
/emacs.d/snippets/python-mode/debug/ipdb:
--------------------------------------------------------------------------------
1 | # name: ipdb, break point.
2 | # key: ipdb
3 | # binding: C-c i b
4 | # --
5 | import ipdb; ipdb.set_trace() #### FIXME: REMOVE BREAK POINT ####
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/actor:
--------------------------------------------------------------------------------
1 | # name: val a = actor { ..}
2 | # key: actor
3 | # --
4 | val a = actor {
5 | loop {
6 | react {
7 | $0
8 | }
9 | }
10 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/snippet-mode/mirror:
--------------------------------------------------------------------------------
1 | # name: ${n:$(...)} mirror
2 | # key: $m
3 | # contributor: joaotavora
4 | # key: mirror
5 | # --
6 | \${${2:n}:${4:\$(${5:reflection-fn})}\}$0
--------------------------------------------------------------------------------
/emacs.d/snippets/actionscript-mode/pub.sta:
--------------------------------------------------------------------------------
1 | # name: public static function ...
2 | # key: pub.sta
3 | # --
4 | public static function ${1:name}(${2:param}):${3:ret_type}{
5 | $0
6 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/actionscript-mode/swi:
--------------------------------------------------------------------------------
1 | # name: switch
2 | # key: swi
3 | # --
4 | switch(${1:condition}) {
5 | case ${2:match} :
6 | $0
7 | break;
8 | default:
9 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/backward-char:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: backward-char
3 | # key: backward-char
4 | # key: bc
5 | # --
6 | (backward-char $0)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/current-buffer:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: current-buffer
3 | # key: current-buffer
4 | # key: cb
5 | # --
6 | (current-buffer)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/delete-region:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: delete-region
3 | # key: delete-region
4 | # key: dr
5 | # --
6 | (delete-region $0 )
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/save-excursion:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: save-excursion
3 | # key: save-excursion
4 | # key: se
5 | # --
6 | (save-excursion $0)
--------------------------------------------------------------------------------
/emacs.d/snippets/go-mode/bench:
--------------------------------------------------------------------------------
1 | # name: bench
2 | # key: bench
3 | # --
4 | func Benchmark${1:Feature}(b *testing.B) {
5 | for i := 0; i < b.N; i++ {
6 | $0
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/django/block:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: {% block ... %} ... {% endblock %}
3 | # key: bl
4 | # --
5 | {% block ${1:name} %}
6 | $0
7 | {% endblock %}
--------------------------------------------------------------------------------
/emacs.d/snippets/js-mode/misc/error:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: error
3 | # key: error
4 | # --
5 | if(${1:error}){
6 | callback($1);
7 | return;
8 | }
9 | $2
10 |
--------------------------------------------------------------------------------
/emacs.d/snippets/org-mode/clock:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: clockentry
3 | # key: clock
4 | # --
5 | CLOCK: `(progn (org-time-stamp 2 t) nil)`--`(progn (org-time-stamp 2 t) nil)`
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/match.option:
--------------------------------------------------------------------------------
1 | # name: option match { case None => .. }
2 | # key: match
3 | # --
4 | ${1:option} match {
5 | case None => $0
6 | case Some(res) =>
7 |
8 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/condition-case:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: condition-case
3 | # key: condition-case
4 | # key: cc
5 | # --
6 | (condition-case $0 )
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/defalias:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: defalias
3 | # key: defalias
4 | # --
5 | (defalias 'SYMBOL$0 'DEFINITION &optional DOCSTRING)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/match-beginning:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: match-beginning
3 | # key: match-beginning
4 | # key: mb
5 | # --
6 | (match-beginning N$0)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/region-active-p:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: region-active-p
3 | # key: region-active-p
4 | # key: rap
5 | # --
6 | (region-active-p)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/region-beginning:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: region-beginning
3 | # key: region-beginning
4 | # key: rb
5 | # --
6 | (region-beginning)
--------------------------------------------------------------------------------
/emacs.d/snippets/feature-mode/sce:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # key: sce
3 | # name: Scenario: Name
4 | # expand-env: ((yas-indent-line 'fixed))
5 | # --
6 | Scenario: ${1:Name}
7 | $0
8 |
--------------------------------------------------------------------------------
/emacs.d/snippets/go-mode/method:
--------------------------------------------------------------------------------
1 | # name: method
2 | # key: method
3 | # --
4 | func (${1:$(substring (if (> (length yas-text) 0) (downcase yas-text) " ")0 1)} *$1) $0() {
5 |
6 | }
7 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/django/comment:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: {% comment ... %} ... {% endcomment %}
3 | # key: comment
4 | # --
5 | {% comment %}
6 | $0
7 | {% endcomment %}
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/django/ifchanged:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name : {% ifchanged %} ... {% endifchanged %}
3 | # key: ifchanged
4 | # --
5 | {% ifchanged %} $0 {% endifchanged %}
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/mailto:
--------------------------------------------------------------------------------
1 | # contributor: Jimmy Wu
2 | # name: ...
3 | # key: mailto
4 | # --
5 | $0
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/quote:
--------------------------------------------------------------------------------
1 | # contributor: Jimmy Wu
2 | # name: ...
3 | # key: quote
4 | # --
5 |
6 | $1
7 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/script.javascript-src:
--------------------------------------------------------------------------------
1 | # name :
2 | # key: script.src
3 | # --
4 |
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/doc.file:
--------------------------------------------------------------------------------
1 | # name: /** file name */
2 | # key: doc
3 | # --
4 | /**
5 | * `(scala-mode-file-doc)`
6 | * $0
7 | * @author ${1:name}
8 | * @version ${2:0.1}
9 | */
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/for.multi:
--------------------------------------------------------------------------------
1 | # name: for {x <- xs \ y <- ys} { yield }
2 | # key: for
3 | # --
4 | for {
5 | ${1:x} <- ${2:xs}
6 | ${3:x} <- ${4:xs}
7 | } {
8 | yield $0
9 | }
--------------------------------------------------------------------------------
/emacs.d/batch/install-2.el:
--------------------------------------------------------------------------------
1 | (load-file "./install-common.el")
2 |
3 | (require-package 'go-mode)
4 | (require-package 'json-mode)
5 | (require-package 'ob-http)
6 | (require-package 'nginx-mode)
7 |
--------------------------------------------------------------------------------
/emacs.d/snippets/actionscript-mode/pub.cl:
--------------------------------------------------------------------------------
1 | # name: public class ...
2 | # key: pub.cl
3 | # --
4 | public class ${1:name} extends ${2:parent} {
5 | public function ${3:name}(){
6 | }
7 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/css-mode/mar.margin:
--------------------------------------------------------------------------------
1 | # contributor: rejeep
2 | # name: margin top right bottom left
3 | # key: mar
4 | # --
5 | margin: ${top} ${right} ${bottom} ${left};
--------------------------------------------------------------------------------
/emacs.d/snippets/css-mode/pad.padding:
--------------------------------------------------------------------------------
1 | # contributor: rejeep
2 | # name: padding: top right bottom left
3 | # key: pad
4 | # --
5 | padding: ${top} ${right} ${bottom} ${left};
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/beginning-of-line:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: beginning-of-line
3 | # key: beginning-of-line
4 | # key: bol
5 | # --
6 | (beginning-of-line)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/buffer-file-name:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: buffer-file-name
3 | # key: buffer-file-name
4 | # key: bfn
5 | # --
6 | (buffer-file-name)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/expand-file-name:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: expand-file-name
3 | # key: expand-file-name
4 | # key: efn
5 | # --
6 | (expand-file-name $0 )
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/line-end-position:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: line-end-position
3 | # key: line-end-position
4 | # key: lep
5 | # --
6 | (line-end-position)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/number-to-string:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: number-to-string
3 | # key: number-to-string
4 | # key: nts
5 | # --
6 | (number-to-string $0)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/set-file-modes:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: set-file-modes
3 | # key: set-file-modes
4 | # key: sfm
5 | # --
6 | (set-file-modes $0 MODE)
--------------------------------------------------------------------------------
/emacs.d/snippets/erlang-mode/loop:
--------------------------------------------------------------------------------
1 | # name: loop(...) -> receive _ -> loop(...) end.
2 | # key: loop
3 | # --
4 | ${1:loop}($2) ->
5 | receive
6 | ${3:_} ->
7 | $1($2)
8 | end.
9 | $0
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/meta/doctype:
--------------------------------------------------------------------------------
1 | # name: Doctype HTML 4.01 Strict
2 | # key: doctype
3 | # --
4 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/meter:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: meter
3 | # key: meter
4 | # --
5 | $10
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/object:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: object
3 | # key: object
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/nxml-mode/quote:
--------------------------------------------------------------------------------
1 | # contributor: Anders Bach Nielsen
2 | # name: ...
3 | # key: quote
4 | # --
5 |
6 | $1
7 |
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/buffer-modified-p:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: buffer-modified-p
3 | # key: buffer-modified-p
4 | # key: bmp
5 | # --
6 | (buffer-modified-p $0)
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/django/spaceless:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name : {% spaceless %} ... {% endspaceless %}
3 | # key: spaceless
4 | # --
5 | {% spaceless %}
6 | $0
7 | {% endspaceless %}
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/meta/doctype.xhtml1_1:
--------------------------------------------------------------------------------
1 | # name: DocType XHTML 1.1
2 | # key: doctype
3 | # --
4 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/video:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: video
3 | # key: video
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/js-mode/basic/for:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: for
3 | # key: for
4 | # --
5 | var ${1:i} = ${2:-1}, len = $3.length;
6 |
7 | for(; ++$1 < len;){
8 | $4
9 | }
10 |
--------------------------------------------------------------------------------
/emacs.d/snippets/perl-mode/eval:
--------------------------------------------------------------------------------
1 | # name: eval { ... } if ($@) { ... }
2 | # key: eval
3 | # --
4 | eval {
5 | ${1:# do something risky...}
6 | };
7 | if (\$@) {
8 | ${2:# handle failure...}
9 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/python-mode/general/propg:
--------------------------------------------------------------------------------
1 | # name: _get_foo ... foo=property(...)
2 | # key: propg
3 | # --
4 | def _get_${1:foo}(self):
5 | return self._$1
6 |
7 | $1 = property(_get_$1)
8 |
9 | $0
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/act.arg:
--------------------------------------------------------------------------------
1 | # name: def act(arg: T) = { ..}
2 | # key: act
3 | # --
4 | def act(${1:arg}: ${2:type}) = {
5 | loop {
6 | react {
7 | $0
8 | }
9 | }
10 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/buffer-substring:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: buffer-substring
3 | # key: buffer-substring
4 | # key: bs
5 | # --
6 | (buffer-substring START$0 END)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/define-key:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: define-key
3 | # key: define-key
4 | # key: dk
5 | # --
6 | (define-key KEYMAPNAME$0 (kbd "M-b") 'FUNCNAME)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/file-relative-name:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: file-relative-name
3 | # key: file-relative-name
4 | # key: frn
5 | # --
6 | (file-relative-name $0 )
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/global-set-key:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: global-set-key
3 | # key: global-set-key
4 | # key: gsk
5 | # --
6 | (global-set-key (kbd "C-$0") 'COMMAND)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/make-directory:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: make-directory
3 | # key: make-directory
4 | # key: md
5 | # --
6 | (make-directory $0 &optional PARENTS)
--------------------------------------------------------------------------------
/emacs.d/snippets/org-mode/sourceblock-elisp:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: el (emacs-lisp)
3 | # key: el
4 | # condition: (= (current-column) 2)
5 | # --
6 | #+begin_src emacs-lisp
7 | $0
8 | #+end_src
--------------------------------------------------------------------------------
/emacs.d/snippets/perl-mode/ifee:
--------------------------------------------------------------------------------
1 | # name: if, elsif, else ...
2 | # key: ifee
3 | # --
4 | if ($1) {
5 | ${2:# body...}
6 | } elsif ($3) {
7 | ${4:# elsif...}
8 | } else {
9 | ${5:# else...}
10 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/rst-mode/tit:
--------------------------------------------------------------------------------
1 | # name: Document title
2 | # key: tit
3 | # --
4 | ${1:$(make-string (string-width yas-text) ?\=)}
5 | ${1:Title}
6 | ${1:$(make-string (string-width yas-text) ?\=)}
7 |
8 | $0
--------------------------------------------------------------------------------
/emacs.d/batch/org-export-html.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | set -e
4 |
5 | for file in "${@}"; do
6 | emacs --batch -q --load /emacs/batch-run.el --visit ${file} --funcall batch-org-html-export-to-html
7 | done
8 |
--------------------------------------------------------------------------------
/emacs.d/profile.el:
--------------------------------------------------------------------------------
1 | (load (expand-file-name "load-path" (file-name-directory load-file-name)) nil t)
2 | (load "profile-dotemacs.el")
3 | (setq profile-dotemacs-file "~/.emacs.d/init.el")
4 | (profile-dotemacs)
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/css-mode/generated-color:
--------------------------------------------------------------------------------
1 | # name: generate (hsla) color.
2 | # key: gc
3 | # binding:
4 | # expand-env: ()
5 | # --
6 | hsla(`(format "%s, %s%%, %s%%, %s" (random 360) (+ 50 (random 10)) 50 0.75)`)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/file-name-directory:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: file-name-directory
3 | # key: file-name-directory
4 | # key: fnd
5 | # --
6 | (file-name-directory $0)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/make-local-variable:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: make-local-variable
3 | # key: make-local-variable
4 | # key: mlv
5 | # --
6 | (make-local-variable $0)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/with-current-buffer:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: with-current-buffer
3 | # key: with-current-buffer
4 | # key: wcb
5 | # --
6 | (with-current-buffer $0 )
--------------------------------------------------------------------------------
/emacs.d/snippets/markdown-mode/h1.2:
--------------------------------------------------------------------------------
1 | # name: Header 1 (=)
2 | # contributor: Peng Deng
3 | # key: h1
4 | # --
5 | ${1:Header 1}
6 | ${1:$(make-string (string-width yas-text) ?\=)}
7 |
8 | $0
--------------------------------------------------------------------------------
/emacs.d/snippets/markdown-mode/h2.2:
--------------------------------------------------------------------------------
1 | # name: Header 2 (-)
2 | # contributor: Peng Deng
3 | # key: h2
4 | # --
5 | ${1:Header 2}
6 | ${1:$(make-string (string-width yas-text) ?\-)}
7 |
8 | $0
--------------------------------------------------------------------------------
/emacs.d/snippets/sql-mode/references:
--------------------------------------------------------------------------------
1 | # contributor: Alejandro Espinoza Esparza
2 | # name: REFERENCES ...
3 | # key: references
4 | # --
5 | REFERENCES ${1:TableName}([${2:ColumnName}])
--------------------------------------------------------------------------------
/emacs.d/snippets/actionscript-mode/pac:
--------------------------------------------------------------------------------
1 | # name: package { ... }
2 | # key: pac
3 | # --
4 | package {
5 | public class ${1:name} extends ${2:parent} {
6 | public function ${3:name}(){
7 | }
8 | }
9 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/delete-directory:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: delete-directory
3 | # key: delete-directory
4 | # key: dd
5 | # --
6 | (delete-directory $0 &optional RECURSIVE)
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/keygen:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: keygen
3 | # key: keygen
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/meta/meta:
--------------------------------------------------------------------------------
1 | # contributor: Jimmy Wu
2 | # name:
3 | # key: meta
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/js-mode/declarations/function-doc:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: function docs
3 | # --
4 |
5 | /**
6 | * $0
7 | * @param {${1:String}} $2
8 | * @return {${3:String}}
9 | */
10 |
--------------------------------------------------------------------------------
/emacs.d/snippets/markdown-mode/ol:
--------------------------------------------------------------------------------
1 | # name: Ordered List
2 | # contributor: Peng Deng
3 | # key: ol
4 | # --
5 | ${1:1}. ${2:Text}
6 | ${1:$(number-to-string (1+ (string-to-number yas-text)))}. $0
--------------------------------------------------------------------------------
/emacs.d/snippets/nxml-mode/form:
--------------------------------------------------------------------------------
1 | # contributor: Anders Bach Nielsen
2 | #name :
3 | # key: form
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/custom-autoload:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: custom-autoload
3 | # key: custom-autoload
4 | # key: ca
5 | # --
6 | (custom-autoload$0 SYMBOL LOAD &optional NOSET)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/directory-files:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: directory-files
3 | # key: directory-files
4 | # key: df
5 | # --
6 | (directory-files $0 &optional FULL MATCH NOSORT)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/file-name-nondirectory:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: file-name-nondirectory
3 | # key: file-name-nondirectory
4 | # key: fnn
5 | # --
6 | (file-name-nondirectory $0 )
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/line-beginning-position:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: line-beginning-position
3 | # key: line-beginning-position
4 | # key: lbp
5 | # --
6 | (line-beginning-position)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/rename-file:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: rename-file
3 | # key: rename-file
4 | # key: rf
5 | # --
6 | (rename-file FILE$0 NEWNAME &optional OK-IF-ALREADY-EXISTS)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/skip-chars-forward:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: skip-chars-forward
3 | # key: skip-chars-forward
4 | # key: scf
5 | # --
6 | (skip-chars-forward "$0" &optional LIM)
--------------------------------------------------------------------------------
/emacs.d/snippets/feature-mode/bac:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # key: bac
3 | # name: Background
4 | # expand-env: ((yas-indent-line 'fixed))
5 | # --
6 | Background:
7 | Given ${1: a known starting condition}
8 | $0
9 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/audio:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: audio
3 | # key: audio
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/command:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: command
3 | # key: command
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/latex-mode/begin:
--------------------------------------------------------------------------------
1 | # contributor: Rodrigo Setti
2 | # name: \begin{environment} ... \end{environment}
3 | # key: begin
4 | # --
5 |
6 | \begin{${1:environment}}
7 | $0
8 | \end{$1}
--------------------------------------------------------------------------------
/emacs.d/snippets/nxml-mode/meta/meta:
--------------------------------------------------------------------------------
1 | # contributor: Anders Bach Nielsen
2 | # name:
3 | # key: meta
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/sql-mode/column:
--------------------------------------------------------------------------------
1 | # contributor: Alejandro Espinoza Esparza
2 | # name: , ColumnName ColumnType NOT NULL...
3 | # key: column
4 | # --
5 | , ${1:Name} ${2:Type} ${3:NOT NULL}
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/copy-directory:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: copy-directory
3 | # key: copy-directory
4 | # key: cd
5 | # --
6 | (copy-directory $0 NEWNAME &optional KEEP-TIME PARENTS)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/file-name-extension:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: file-name-extension
3 | # key: file-name-extension
4 | # key: fne
5 | # --
6 | (file-name-extension $0 &optional PERIOD)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/skip-chars-backward:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: skip-chars-backward
3 | # key: skip-chars-backward
4 | # key: scb
5 | # --
6 | (skip-chars-backward "$0" &optional LIM)
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/meta/doctype.xhml1:
--------------------------------------------------------------------------------
1 | # name: DocType XHTML 1.0 frameset
2 | # key: doctype
3 | # --
4 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/meta/doctype.xhtml1_strict:
--------------------------------------------------------------------------------
1 | # name: DocType XHTML 1.0 Strict
2 | # key: doctype
3 | # --
4 |
--------------------------------------------------------------------------------
/emacs.d/snippets/js-mode/debug/log-location:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8; mode: snippet -*-
2 | # name: console.log "> function >> "
3 | # key: lol
4 | # --
5 | console.log("> `(progn (imenu--make-index-alist) (which-function))` >> $0");
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/advice-after:
--------------------------------------------------------------------------------
1 | # name: advice-after
2 | # key: adv-after
3 | # binding:
4 | # expand-env: ()
5 | # --
6 | (defadvice ${1:advised-function} (after ${2:advice-name} activate)
7 | $0
8 | )
9 |
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/file-name-sans-extension:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: file-name-sans-extension
3 | # key: file-name-sans-extension
4 | # key: fnse
5 | # --
6 | (file-name-sans-extension $0)
--------------------------------------------------------------------------------
/emacs.d/snippets/haml-mode/script.skewer:
--------------------------------------------------------------------------------
1 | # name insert skewer
2 | # key: skewer
3 | # --
4 | %script{:charset => "utf-8", :src => "http://localhost:`(if (boundp 'httpd-port) httpd-port "8080")`/skewer", :type => "text/javascript"}
--------------------------------------------------------------------------------
/emacs.d/snippets/js-mode/skeleton/module:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: module skeleton
3 | # key: module
4 | # --
5 | var $1 = require("${2:$1}")$3
6 |
7 | module.exports = {
8 | $4: $4$5
9 | };
10 |
11 | $0
12 |
--------------------------------------------------------------------------------
/.bin-emacs/emacs-minimal:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | #
3 | # Start a minimally configured emacs
4 | #
5 | # Author: Thomas Frössman ( thomasf@jossystem.se / http://thomas.jossystem.se )
6 | #
7 |
8 | exec emacs -q -l ~/.emacs.d/init-minimal $*
9 |
--------------------------------------------------------------------------------
/emacs.d/dict/lua-mode:
--------------------------------------------------------------------------------
1 | and
2 | break
3 | do
4 | else
5 | elseif
6 | end
7 | false
8 | for
9 | function
10 | if
11 | in
12 | local
13 | nil
14 | not
15 | or
16 | repeat
17 | return
18 | then
19 | true
20 | until
21 | while
22 |
--------------------------------------------------------------------------------
/emacs.d/snippets/c++-mode/class:
--------------------------------------------------------------------------------
1 | # name: class ... { ... }
2 | # key: class
3 | # --
4 | class ${1:Name}
5 | {
6 | public:
7 | ${1:$(yas-substr yas-text "[^: ]*")}($2);
8 | virtual ~${1:$(yas-substr yas-text "[^: ]*")}();
9 | };
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/advice-before:
--------------------------------------------------------------------------------
1 | # name: advice-before
2 | # key: adv-before
3 | # binding:
4 | # expand-env: ()
5 | # --
6 | (defadvice ${1:advised-function} (before ${2:advice-name} activate)
7 | $0
8 | )
9 |
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/copy-file:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: copy-file
3 | # key: copy-file
4 | # key: cf
5 | # --
6 | (copy-file FILE$0 NEWNAME &optional OK-IF-ALREADY-EXISTS KEEP-TIME PRESERVE-UID-GID)
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/replace-regexp:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: replace-regexp
3 | # key: replace-regexp
4 | # key: rr
5 | # --
6 | (replace-regexp REGEXP$0 TO-STRING &optional DELIMITED START END)
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/script.javascript:
--------------------------------------------------------------------------------
1 | # contributor: Jimmy Wu
2 | # name :
3 | # key: script
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/style:
--------------------------------------------------------------------------------
1 | # contributor: Jimmy Wu
2 | # name:
3 | # key: style
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/sh-mode/case:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: case..esac
3 | # key: case
4 | # --
5 | case ${1:$pattern} in
6 | ${2:this|that})
7 | $3
8 | ;;
9 | *)
10 | ${4:echo "Nothing to do for $1"}
11 | ;;
12 | esac
13 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/django/extends:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # contributor: David Miller
3 | # group: django
4 | # name: template extends
5 | # key: extends
6 | # --
7 | {% extends '${1:base.html}' %}$0
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/table/table:
--------------------------------------------------------------------------------
1 | # contributor: Jimmy Wu
2 | # name:
3 | # key: table
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/nxml-mode/link:
--------------------------------------------------------------------------------
1 | # contributor: Anders Bach Nielsen
2 | # name:
3 | # key: link
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/nxml-mode/style:
--------------------------------------------------------------------------------
1 | # contributor: Anders Bach Nielsen
2 | # name:
3 | # key: style
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/match.can:
--------------------------------------------------------------------------------
1 | # name: can match { case Full(res) => .. }
2 | # key: match
3 | # --
4 | ${1:option} match {
5 | case Full(res) => $0
6 |
7 | case Empty =>
8 |
9 | case Failure(msg, _, _) =>
10 |
11 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/try:
--------------------------------------------------------------------------------
1 | # name: try { .. } catch { case e => ..}
2 | # key: try
3 | # --
4 | try {
5 | $0
6 | } catch {
7 | case ${1:e}: ${2:Exception} =>
8 | ${1:println(\"ERROR: \" + e) // TODO: handle exception}\n}
9 | }
--------------------------------------------------------------------------------
/.bin-emacs/emacs-home:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | #
3 | # Opens an emacs session where all features are enabled
4 | #
5 | # Author: Thomas Frössman ( thomasf@jossystem.se / http://thomas.jossystem.se )
6 | #
7 |
8 | exec emacs -l ~/.emacs.d/init-home $*
9 |
--------------------------------------------------------------------------------
/emacs.d/lisp/makeup.el:
--------------------------------------------------------------------------------
1 | ;; just empty, because somehow ../makeup.el gets compiled into php-mode.el
2 | ;; requireing a package called makeup as well, I do not have time to
3 | ;; investigate atm. leave this stub instead.
4 | (provide 'makeup)
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/dockerfile-mode/install/nodejs:
--------------------------------------------------------------------------------
1 | # name: install nodejs 4.x
2 | # key:
3 | # binding:
4 | # expand-env: ()
5 | # --
6 | # install nodejs
7 | run curl -sL https://deb.nodesource.com/setup_4.x | bash - && apt-get install -y nodejs
8 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/link.stylesheet:
--------------------------------------------------------------------------------
1 | # contributor: Jimmy Wu
2 | # name:
3 | # key: link
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/json-mode/messages.json/desc:
--------------------------------------------------------------------------------
1 | # name: description field
2 | # key: desc
3 | # expand-env: ()
4 | # condition: (and buffer-file-name (string= (file-name-nondirectory buffer-file-name) "messages.json"))
5 | # --
6 | "description": "$0"
--------------------------------------------------------------------------------
/emacs.d/snippets/cc-mode/once:
--------------------------------------------------------------------------------
1 | # name: #ifndef XXX; #define XXX; #endif
2 | # key: once
3 | # --
4 | #ifndef ${1:_`(upcase (file-name-nondirectory (file-name-sans-extension (buffer-file-name))))`_H_}
5 | #define $1
6 |
7 | $0
8 |
9 | #endif /* $1 */
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/meta/doctype.xhtml1_transitional:
--------------------------------------------------------------------------------
1 | # name: DocType XHTML 1.0 Transitional
2 | # key: doctype
3 | # --
4 |
--------------------------------------------------------------------------------
/emacs.d/snippets/nxml-mode/meta/doctype:
--------------------------------------------------------------------------------
1 | # contributor: Anders Bach Nielsen
2 | # name: DocType XHTML 1.1
3 | # key: doctype
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/org-mode/sourceblock:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name : #+srcname:..#+begin_src...#+end_src
3 | # key: src
4 | # binding: C-c i s
5 | # --
6 | ${1:#+source: ${2:name}}
7 | #+begin_src ${3:language}
8 | $0
9 | #+end_src
10 |
--------------------------------------------------------------------------------
/emacs.d/tool/go.mod:
--------------------------------------------------------------------------------
1 | go 1.13
2 |
3 | module github.com/thomasf/dotfiles-thomasf-emacs/emacs.d/tool
4 |
5 | require (
6 | github.com/davecgh/go-spew v1.1.1
7 | github.com/google/go-cmp v0.4.0
8 | github.com/sergi/go-diff v1.3.1
9 | )
10 |
--------------------------------------------------------------------------------
/emacs.d/snippets/c-mode/printf:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: printf
3 | # contributor: joaotavora
4 | # key: printf
5 | # --
6 | printf ("${1:%s}\\n"${1:$(if (string-match "%" yas-text) "," "\);")
7 | }$2${1:$(if (string-match "%" yas-text) "\);" "")}
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/canvas:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: canvas
3 | # key: canvas
4 | # --
5 | $0
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/html.xmlns:
--------------------------------------------------------------------------------
1 | # contributor: Jimmy Wu
2 | # name: ...
3 | # key: html
4 | # --
5 |
6 | $0
7 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/meta/meta.http-equiv:
--------------------------------------------------------------------------------
1 | # contributor: Jimmy Wu
2 | # name:
3 | # key: meta
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/nxml-mode/html:
--------------------------------------------------------------------------------
1 | # contributor: Anders Bach Nielsen
2 | # name: ...
3 | # key: html
4 | # --
5 |
6 | $0
7 |
--------------------------------------------------------------------------------
/emacs.d/snippets/sql-mode/constraint:
--------------------------------------------------------------------------------
1 | # contributor: Alejandro Espinoza Esparza
2 | # name: CONSTRAINT [..] PRIMARY KEY ...
3 | # key: constraint
4 | # --
5 | CONSTRAINT [${1:PK_Name}] PRIMARY KEY ${2:CLUSTERED} ([${3:ColumnName}])
--------------------------------------------------------------------------------
/emacs.d/.dir-locals.el:
--------------------------------------------------------------------------------
1 | ;;; Directory Local Variables
2 | ;;; See Info node `(emacs) Directory Variables' for more information.
3 |
4 | ((nil
5 | (project-base-name . emacsd)
6 | (ack-and-a-half-arguments "--elisp --markdown --ignore-dir=localdata")))
7 |
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/advice-around:
--------------------------------------------------------------------------------
1 | # name: advice-around
2 | # key: adv-around
3 | # binding:
4 | # expand-env: ()
5 | # --
6 | (defadvice ${1:advised-function} (around ${2:advice-name} activate)
7 | $0
8 | ad-do-it
9 | )
10 |
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/buffer-substring-no-properties:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: buffer-substring-no-properties
3 | # key: buffer-substring-no-properties
4 | # key: bsnp
5 | # --
6 | (buffer-substring-no-properties START$0 END)
--------------------------------------------------------------------------------
/emacs.d/snippets/erlang-mode/mod:
--------------------------------------------------------------------------------
1 | # name: -module().
2 | # contributor: hitesh
3 | # key: mod
4 | # --
5 | -module(${1:`(file-name-nondirectory
6 | (file-name-sans-extension (or (buffer-file-name) (buffer-name))))`}).
7 | $0
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/script.skewer:
--------------------------------------------------------------------------------
1 | # name insert skewer
2 | # key: skewer
3 | # --
4 |
--------------------------------------------------------------------------------
/emacs.d/snippets/sql-mode/constraint.1:
--------------------------------------------------------------------------------
1 | # contributor: Alejandro Espinoza Esparza
2 | # name: CONSTRAINT [..] FOREIGN KEY ...
3 | # key: constraint
4 | # --
5 | CONSTRAINT [${1:FK_Name}] FOREIGN KEY ${2:CLUSTERED} ([${3:ColumnName}])
--------------------------------------------------------------------------------
/emacs.d/snippets/dockerfile-mode/lib/postgresql:
--------------------------------------------------------------------------------
1 | # name: install postgresql build dep and client
2 | # key:
3 | # binding:
4 | # expand-env: ()
5 | # --
6 | # install postgresql client and developlemt libraries
7 | apt-get install -y postgresql-client libpq-dev
8 |
--------------------------------------------------------------------------------
/emacs.d/snippets/actionscript-mode/pac.spr:
--------------------------------------------------------------------------------
1 | # name: package {...}
2 | # key: pac.spr
3 | # --
4 | package {
5 | import flash.display.Sprite;
6 | public class ${1:name} extends Sprite {
7 | public function ${2:name}() {
8 | }
9 | }
10 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/longer/f9def:
--------------------------------------------------------------------------------
1 | # name: f9 defun quick setup
2 | # key: f9def
3 | # expand-env: ()
4 | # --
5 |
6 | (defun temp-func-f9 ()
7 | "temorary funk for f9"
8 | (interactive)
9 | $0
10 | )
11 |
12 | (bind-key* "" 'temp-func-f9)
13 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/skeleton/html5-skeleton:
--------------------------------------------------------------------------------
1 | # name: Html5 basic skeleton
2 | # key: html5-skeleton
3 | # --
4 |
5 |
6 |
7 | ${1:Title of the document}
8 |
9 |
10 | $0
11 |
12 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/track:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: track
3 | # key: track
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/emacs-lisp-mode/basic/replace-regexp-in-string:
--------------------------------------------------------------------------------
1 | # contributor: Xah Lee (XahLee.org)
2 | # name: replace-regexp-in-string
3 | # key: replace-regexp-in-string
4 | # key: rris
5 | # --
6 | (replace-regexp-in-string REGEXP$0 REP STRING &optional FIXEDCASE LITERAL SUBEXP START)
--------------------------------------------------------------------------------
/emacs.d/snippets/nxml-mode/meta/doctype.xhtml1_strict:
--------------------------------------------------------------------------------
1 | # contributor: Anders Bach Nielsen
2 | # name: DocType XHTML 1.0 Strict
3 | # key: doctype
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/json-mode/messages.json/item:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: item (mesages.json)
3 | # key: item
4 | # condition: (and buffer-file-name (string= (file-name-nondirectory buffer-file-name) "messages.json"))
5 | # --
6 | ,
7 | "$1": {
8 | "message": "$0"
9 | }
10 |
--------------------------------------------------------------------------------
/emacs.d/snippets/objc-mode/prop:
--------------------------------------------------------------------------------
1 | # name: foo { ... } ; setFoo { ... }
2 | # key: prop
3 | # --
4 | - (${1:id})${2:foo}
5 | {
6 | return $2;
7 | }
8 |
9 | - (void)set${2:$(capitalize yas-text)}:($1)aValue
10 | {
11 | [$2 autorelease];
12 | $2 = [aValue retain];
13 | }
14 | $0
--------------------------------------------------------------------------------
/emacs.d/snippets/python-mode/django/ModelForm-class:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8; mode: snippet -*-
2 | # name: Django ModelForm class
3 | # key: django.modelform
4 | # --
5 | class ${1:ClassName}Form(ModelForm):
6 | $0
7 |
8 | class Meta:
9 | model = $1
10 | exclude = ($2)
--------------------------------------------------------------------------------
/emacs.d/dict/go-mode:
--------------------------------------------------------------------------------
1 | break
2 | case
3 | chan
4 | const
5 | continue
6 | default
7 | defer
8 | else
9 | fallthrough
10 | for
11 | func
12 | go
13 | goto
14 | if
15 | import
16 | interface
17 | map
18 | package
19 | range
20 | return
21 | select
22 | struct
23 | switch
24 | type
25 | var
26 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/datalist:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: datalist
3 | # key: datalist
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/json-mode/package.json/engines:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: engines (package.json)
3 | # key: engines
4 | # condition: (and buffer-file-name (string= (file-name-nondirectory buffer-file-name) "package.json"))
5 | # --
6 | "engines": {
7 | "node": "${1:>=0.6}"
8 | } ,
9 | $0
--------------------------------------------------------------------------------
/emacs.d/snippets/python-mode/general/propsg:
--------------------------------------------------------------------------------
1 | # name: _get_foo ... _set_foo ... foo=property(...)
2 | # key: propsg
3 | # --
4 | def _set_${1:foo}(self, value):
5 | self._$1 = value
6 |
7 | def _get_$1(self):
8 | return self._$1
9 |
10 | $1 = property(_get_$1, _set_$1)
11 |
12 | $0
--------------------------------------------------------------------------------
/emacs.d/snippets/scala-mode/try.catch-finally:
--------------------------------------------------------------------------------
1 | # name: try { .. } catch { case e => ..} finally { ..}
2 | # key: try
3 | # --
4 | try {
5 | $0
6 | } catch {
7 | case ${1:e}: ${2:Exception} =>
8 | ${1:println(\"ERROR: \" + e) // TODO: handle exception}\n}
9 | } finally {
10 |
11 | }
--------------------------------------------------------------------------------
/emacs.d/snippets/feature-mode/fea:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # key: fea
3 | # name: Feature: Name
4 | # expand-env: ((yas-indent-line 'fixed))
5 | # --
6 | Feature: ${1:Name}
7 | In order to ${2:get some business value}
8 | ${3:Role} will need ${4:this sweet new feature}
9 |
10 | $0
11 |
--------------------------------------------------------------------------------
/emacs.d/snippets/html-mode/link.stylesheet-ie:
--------------------------------------------------------------------------------
1 | # contributor: Jimmy Wu
2 | # name:
3 | # key: link
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/json-mode/package.json/bin:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: bin (package.json)
3 | # key: bin
4 | # condition: (and buffer-file-name (string= (file-name-nondirectory buffer-file-name) "package.json"))
5 | # --
6 | "bin": {
7 | "${1:binary_name}": "./bin/$1"
8 | } ,
9 | $0
10 |
--------------------------------------------------------------------------------
/emacs.d/snippets/org-mode/habit:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: habit body
3 | # key: hb
4 | # --
5 |
6 | - [ ] $0
7 |
8 | SCHEDULED: <${1:0000-00-00} .+${2:2d}/${3:1w}>
9 | :PROPERTIES:
10 | :STYLE: habit
11 | :REPEAT_TO_STATE: NEXT
12 | :RESET_CHECK_BOXES: t
13 | :END:
14 |
15 |
16 |
--------------------------------------------------------------------------------
/emacs.d/snippets/snippet-mode/vars:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: Snippet header
3 | # contributor: joaotavora
4 | # key: vars
5 | # --
6 | # name: $1${2:
7 | # key: ${3:trigger-key}}${4:
8 | # keybinding: ${5:keybinding}}${6:
9 | # expand-env: (${7:})}
10 | # contributor: $6
11 | # --
12 | $0
--------------------------------------------------------------------------------
/emacs.d/snippets/nxml-mode/meta/doctype.xhtml1_transitional:
--------------------------------------------------------------------------------
1 | # contributor: Anders Bach Nielsen
2 | # name: DocType XHTML 1.0 Transitional
3 | # key: doctype
4 | # --
5 |
--------------------------------------------------------------------------------
/emacs.d/snippets/python-mode/django/Model-class:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8; mode: snippet -*-
2 | # name: Django Model class
3 | # key: django.model
4 | # --
5 | class ${1:ClassName}(models.Model):
6 | """
7 | $2
8 | """
9 | $3
10 |
11 | def __unicode__(self):
12 | return self
13 |
--------------------------------------------------------------------------------
/emacs.d/snippets/sql-mode/create.1:
--------------------------------------------------------------------------------
1 | # contributor: Alejandro Espinoza Esparza
2 | # name: create procedure ...
3 | # key: create
4 | # --
5 | CREATE PROCEDURE [${1:dbo}].[${2:Name}]
6 | (
7 | $3 $4 = ${5:NULL} ${6:OUTPUT}
8 | )
9 | AS
10 | BEGIN
11 | $0
12 | END
13 | GO
--------------------------------------------------------------------------------
/.bin-emacs/emacs-batch-eval:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | #
3 | # Opens emacs in batch mode and evalutes all arguments
4 | #
5 | # Author: Thomas Frössman ( thomasf@jossystem.se / http://thomas.jossystem.se )
6 | #
7 |
8 | set -e
9 | set -u
10 |
11 | exec emacs --quick -Q -q --batch -l ~/.emacs.d/init-batch -eval "$1"
12 |
--------------------------------------------------------------------------------
/emacs.d/snippets/kivy-mode/ColorRect:
--------------------------------------------------------------------------------
1 | # name: canvas.rectr...
2 | # key: canvasrect
3 | # --
4 | canvas:
5 | Color:
6 | rgb: `(format "0.%s" (+ 30 (random 50)))`, `(format "0.%s" (+ 30 (random 50)))`, `(format "0.%s" (+ 30 (random 50)))`, 0.4
7 | Rectangle:
8 | pos: self.pos
9 | size: self.size
--------------------------------------------------------------------------------
/emacs.d/snippets/org-mode/email:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: email
3 | # key: email
4 | # condition: (or (= (current-column) 5) (= (current-column) 0))
5 | # contributor: Rick Moynihan
6 | # contributor: Rafael Villarroel (rvf0068@gmail.com)
7 | # --
8 | #+email: ${1:`user-mail-address`}
9 |
--------------------------------------------------------------------------------
/emacs.d/snippets/git-commit-mode/cleanup/code-cleanup:
--------------------------------------------------------------------------------
1 | # name: clean messages
2 | # key: clean
3 | # expand-env: ()
4 | # --
5 | ${1:$$(yas-choose-value '(
6 | "improve source readability"
7 | "improve source formatting"
8 | "improve documentation"
9 | "fix pep8 issues"
10 | "remove unused code"
11 | "gofmt'd"
12 | ))}$0
--------------------------------------------------------------------------------
/emacs.d/snippets/org-mode/note:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: NOTE
3 | # key: note
4 | # binding: C-c i n
5 | # --
6 | `(org-insert-subheading t)` $0 :note:
7 | :PROPERTIES:
8 | :ID: `(shell-command-to-string "uuidgen")`:CREATED: `(with-temp-buffer (org-insert-time-stamp (current-time) t t))`
9 | :END:
10 |
--------------------------------------------------------------------------------
/emacs.d/snippets/org-mode/todo:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: TODO
3 | # key: todo
4 | # binding: C-c i t
5 | # --
6 | `(org-insert-heading)` TODO ${1:title}
7 | :PROPERTIES:
8 | :ID: `(shell-command-to-string "uuidgen")`:CREATED: `(with-temp-buffer (org-insert-time-stamp (current-time) t t))`
9 | :END:
10 | $0
--------------------------------------------------------------------------------
/emacs.d/snippets/json-mode/package.json/dependencies:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: dependencies (package.json)
3 | # key: dep
4 | # condition: (and buffer-file-name (string= (file-name-nondirectory buffer-file-name) "package.json"))
5 | # --
6 | "dependencies": {
7 | "${1:name}": "${2:version *=any}"
8 | } ,
9 | $0
10 |
--------------------------------------------------------------------------------
/emacs.d/snippets/python-mode/general/skeleton:
--------------------------------------------------------------------------------
1 | # name: Python skeleton
2 | # --
3 | # -*- coding: utf-8 -*-
4 | """ `(if (s-equals? "__init__" (f-base (f-this-file)))
5 | (s-titleize (f-base (f-dirname (f-this-file))))
6 | (s-titleize (f-base (f-this-file)))) `
7 |
8 | Author: `user-full-name`
9 | """
10 | $0
--------------------------------------------------------------------------------
/emacs.d/init-batch.el:
--------------------------------------------------------------------------------
1 | (setq force-load-messages nil
2 | use-package-verbose nil
3 | use-package-debug nil)
4 | (defun ask-user-about-lock (file opponent)
5 | "always grab lock."
6 | (warn "Grabbing lock for: %s" file)
7 | t)
8 |
9 | (load (expand-file-name "init" (file-name-directory load-file-name)) nil t)
10 |
11 |
--------------------------------------------------------------------------------
/emacs.d/init-home.el:
--------------------------------------------------------------------------------
1 | ;; (make-frame)
2 | (load (expand-file-name "init" (file-name-directory load-file-name)) nil t)
3 | ;; ;; (org-agenda nil "n")
4 | ;; (with-selected-frame
5 | ;; (next-frame)
6 | ;; (org-agenda nil " "))
7 |
8 | ;; (org-agenda nil " ")
9 | (edit-server-start)
10 | (server-start)
11 | ;; (start-elnode-bm)
12 |
13 |
--------------------------------------------------------------------------------
/emacs.d/snippets/json-mode/package.json/dev-dependencies:
--------------------------------------------------------------------------------
1 | # -*- mode: snippet -*-
2 | # name: devDependencies (package.json)
3 | # key: devdep
4 | # condition: (and buffer-file-name (string= (file-name-nondirectory buffer-file-name) "package.json"))
5 | # --
6 | "devDependencies": {
7 | "${1:name}": "${2:version *=any}"
8 | } ,
9 | $0
10 |
--------------------------------------------------------------------------------
/emacs.d/snippets/sql-mode/create:
--------------------------------------------------------------------------------
1 | # contributor: Alejandro Espinoza Esparza
2 | # name: create table ...
3 | # key: create
4 | # --
5 | CREATE TABLE [${1:dbo}].[${2:TableName}]
6 | (
7 | ${3:Id} ${4:INT IDENTITY(1,1)} ${5:NOT NULL}
8 | $0
9 | CONSTRAINT [${6:PK_}] PRIMARY KEY ${7:CLUSTERED} ([$3])
10 | )
11 | GO
--------------------------------------------------------------------------------
/emacs.d/update-tree-sitter-modules.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | set -e
4 |
5 | git clone git@github.com:casouri/tree-sitter-module || true
6 |
7 | cd tree-sitter-module
8 |
9 | git pull
10 |
11 | JOBS=12 ./batch.sh
12 |
13 | mkdir -p ../tree-sitter
14 | rm ../tree-sitter/libtree-sitter-*.so || true
15 | cp dist/libtree-sitter-* ../tree-sitter/
16 |
--------------------------------------------------------------------------------