From 000c991a71e92400d0a31e7c65b5c9bb8f3ef192 Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Wed, 1 Jan 2025 18:09:32 +1100 Subject: [emacs] Enhance epub reading * emacs/.emacs.d/init/ycp-markup.el: set text-width to be a bit less than my-org-focus-write width (76 vs 80); increase next-screen-context-lines in nov mode; set left text margin to 2 in nov mode * emacs/.emacs.d/init/ycp-org.el: Add keybindings to nov-mode when org-remark is available. Unfortunately org-remark-nov-mode is a global minor mode * emacs/.emacs.d/lisp/my/my-buffer.el: update my-toggle-focus-write to use empty buffers on both sides * emacs/.emacs.d/lisp/my/my-nov.el: a function to set left margin in nov mode * emacs/.emacs.d/lisp/my/my-org-remark.el: a convenience function to org-remark to mark or open depending on active mark Also use my custom nov.el repo --- .gitmodules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.gitmodules') diff --git a/.gitmodules b/.gitmodules index 9b20e8b..c762b4a 100644 --- a/.gitmodules +++ b/.gitmodules @@ -6,7 +6,7 @@ url = https://g.ypei.me/dictionary-el.git [submodule ".emacs.d/lisp/nov.el"] path = emacs/.emacs.d/lisp/nov.el - url = https://depp.brause.cc/nov.el.git + url = https://g.ypei.me/nov.el.git [submodule ".emacs.d/lisp/esxml"] path = emacs/.emacs.d/lisp/esxml url = https://github.com/tali713/esxml -- cgit v1.2.3