#+BEGIN_SRC emacs-lisp
;;; stolen from https://github.com/malb/emacs.d/blob/master/malb.org
- (defun malb/helm-swoop-pr2e-fill ()
+ (defun malb/helm-swoop-pre-fill ()
(thing-at-point 'symbol))
(setq malb/helm-swoop-ignore-major-mode '(dired-mode
paradox-menu-mode doc-view-mode pdf-view-mode
("C-S-c C-S-c" . mc/edit-lines))
)
#+END_SRC
+** Web Mode
+#+BEGIN_SRC emacs-lisp
+ (use-package web-mode
+ :config
+ (add-to-list 'auto-mode-alist '("\\.tmpl\\'" . web-mode))
+ (setq web-mode-enable-engine-detection t)
+ (setq web-mode-engines-alist
+ '(("template-toolkit" . "\\.tmpl\\'")))
+ )
+#+END_SRC
* Org Mode
** Use-package and load things
#+BEGIN_SRC emacs-lisp
(org-add-link-type "mutt" 'open-mail-in-mutt)
(defun my-org-mode-setup ()
- (load-library "reftex")
+ ; (load-library "reftex")
(and (buffer-file-name)
(file-exists-p (buffer-file-name))
(progn
- (reftex-parse-all)
+ ; (reftex-parse-all)
(reftex-set-cite-format
'((?b . "[[bib:%l][%l-bib]]")
(?n . "[[notes:%l][%l-notes]]")