yasnippet
This commit is contained in:
3
thoom-emacs/.gitignore
vendored
3
thoom-emacs/.gitignore
vendored
@@ -3,5 +3,6 @@
|
|||||||
!*.org
|
!*.org
|
||||||
!*.el
|
!*.el
|
||||||
!.gitkeep
|
!.gitkeep
|
||||||
!modules
|
!snippets/
|
||||||
|
!snippets/**
|
||||||
flycheck_init.el
|
flycheck_init.el
|
||||||
@@ -406,6 +406,11 @@
|
|||||||
(add-hook 'completion-at-point-functions #'cape-dabbrev)
|
(add-hook 'completion-at-point-functions #'cape-dabbrev)
|
||||||
(add-hook 'completion-at-point-functions #'cape-file)
|
(add-hook 'completion-at-point-functions #'cape-file)
|
||||||
(add-hook 'completion-at-point-functions #'cape-elisp-block))
|
(add-hook 'completion-at-point-functions #'cape-elisp-block))
|
||||||
|
;;;; yasnippet
|
||||||
|
(use-package yasnippet
|
||||||
|
:ensure t
|
||||||
|
:init
|
||||||
|
(yas-global-mode 1))
|
||||||
|
|
||||||
;;; Appearance
|
;;; Appearance
|
||||||
;;;; Theme
|
;;;; Theme
|
||||||
|
|||||||
7
thoom-emacs/snippets/org-mode/src
Normal file
7
thoom-emacs/snippets/org-mode/src
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# name: Org Src Block
|
||||||
|
# key: ,src
|
||||||
|
# --
|
||||||
|
#+BEGIN_SRC $1
|
||||||
|
$2
|
||||||
|
#+END_SRC
|
||||||
Reference in New Issue
Block a user