[Emacs] Remove magit-gitflow, add ox-ssh and org-appear

TODO: Shortcuts should be added to ox-ssh as they do not appear in
org-export-dispatch

TODO: Fix org-appear, it has currently no effect
This commit is contained in:
Lucien Cartier-Tilet 2021-02-04 09:21:24 +01:00
parent 2538786be8
commit f3d5b229bd
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
1 changed files with 12 additions and 2 deletions

View File

@ -78,12 +78,12 @@ With the variable ~dotspacemacs-additional-packages~, it is possible to install
| elcord | rich integration of Emacs in Discord |
| eshell-syntax-highlighting | Syntax highlighting for Eshell |
| info-colors | Extra colors for Emacs's Info-mode |
| magit-gitflow | integrate gitflow in Magit |
| multiple-cursors | I dont like the layer, I prefer this package alone |
| ob-latex-as-png | Inline arbitrary LaTeX snippets as PNGs in Emacs |
| org-sidebar | display on the side the outline of an Org buffer |
| org-tree-slide | presentation tool for org-mode |
| outorg | edit comments as Org-mode buffers |
| ox-ssh | SSH config export for org-mode |
| pinentry | enter a GPG password from Emacs |
| nord-theme | An arctic, north-bluish clean and elegant Emacs theme. |
| s | The long lost Emacs string manipulation library. |
@ -1119,6 +1119,11 @@ While Emacs and especially Spacemacs loads, I want it to initialize some element
(load "~/.config/emacs/private/private_emacs")
#+END_SRC
Ill also load a package I cloned locally as it is not (yet?) available in the MELPA: [[https://github.com/awth13/org-appear][org-appear]].
#+BEGIN_SRC emacs-lisp
(require 'org-appear "~/fromGIT/emacs-packages/org-appear/org-appear.el")
#+END_SRC
Then, I want a couple of requires:
#+BEGIN_SRC emacs-lisp
(require 'org-id)
@ -2185,13 +2190,14 @@ And here you can find the source code of this buffer you just saw a screenshot o
,******** Header 8
#+END_SRC
In order to make org-mode even sexier, lets enable ~variable-pitch-mode~ for org-mode so we can get some proportional font. Ill also remove ~auto-fill-mode~ which seems to stick to Orgmode like hell and I dont know why.
In order to make org-mode even sexier, lets enable ~variable-pitch-mode~ for org-mode so we can get some proportional font. Ill also remove ~auto-fill-mode~ which seems to stick to Orgmode like hell and I dont know why. A hook to org-appears minor mode will also be added.
#+NAME: beautiful-org-hooks
#+BEGIN_SRC emacs-lisp
(add-hook 'org-mode-hook 'visual-line-mode)
(remove-hook 'org-mode-hook 'auto-fill-mode)
(add-hook 'org-mode-hook 'variable-pitch-mode)
(auto-fill-mode -1)
(add-hook 'org-mode-hook 'org-appear-mode)
#+END_SRC
You can then see the modified faces for org-mode [[#User-Configuration-Visual-configuration-Better-faces-Org-mode-07754177][here]].
@ -2230,6 +2236,10 @@ I also have an issue where small dots precede my org headers. Lets fix that:
org-superstar-leading-bullet ?\s)
#+END_SRC
***** TODO Fix org-appear :noexport:
:PROPERTIES:
:CUSTOM_ID: User-Configuration-Emacs-builtins-Org-mode-Beautify-Org-mode-Fix-org-appear-709f555f
:END:
**** Behavior
:PROPERTIES:
:CUSTOM_ID: User_Configuration-Org-mode-Org_variables-Org_behavior-0319db38