jsallis / nu-yasnippets
- Source
- Commits
- Network (0)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
| name | age | message | |
|---|---|---|---|
| |
README.markdown | ||
| |
text-mode/ |
nu-yasnippets
nu-yasnippets provides Nu snippets for use in Emacs with the YASnippet extension enabled
Requirements
You need to have nu-mode and yasnippet installed.
Installation
Clone the git repository into a directory in your Emacs load path (ie. .emacs.d, elisp, etc.). This will create the following directory structure:
nu-yasnippets
-> text-mode
-> nu-mode
Add the following line to your .emacs file after the section that you loaded yasnippet (replacing .emacs.d with the directory that you cloned nu-yasnippets into):
(yas/load-directory "~/.emacs.d/nu-yasnippets")
Usage
Open a Nu file, type one of the snippet abbreviations, press tab and your snippet should be inserted. Use tab to jump through the placeholders and insert your desired text.
You will know that you have yasnippet support if "yas" appears in your mode line when you have a Nu file open. You should also see "nu-mode" in your YASnippet menu (if you use a menu in Emacs at all).

