From 34148baa7902989df1cf8210c5a08eab82396956 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Alvari=C3=B1o?= Date: Tue, 22 Mar 2022 13:36:41 +0100 Subject: [PATCH] Reformat some notes --- myconfig.org | 29 ++++++++++++++++++++--------- 1 file changed, 20 insertions(+), 9 deletions(-) diff --git a/myconfig.org b/myconfig.org index 5688809..1a79eca 100644 --- a/myconfig.org +++ b/myconfig.org @@ -579,7 +579,9 @@ Place your own snippets on =~/.cache/emacs/etc/yasnippet/snippets= * company Autocompletion with [[https://company-mode.github.io/][company]] + *Remember*: =company-lsp= is deprecated, don't use it. + #+begin_src emacs-lisp (use-package company :init @@ -600,6 +602,7 @@ Autocompletion with [[https://company-mode.github.io/][company]] ** company-quickhelp In case you want popup help instead of status line help + #+begin_src emacs-lisp (use-package company-quickhelp :config @@ -619,10 +622,12 @@ Nice bullets for org-mode #+end_src ** Fonts for org-mode -Definimos una función que se encargará de: -- Establecer la fuente para org-mode (Cantarell) -- Establecer tamaños escalados para las cabeceras -- Establecer fuentes de ancho fijo para secciones de código en los ficheros =.org= +This is only a defun will call later + +This function: +- Sets the =org-mode= font (Cantarell) +- Sets org-mode headers scaling (Headers sizes) +- Sets mono fonts for code sections in =.org= files #+begin_src emacs-lisp (defun slv/org-font-setup () @@ -652,8 +657,10 @@ Definimos una función que se encargará de: #+end_src ** Some additional tweaks for org-mode -Añadimos algunos detalles a la visualización de org-mode -- Aumentamos el tamaño de la visualización de código LaTeX renderizado (usa =C-c C-x C-l= para conmutar la visualización) +This is only a defun for settings additional details in =org-mode= + +- Make rendered LaTeX bigger (use =C-c C-x C-l= to swich the view mode) + #+begin_src emacs-lisp (defun slv/org-tweaks-setup () (plist-put org-format-latex-options :scale 2) ;; Increase size of LaTeX fragment previews @@ -666,8 +673,10 @@ Añadimos algunos detalles a la visualización de org-mode #+end_src * flycheck -You *must* use [[https://www.flycheck.org/en/latest/][flycheck]] if you use LSP. (Flymake + LSP is hell) Syntax checking for programming languages + +You *must* use [[https://www.flycheck.org/en/latest/][flycheck]] if you use LSP. (Flymake + LSP is hell) + #+begin_src emacs-lisp (use-package flycheck :config @@ -680,7 +689,8 @@ Syntax checking for programming languages * LSP We are using [[https://emacs-lsp.github.io/lsp-mode/][lsp-mode]] but keep an eye on [[https://github.com/joaotavora/eglot][eglot]] as an alternative. - **WARNING**: =lsp-company= is no longer supported + +**WARNING**: =lsp-company= is no longer supported Links to check - [[https://emacs-lsp.github.io/lsp-mode/][LSP-mode Home]] @@ -1019,7 +1029,8 @@ Usamos =pyenv= para gestionar los /virtualenv/ #+end_src * ess (Emacs Speak Statistics) -Necesitas tener R instalado en tu sistema, de lo contrario este paquete no tiene sentido. +You *must* have R installed in your system, otherwise this package is useless. + #+begin_src emacs-lisp (use-package ess :init (require 'ess-site))