In .emacs
, I bound the key for yasnippet
as,
(define-key yas-minor-mode-map (kbd "C-SPC") 'yas-expand)
In a buffer with python
as major mode and yasnippet, autocomplete
as minor mode, yasnippet
doesn't expand on C-SPC
.
Now, i started doubting if there are any snippets available. I did C-c & C-v
(or) Visit Snippet File
and it gives alarm, No snippet tables active
.
How to add snippets to a major mode?