From: pluskid <pluskid@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: YASnippet -- Yet another snippet extension (after smart-snippet) for Emacs
Date: Tue, 11 Mar 2008 07:58:38 -0700 (PDT) [thread overview]
Message-ID: <b2c1d9e7-b207-4870-b14b-f7c6dae95de6@s13g2000prd.googlegroups.com> (raw)
The project is at http://code.google.com/p/yasnippet/
This is a re-design and re-writing of my original extension smart-
snippet. The goal is ease of use and full features.
= Getting Started
== For the busy or impatient people
Watch the screencast at YouTube. Or download the higher resolution
one.
* http://www.youtube.com/watch?v=vOj7btx3ATg
* http://yasnippet.googlecode.com/files/yasnippet.avi
== For lazy people or beginner
1. Download yasnippet-bundle-x.y.z.el.tgz on the right sidebar and
unpack it.
2. Save it to
* One of the directories in your load-path.
* Some arbitrary directory, e.g ~/.emacs.d/plugins and add
this directory to your load-path, that is, add this to your ~/.emacs
file.
(add-to-list 'load-path
"~/.emacs.d/plugins")
3. Require it in your ~/.emacs file:
(require 'yasnippet-bundle)
== For You
1. Download the latest yasnippet-x.y.z.tar.bz2 on the right
sidebar.
2. Unpack it.
3. Add that directory to your load-path.
4. Require and initialize yasnippet in your ~/.emacs file:
(require 'yasnippet) ;; not yasnippet-bundle
(yas/initialize)
(yas/load-directory "/path/to/the/snippets/directory/")
5. Optionally you can customize the snippets inside the snippets
directory.
6. There's also a python script in tools directory to let you
compile your customized snippets into a single stand-alone yasnippet-
bundle file.
== For geeks
If you want to always follow the latest code. You can check out it
from the svn repository:
svn checkout http://yasnippet.googlecode.com/svn/trunk/ yasnippet
next reply other threads:[~2008-03-11 14:58 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-11 14:58 pluskid [this message]
2008-03-11 16:55 ` YASnippet -- Yet another snippet extension (after smart-snippet) for Emacs Lennart Borgman (gmail)
2008-03-11 17:08 ` Chiyuan Zhang
[not found] ` <b6f0e9dd0803111008x6b242c8aie5aa527ddb5c3fc6@mail.gmail.co m>
2008-03-20 23:29 ` Johan Lindström
2008-03-19 1:00 ` Xavier Maillard
2008-03-19 12:21 ` Chiyuan Zhang
2008-03-20 10:38 ` Nikolaj Schumacher
2008-03-20 16:03 ` Chiyuan Zhang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b2c1d9e7-b207-4870-b14b-f7c6dae95de6@s13g2000prd.googlegroups.com \
--to=pluskid@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).