Switch to lighter alternative for quick org mode previewing

This commit is contained in:
Curt Spark 2020-04-14 14:46:43 +01:00
parent d54bff67ef
commit e9fc95f281
1 changed files with 17 additions and 4 deletions

View File

@ -3,7 +3,6 @@
* Introduction * Introduction
Welcome to my Emacs configuration! Welcome to my Emacs configuration!
* Config * Config
** Appearance ** Appearance
*** Remove Tool Bar *** Remove Tool Bar
@ -206,19 +205,19 @@ EXWM Specific Keybindings
** The Emacs Application Framework ** The Emacs Application Framework
The Emacs Application Framework is a big project, please check the README before use, install dependencies etc. The Emacs Application Framework is a big project, please check the README before use, install dependencies etc.
#+BEGIN_SRC emacs-lisp +BEGIN_SRC emacs-lisp
(use-package eaf (use-package eaf
:load-path "~/.emacs.d/site-lisp/emacs-application-framework" :load-path "~/.emacs.d/site-lisp/emacs-application-framework"
; Set to "/usr/share/emacs/site-lisp/eaf" if installed from AUR ; Set to "/usr/share/emacs/site-lisp/eaf" if installed from AUR
:bind :bind
("C-x C-f" . 'eaf-open) ("C-c C-f" . 'eaf-open)
:custom :custom
(eaf-find-alternate-file-in-dired t) (eaf-find-alternate-file-in-dired t)
:config :config
(eaf-bind-key scroll_up "C-n" eaf-pdf-viewer-keybinding) (eaf-bind-key scroll_up "C-n" eaf-pdf-viewer-keybinding)
(eaf-bind-key scroll_down "C-p" eaf-pdf-viewer-keybinding) (eaf-bind-key scroll_down "C-p" eaf-pdf-viewer-keybinding)
(eaf-bind-key take_photo "p" eaf-camera-keybinding)) (eaf-bind-key take_photo "p" eaf-camera-keybinding))
#+END_SRC +END_SRC
** Dynamic Window Tiling ** Dynamic Window Tiling
*** Edwina *** Edwina
Edwina is a dynamic window manager for Emacs. Edwina is a dynamic window manager for Emacs.
@ -287,6 +286,20 @@ A recreation of the iconic Suckless Dynamic Menu.
(evil-mode 1)) (evil-mode 1))
#+END_SRC #+END_SRC
** Org Mode ** Org Mode
*** Simple Org Mode Preview in HTML
#+BEGIN_SRC emacs-lisp
(use-package org-preview-html
:ensure t
:config
:bind
("C-c r" . 'org-preview-html-mode)
(use-package htmlize
:ensure t))
(add-to-list 'load-path
(concat user-emacs-directory
(convert-standard-filename "elisp/")))
#+END_SRC
*** LateX Preview *** LateX Preview
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package org-fragtog (use-package org-fragtog