init: Add nov config (epub reader).
parent
c3b4ca8c57
commit
d7a7942eb2
13
manifest.scm
13
manifest.scm
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
(define emacs-dev-tools
|
||||
'("guix"
|
||||
"magit" "git" "gitlab-ci-mode"
|
||||
"magit" "gitlab-ci-mode"
|
||||
"deft" "paredit"
|
||||
"company" "flycheck"
|
||||
"multi-term" "strace-mode"
|
||||
|
|
@ -14,14 +14,19 @@
|
|||
"geiser" "geiser-guile" "geiser-racket"))
|
||||
|
||||
(define emacs-dev-langs
|
||||
'("tuareg" "rust-mode" "rustic" "cmake-mode" "julia-mode"
|
||||
'("tuareg" "rust-mode" ;; "rustic"
|
||||
"cmake-mode" "julia-mode"
|
||||
"racket-mode" "haskell-mode" "markdown-mode"))
|
||||
|
||||
(define emacs-other-tools
|
||||
'("nov-el"))
|
||||
|
||||
(define (name-to-package name) (string-append "emacs-" name))
|
||||
|
||||
(specifications->manifest
|
||||
(append '("emacs")
|
||||
(append '("emacs" "git")
|
||||
(map name-to-package emacs-base)
|
||||
(map name-to-package emacs-style)
|
||||
(map name-to-package emacs-dev-tools)
|
||||
(map name-to-package emacs-dev-langs)))
|
||||
(map name-to-package emacs-dev-langs)
|
||||
(map name-to-package emacs-other-tools)))
|
||||
|
|
|
|||
|
|
@ -0,0 +1,33 @@
|
|||
;;; 15_epub.el --- Init GNUEmacs configuration. -*- lexical-binding: t; -*-
|
||||
;;
|
||||
;; Copyright (C) 2024 Pierre-Antoine Rouby
|
||||
;;
|
||||
;; Author: Pierre-Antoine Rouby <contact@parouby.fr>
|
||||
;; Keywords: lisp
|
||||
;;
|
||||
;; This program is free software; you can redistribute it and/or modify
|
||||
;; it under the terms of the GNU General Public License as published by
|
||||
;; the Free Software Foundation, either version 3 of the License, or
|
||||
;; (at your option) any later version.
|
||||
;;
|
||||
;; This program is distributed in the hope that it will be useful,
|
||||
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
;; GNU General Public License for more details.
|
||||
;;
|
||||
;; You should have received a copy of the GNU General Public License
|
||||
;; along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
;;; Commentary:
|
||||
|
||||
;; Personnal GNUEmacs configuration.
|
||||
|
||||
;;; Code:
|
||||
|
||||
(require 'nov)
|
||||
|
||||
;;; Customize: https://depp.brause.cc/nov.el/
|
||||
|
||||
(add-to-list 'auto-mode-alist '("\\.epub\\'" . nov-mode))
|
||||
|
||||
(setq nov-text-width 80)
|
||||
Loading…
Reference in New Issue