mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 21:13:04 +00:00
remove reference to yas-trigger-key
This commit is contained in:
parent
fdd550a698
commit
8e8320fadb
@ -236,8 +236,14 @@
|
|||||||
|
|
||||||
To make a snippet expand after the cursor:
|
To make a snippet expand after the cursor:
|
||||||
|
|
||||||
* Type an the snippet's *trigger key* then press the key defined in
|
* Type the snippet's *trigger key* then calling [[#yas-expand][=yas-expand=]]. It's bound to
|
||||||
[[#yas-trigger-key][=yas-trigger-key=]] (usually to "TAB").
|
=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*.
|
* Use the snippet's *keybinding*.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user