First complete configuration

- Add some pending tasks
- Add 'expand-region' git recipe
- Freezes some packages lile python, epa-file and org-crypt
main
Sergio Alvariño 3 years ago
parent ae6a8563e0
commit a997d20652

@ -1,11 +1,13 @@
#+startup: overview
* Pending task
- Set org-mode
- Set dap-mode
- Add more programming languages to LSP
- Try =eglot=
- Spell checking
- Check <https://github.com/minad/osm>
- Check =pdf-tools=
- Check =org-presentation=
* Famous init files
- [[https://github.com/zamansky/dot-emacs][The Big Zemansky]]
@ -1296,6 +1298,7 @@ Not needed if you have the right settings on your active python with =pyenv=
*** Configure python mode
#+begin_src emacs-lisp
(use-package python-mode
:straight nil
:hook (python-mode . lsp-deferred)
;; :custom
;; (dap-python-debugger 'debugpy)
@ -1412,16 +1415,19 @@ Usamos =pyenv= para gestionar los /virtualenv/
You *must* have R installed in your system, otherwise this package is useless.
#+begin_src emacs-lisp
(use-package ess
:init (require 'ess-site))
;; (use-package ess
;; :init (require 'ess-site))
#+end_src
* misc packages
** Expand region
#+begin_src emacs-lisp
(global-hl-line-mode t)
(use-package expand-region
:straight (
expand-region
:type git
:host github
:repo "magnars/expand-region.el")
:config
(global-set-key (kbd "C-=") 'er/expand-region)
)
@ -1430,20 +1436,21 @@ You *must* have R installed in your system, otherwise this package is useless.
** EasyPG and org-crypt
Ver [[https://orgmode.org/worg/org-tutorials/encrypting-files.html][referencia en org-mode manual]] y [[http://www.clintonboys.com/gpg/][notas de Clintonboys]]
#+begin_src emacs-lisp
;; (use-package epa-file
;; :config
;; (setq epa-file-encrypt-to '("salvari@protonmail.com"))
;; :custom
;; (epa-file-select-keys 'silent))
;;
;; (use-package org-crypt
;; ;; :ensure nil ;; included with org-mode
;; :after org
;; :config
;; (org-crypt-use-before-save-magic)
;; (setq org-tags-exclude-from-inheritance (quote ("crypt")))
;; :custom
;; (org-crypt-key "salvari@protonmail.com"))
(use-package epa-file
:straight nil
:config
(setq epa-file-encrypt-to '("salvari@protonmail.com"))
:custom
(epa-file-select-keys 'silent))
(use-package org-crypt
:straight nil ;; included with org-mode
:after org
:config
(org-crypt-use-before-save-magic)
(setq org-tags-exclude-from-inheritance (quote ("crypt")))
:custom
(org-crypt-key "salvari@protonmail.com"))
#+end_src
** Olivetti: distraction-free writing enviroment

Loading…
Cancel
Save