New answers tagged

1

It is not a good idea to remove a snippet from their place - at first update of yasnippet-snippet package, it will be again present in your Emacs. So, a simpler method is to create new or modify/rename/save to the default yas-snippet-dir, which is ~/.emacs.d/snippets folder (if you did not modify it already). But to be organised, add here a new folder python-...


1

It might be easiest to remove the template in your init file after yasnippets is loaded. That way you don't have to modify the system directories. I think this should do it: (yas--remove-template-by-uuid (yas--table-get-create 'python-mode) "logging")


Top 50 recent answers are included