Is doing mkdir ~/.emacs.d/personal/snippets/
the correct way and putting snippets there?
I've been reading https://github.com/bbatsov/prelude/issues/98
What I did:
;; personal.el (prelude-require-packages '( yasnippet )) ;; yasnippet (add-to-list 'load-path "~/.emacs.d/personal/snippets") (require 'yasnippet) (yas-global-mode 1)
Added this snippet to the snippets folder: https://github.com/AndreaCrotti/yasnippet-snippets/blob/master/snippets/perl-mode/sub
Then restarted emacs
opened up up a ruby file ( emacs is an alias that does a -nw emacsclient)
now on a new line I press sub and then tab, but nothing happens. What am I doing wrong.