Skip to content

Latest commit

 

History

20 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snippets

Usefull YAS Snippets for Emacs

Installation

Clone this repo, e.g. into ~/.spacemacs.d/snippets

In your Spacemacs config (SPC f e d) enter the path to this repo for the autocompletion layer:

(auto-completion :variables
                 ;; ... other vars here ...
                 auto-completion-private-snippets-directory "~/.spacemacs.d/snippets")

After that you might have to do M-x yas-reload-all RET

Usage

To create new snippet use M-x yas-new-snippet RET and follow the documentation on how to write snippets.

To insert a snippet use SPC i s which will prompt you with a helm query with all snippets for the current major mode.

About

Usefull YAS Snippets for Emacs

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages