Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (12 sloc) 531 Bytes
;; 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)
(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)