GNU bug report logs -
#56630
(yasnippet) how to disable TAB <tab> C-i?
Previous Next
Full log
Message #22 received at 56630 <at> debbugs.gnu.org (full text, mbox):
edgar <at> openmail.cc writes:
> Unfortunately, not. This does not work either:
>
> (with-eval-after-load 'yasnippet
>
> (setq yas-snippet-dirs
> (list "~/.emacs.d/snippets/"))
> (yas--load-snippet-dirs)
> ;; allow to insert a snippet within a snippet
> (setq yas-triggers-in-field t)
> ;; Change trigger key
> (define-key yas-minor-mode-map (kbd "C-i") nil)
> (define-key yas-minor-mode-map (kbd "C-c m") 'yas-expand)
> (define-key yas-minor-mode-map [(tab)] nil)
> (define-key yas-minor-mode-map (kbd "TAB") nil)
> (define-key yas-minor-mode-map (kbd "<tab>") nil))
Looking at yasnippet.el, I don't see any obvious reason why that
shouldn't work. Perhaps Noam has some comments; added to the CCs.
This bug report was last modified 2 years and 282 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.