GNU bug report logs -
#56630
(yasnippet) how to disable TAB <tab> C-i?
Previous Next
Full log
Message #19 received at 56630 <at> debbugs.gnu.org (full text, mbox):
On 2022-07-23 08:05, Lars Ingebrigtsen wrote:
> I'm not familiar with use-package or the syntax it uses for keymaps,
> but
> does
>
> (:map
> yas-minor-mode-map
> ("TAB" . nil)
> ([(tab)] . nil)
>
> fix the issue?
Hi Lars,
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))
-------------------------------------------------
This free account was provided by VFEmail.net - report spam to abuse <at> vfemail.net
ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!
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.