Add Latex, webmode and ESS configuration

main
Sergio Alvariño 3 years ago
parent 31f2cdc508
commit d67e6f7a37

@ -4,10 +4,11 @@
- Set dap-mode
- Add more programming languages to LSP
- Try =eglot=
- Fix Latex section
- Spell checking
* Famous init files
- [[https://github.com/zamansky/dot-emacs][The Big Zemansky]]
- [[https://pages.sachachua.com/.emacs.d/Sacha.html][Sacha Chua Emac's configuration]]
- [[https://github.com/patrickt/emacs][Patrick: GOAT init emacs]]
- [[https://github.com/manugoyal/.emacs.d][Manugoyal: Emacs config]]
- [[https://github.com/daviwil/dotfiles/blob/master/Emacs.org][System Crafters]]
@ -972,12 +973,55 @@ Usamos =pyenv= para gestionar los /virtualenv/
#+end_src
* LaTeX
[[https://www.gnu.org/software/auctex/][auctex]] for latex edition
#+begin_src emacs-lisp
;; (use-package tex
;; :defer t
;; :ensure auctex
;; :config
;; (setq TeX-auto-save t))
(use-package auctex
:mode ("\\.tex\\'" . latex-mode)
:commands (latex-mode LaTeX-mode plain-tex-mode)
:custom
(TeX-auto-save t)
(TeX-parse-self t)
(TeX-save-query nil)
(TeX-PDF-mode t)
:hook
(LaTeX-mode . LaTeX-preview-setup)
(LaTeX-mode . LaTeX-math-mode)
;; (LaTeX-mode . flyspell-mode)
(LaTeX-mode . turn-on-reftex)
)
;; Use company-auctex
(use-package company-auctex
:config
(company-auctex-init)
)
#+end_src
* web mode
- <https://web-mode.org/>
#+begin_src emacs-lisp
(use-package web-mode
:mode
("\\.html?\\'" . web-mode)
:config
(setq web-mode-enable-auto-closing t)
(setq web-mode-enable-auto-quoting t)
(setq web-mode-enable-auto-pairing t)
:custom
(web-mode-markup-indent-offset 2)
(web-mode-css-indent-offset 2)
(web-mode-code-indent-offset 2)
(web-mode-enable-css-colorization t)
)
#+end_src
* ess (Emacs Speak Statistics)
Necesitas tener R instalado en tu sistema, de lo contrario este paquete no tiene sentido.
#+begin_src emacs-lisp
(use-package ess
:init (require 'ess-site))
#+end_src
* next

Loading…
Cancel
Save