Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (12 sloc) 0.531 kB
;; TODO: smarter new-snippet
;;; After creating a snippet, it should now what to save it as, and
;;; where, using mode-name and key of the snippet.
;; TODO: quick menu showing all available modes in the bottom of the
;; screen, similar to how magit shows available switches.
(require 'yasnippet)
(yas/initialize)
(setq yas/root-directory "~/.emacs.d/snippets")
(yas/load-directory yas/root-directory)
(global-set-key (kbd "C-c yn") 'yas/new-snippet)
(global-set-key (kbd "C-c yr") 'yas/reload-all)
(provide 'arvid-yasnippet)
Jump to Line
Something went wrong with that request. Please try again.