From 16fadcab4b5827c7e57a7104590b8c331ca8fbe0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20T=C3=A1vora?= Date: Thu, 15 Dec 2011 01:10:47 +0000 Subject: [PATCH] Slightly more uniform installation instructions for issue #198 --- yasnippet.el | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/yasnippet.el b/yasnippet.el index 924469d..c6f864d 100644 --- a/yasnippet.el +++ b/yasnippet.el @@ -29,21 +29,12 @@ ;;; Commentary: ;; Basic steps to setup: +;; +;; (add-to-list 'load-path +;; "~/.emacs.d/plugins/yasnippet") +;; (require 'yasnippet) ;; not yasnippet-bundle +;; (yas/global-mode 1) ;; -;; 1. In your .emacs file: -;; (add-to-list 'load-path "/dir/to/yasnippet.el") -;; (require 'yasnippet) -;; 2. Place the `snippets' directory somewhere. E.g: ~/.emacs.d/snippets -;; 3. In your .emacs file -;; (setq yas/snippet-dirs "~/.emacs/snippets") -;; (yas/load-directory yas/snippet-dirs) -;; 4. To enable the YASnippet menu and tab-trigger expansion -;; M-x yas/minor-mode -;; 5. To globally enable the minor mode in *all* buffers -;; M-x yas/global-mode -;; -;; Steps 4. and 5. are optional, you don't have to use the minor -;; mode to use YASnippet. ;; ;; Interesting variables are: ;;