tecosaur / LaTeX-auto-activating-snippets

Mirror of https://git.tecosaur.net/tec/LaTeX-auto-activating-snippets
GNU General Public License v3.0
102 stars 24 forks source link

How to disable some snippets in user configuration? #45

Closed name8102 closed 11 months ago

name8102 commented 11 months ago

This plugin is very useful and convenient, but some snippets are realy annoying in particular environment, such as the cb expends to ^3 when I writing the tensor index. Is there a way to disable some snippets?

(use-package! lass
  :config
  (setq laas-basic-snippets (remove "cb" laas-basic-snippets))
  (setq laas-basic-snippets (remove "^3" laas-basic-snippets))
)

I've added this code in my configuration file, but it didn't effect anything.

ymarco commented 11 months ago

Bind "cb" to nil. Look at aas's documentation.