branch: master commit 8e8320fadb637f784fa9dfc20fd8cfa91862848e Author: Noam Postavsky <npost...@users.sourceforge.net> Commit: Noam Postavsky <npost...@users.sourceforge.net>
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*.