unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* YASnippet -- Yet another snippet extension (after smart-snippet) for Emacs
@ 2008-03-11 14:58 pluskid
  2008-03-11 16:55 ` Lennart Borgman (gmail)
  2008-03-19  1:00 ` Xavier Maillard
  0 siblings, 2 replies; 8+ messages in thread
From: pluskid @ 2008-03-11 14:58 UTC (permalink / raw)
  To: help-gnu-emacs

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-03-20 23:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-11 14:58 YASnippet -- Yet another snippet extension (after smart-snippet) for Emacs pluskid
2008-03-11 16:55 ` 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

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).