Slightly more uniform installation instructions for issue #198

This commit is contained in:
João Távora 2011-12-15 01:10:47 +00:00
parent dc7a640227
commit 16fadcab4b

View File

@ -30,20 +30,11 @@
;; Basic steps to setup: ;; Basic steps to setup:
;; ;;
;; 1. In your .emacs file: ;; (add-to-list 'load-path
;; (add-to-list 'load-path "/dir/to/yasnippet.el") ;; "~/.emacs.d/plugins/yasnippet")
;; (require 'yasnippet) ;; (require 'yasnippet) ;; not yasnippet-bundle
;; 2. Place the `snippets' directory somewhere. E.g: ~/.emacs.d/snippets ;; (yas/global-mode 1)
;; 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: ;; Interesting variables are:
;; ;;