Crandel / tempel-collection

Collection tempel templates
GNU General Public License v3.0
72 stars 24 forks source link

Collection of the templates to Emacs [[https://github.com/minad/tempel][Tempel]] package.

Template files are placed in the directory =templates= as lisp data =.eld= files.

** From melpa

You can install this package from melpa, by first ensuring that you have the melpa source in your package-archives.

+begin_src elisp

(require 'package) (add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/") t) (package-initialize) (package-refresh-contents)

+end_src

Once that is done, this package can be installed.

+begin_src shell

package-install tempel-collection

+end_src

** use-package recipe

+begin_src elisp

(use-package tempel-collection :ensure t :after tempel )

+end_src

Now all the templates will load automatically.

Just call =tempel-expand= or =tempel-insert= in one of the supported modes.