[Emacs] Orgmode improvements

Better `org-macro' face to make it more visible.

For some reason, Emacs doesn’t like copying files over the `rsync'
protocol anymore, but the `ssh' protocol is fine ¯\_(ツ)_/¯

Loading org-mode will now also load org-ref by default.
This commit is contained in:
Lucien Cartier-Tilet 2021-10-07 18:30:29 +02:00
parent 1647f49c2c
commit 4763c03d9f
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
1 changed files with 13 additions and 5 deletions

View File

@ -2829,6 +2829,8 @@ extended however we like!
:commands (orgtbl-mode)
:hook ((org-mode . visual-line-mode)
(org-mode . org-num-mode))
:custom-face
(org-macro ((t (:foreground "#b48ead"))))
:init
(auto-fill-mode -1)
:config
@ -3475,17 +3477,18 @@ hasle.
#+NAME: org-proj-config-setup
#+BEGIN_SRC emacs-lisp
(defvar phundrak//projects-config-target
"/rsync:Tilo:~/www/phundrak.com/config"
"Points to where exported files for config.phundrak.com should be put")
"/ssh:Tilo:~/www/phundrak.com/config"
"Points to where exported files for config.phundrak.com should be put.")
(defvar phundrak//projects-config-source
"~/org/config/"
"Points to where the sources for config.phundrak.com are")
"Points to where the sources for config.phundrak.com are.")
(defvar phundrak//projects-config-language
"en"
"Language of config.phundrak.com")
"Language of the website config.phundrak.com.")
(defvar phundrak//projects-config-recursive
t
"Defines whether subdirectories should be parsed for config.phundrak.com")
"Defines whether subdirectories should be parsed for config.phundrak.com.")
#+END_SRC
Now, here is my configuration. In this snippet, my org files located in my
@ -3687,6 +3690,11 @@ The project is then defined like so:
"m" #'ivy-bibtex))
#+end_src
#+begin_src emacs-lisp
(after! org
(require 'org-ref))
#+end_src
*** Visual Configuration
:PROPERTIES:
:CUSTOM_ID: Packages-Configuration-Org-mode-Visual-Configurationrol5fl6184j0