Configure yasnippet package
This commit is contained in:
parent
d8ff892f9e
commit
9aa893f17a
|
@ -1,4 +1,5 @@
|
|||
/*
|
||||
|
||||
!/.gitignore
|
||||
!/init.el
|
||||
!/init.el
|
||||
!/snippets
|
||||
|
|
6
init.el
6
init.el
|
@ -71,6 +71,12 @@
|
|||
|
||||
(pyenv-mode)
|
||||
|
||||
(use-package yasnippet
|
||||
:config
|
||||
(setq yas-snippet-dirs '("~/.emacs.d/snippets"))
|
||||
(yas-reload-all)
|
||||
(add-hook 'prog-mode-hook 'yas-minor-mode))
|
||||
|
||||
;; setup dired
|
||||
(put 'dired-find-alternate-file 'disabled nil)
|
||||
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
# -*- mode: python -*-
|
||||
# name: print
|
||||
# key: p
|
||||
# --
|
||||
print(f'$0')
|
Loading…
Reference in New Issue