]> code.delx.au - gnu-emacs-elpa/commitdiff
remove reference to yas-trigger-key
authorNoam Postavsky <npostavs@users.sourceforge.net>
Sat, 23 Nov 2013 19:38:43 +0000 (14:38 -0500)
committerNoam Postavsky <npostavs@users.sourceforge.net>
Sat, 23 Nov 2013 19:38:43 +0000 (14:38 -0500)
doc/manual.org

index d244c12fd1fb5e1b248e3fedf16dc6a22f813e48..cc325ed5cfcf69e331be06044688d98ddc45de4b 100644 (file)
 
    To make a snippet expand after the cursor:
 
-   * Type an the snippet's *trigger key* then press the key defined in
-     [[#yas-trigger-key][=yas-trigger-key=]] (usually to "TAB").
+   * Type the snippet's *trigger key* then calling [[#yas-expand][=yas-expand=]]. It's bound to
+     =TAB= and =<tab>= by default, to change it use
+
+   #+begin_src emacs-lisp :exports code
+     (define-key yas-minor-mode-map (kbd "<tab>") nil)
+     (define-key yas-minor-mode-map (kbd "TAB") nil)
+     (define-key yas-minor-mode-map (kbd "<the new key>") 'yas-expand)
+   #+end_src
 
    * Use the snippet's *keybinding*.