emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] master 8e8320f 036/177: remove reference to yas-trigger-key


From: João Távora
Subject: [elpa] master 8e8320f 036/177: remove reference to yas-trigger-key
Date: Sat, 28 Mar 2015 15:40:39 +0000

branch: master
commit 8e8320fadb637f784fa9dfc20fd8cfa91862848e
Author: Noam Postavsky <address@hidden>
Commit: Noam Postavsky <address@hidden>

    remove reference to yas-trigger-key
---
 doc/manual.org |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/doc/manual.org b/doc/manual.org
index d244c12..cc325ed 100644
--- a/doc/manual.org
+++ b/doc/manual.org
@@ -236,8 +236,14 @@
 
    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*.
 



reply via email to

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