GNU bug report logs - #56630
(yasnippet) how to disable TAB <tab> C-i?

Previous Next

Package: emacs;

Reported by: edgar <at> openmail.cc

Date: Mon, 18 Jul 2022 15:31:01 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: edgar <at> openmail.cc
Cc: 56630 <at> debbugs.gnu.org
Subject: bug#56630: (yasnippet) how to disable TAB <tab> C-i?
Date: Sat, 23 Jul 2022 10:05:32 +0200
edgar <at> openmail.cc writes:

> I really like yasnippets, because it makes my workflow more
> productive, but I have not been able to disable the autocompletion
> with the TAB key:
>
> * What I have tried
> (use-package yasnippet :defer t :commands (yas-minor-mode)
>   :bind
>   (:map
>    yas-minor-mode-map
>    ("TAB" . nil)
>    ("<tab>" . nil)

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?





This bug report was last modified 2 years and 283 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.