From 64816b4f1d4472a17644291c571bee15d12e622f Mon Sep 17 00:00:00 2001 From: tecosaur <20903656+tecosaur@users.noreply.github.com> Date: Tue, 19 May 2020 00:01:23 +0800 Subject: [PATCH] Use evil-tex --- config.org | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/config.org b/config.org index 676f17d..742557e 100644 --- a/config.org +++ b/config.org @@ -551,10 +551,10 @@ Variable pitch fontification + colouring (package! info-colors :pin "47ee73cc19") #+END_SRC ** Language packages -*** Systemd -For editing systemd unit files +*** LaTeX #+BEGIN_SRC emacs-lisp -(package! systemd :pin "51c148e09a") +(package! evil-tex :recipe (:host github :repo "itai33/evil-tex") + :pin "14da2c4c1d") #+END_SRC *** Org Mode **** Improve agenda/capture @@ -618,6 +618,11 @@ I have my own [[file:org-plot.el][modified version]] of ~org-plot~, so let's use #+BEGIN_SRC emacs-lisp (package! org-plot :recipe (:local-repo "lisp" :no-byte-compile t)) #+END_SRC +*** Systemd +For editing systemd unit files +#+BEGIN_SRC emacs-lisp +(package! systemd :pin "51c148e09a") +#+END_SRC * Package configuration ** Abbrev mode Thanks to [[https://emacs.stackexchange.com/questions/45462/use-a-single-abbrev-table-for-multiple-modes/45476#45476][use a single abbrev-table for multiple modes? - Emacs Stack Exchange]] I @@ -3506,6 +3511,12 @@ provide this: (add-to-list 'TeX-view-program-list '("Evince" "evince %o")) (add-to-list 'TeX-view-program-selection '(output-pdf "Evince"))) #+END_SRC +*** Evilification +Let's face it. Being evil is fun, let's take it as far as we can. +#+BEGIN_SRC emacs-lisp +(use-package! evil-tex + :hook (LaTeX-mode . evil-tex-mode)) +#+END_SRC ** Python Since I'm using =mypyls=, as suggested in [[file:~/.emacs.d/modules/lang/python/README.org::*Language Server Protocol Support][:lang python LSP support]] I'll tweak the priority of =mypyls=