aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d')
-rw-r--r--.emacs.d/rul-init.d/logos.el31
-rw-r--r--.emacs.d/rul-lisp/packages/rul-wm.el32
2 files changed, 32 insertions, 31 deletions
diff --git a/.emacs.d/rul-init.d/logos.el b/.emacs.d/rul-init.d/logos.el
deleted file mode 100644
index 0ea1244..0000000
--- a/.emacs.d/rul-init.d/logos.el
+++ /dev/null
@@ -1,31 +0,0 @@
-(use-package logos
-:ensure t
-:config
-
-;; If you want to use outlines instead of page breaks (the ^L)
-(setq logos-outlines-are-pages t)
-(setq logos-outline-regexp-alist
- `((emacs-lisp-mode . "^;;;+ ")
- (org-mode . "^\\*+ +")
- (markdown-mode . "^\\#+ +")
- ))
-
-;; These apply when `logos-focus-mode' is enabled. Their value is
-;; buffer-local.
-(setq-default logos-hide-mode-line t
- logos-hide-buffer-boundaries t
- logos-hide-fringe t
- logos-variable-pitch nil
- logos-buffer-read-only nil
- logos-scroll-lock nil
- logos-olivetti t
- olivetti-body-width 100
- )
-
-
-(let ((map global-map))
- (define-key map [remap narrow-to-region] #'logos-narrow-dwim)
- (define-key map [remap forward-page] #'logos-forward-page-dwim)
- (define-key map [remap backward-page] #'logos-backward-page-dwim)
- (define-key map (kbd "<f9>") #'logos-focus-mode))
-)
diff --git a/.emacs.d/rul-lisp/packages/rul-wm.el b/.emacs.d/rul-lisp/packages/rul-wm.el
index a0638a9..99480c3 100644
--- a/.emacs.d/rul-lisp/packages/rul-wm.el
+++ b/.emacs.d/rul-lisp/packages/rul-wm.el
@@ -63,6 +63,38 @@ Also see `prot-window-delete-popup-frame'." command)
:config
(setq olivetti-body-width 100))
+(use-package logos
+:ensure t
+:config
+
+;; If you want to use outlines instead of page breaks (the ^L)
+(setq logos-outlines-are-pages t)
+(setq logos-outline-regexp-alist
+ `((emacs-lisp-mode . "^;;;+ ")
+ (org-mode . "^\\*+ +")
+ (markdown-mode . "^\\#+ +")
+ ))
+
+;; These apply when `logos-focus-mode' is enabled. Their value is
+;; buffer-local.
+(setq-default logos-hide-mode-line t
+ logos-hide-buffer-boundaries t
+ logos-hide-fringe t
+ logos-variable-pitch nil
+ logos-buffer-read-only nil
+ logos-scroll-lock nil
+ logos-olivetti t
+ olivetti-body-width 100
+ )
+
+
+(let ((map global-map))
+ (define-key map [remap narrow-to-region] #'logos-narrow-dwim)
+ (define-key map [remap forward-page] #'logos-forward-page-dwim)
+ (define-key map [remap backward-page] #'logos-backward-page-dwim)
+ (define-key map (kbd "<f9>") #'logos-focus-mode))
+)
+
(use-package beframe
:ensure t
:hook (after-init . beframe-mode)
nihil fit ex nihilo