gnu-emacs-sources
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

YASnippet 0.2.1 (Yet another snippet extension for Emacs)


From: pluskid
Subject: YASnippet 0.2.1 (Yet another snippet extension for Emacs)
Date: Tue, 11 Mar 2008 07:57:23 -0700 (PDT)
User-agent: G2/1.0

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]