Configure yasnippet package
This commit is contained in:
parent
d8ff892f9e
commit
9aa893f17a
|
@ -2,3 +2,4 @@
|
|||
|
||||
!/.gitignore
|
||||
!/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