mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 13:13:03 +00:00
Slightly more uniform installation instructions for issue #198
This commit is contained in:
parent
dc7a640227
commit
16fadcab4b
17
yasnippet.el
17
yasnippet.el
@ -30,20 +30,11 @@
|
||||
|
||||
;; Basic steps to setup:
|
||||
;;
|
||||
;; 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
|
||||
;; (add-to-list 'load-path
|
||||
;; "~/.emacs.d/plugins/yasnippet")
|
||||
;; (require 'yasnippet) ;; not yasnippet-bundle
|
||||
;; (yas/global-mode 1)
|
||||
;;
|
||||
;; Steps 4. and 5. are optional, you don't have to use the minor
|
||||
;; mode to use YASnippet.
|
||||
;;
|
||||
;; Interesting variables are:
|
||||
;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user