diff options
Diffstat (limited to 'bard-emacs-modules')
| -rw-r--r-- | bard-emacs-modules/bard-emacs-ui.el | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/bard-emacs-modules/bard-emacs-ui.el b/bard-emacs-modules/bard-emacs-ui.el index dfed7fb..c741534 100644 --- a/bard-emacs-modules/bard-emacs-ui.el +++ b/bard-emacs-modules/bard-emacs-ui.el @@ -102,25 +102,25 @@ ;; (bard/disable-all-themes)) ;; olivetti -(use-package olivetti - :config - (defun bard/olivetti-toggle () - (interactive) - "Distraction-free writing environment" - (if (equal olivetti-mode nil) - (progn - (fontaine-set-preset 'large) - (setq olivetti-body-width 80) - (set-fringe-mode 0) - (olivetti-mode t)) - (progn - (olivetti-mode 0) - (fontaine-set-preset 'regular) - (mixed-pitch-mode 0) - (fringe-mode nil) - (setq cursor-type 'box)))) - :bind - (("<f9>" . bard/olivetti-toggle))) +;; (use-package olivetti +;; :config +;; (defun bard/olivetti-toggle () +;; (interactive) +;; "Distraction-free writing environment" +;; (if (equal olivetti-mode nil) +;; (progn +;; (fontaine-set-preset 'large) +;; (setq olivetti-body-width 80) +;; ;; (set-fringe-mode 0) +;; (olivetti-mode t)) +;; (progn +;; (olivetti-mode 0) +;; (fontaine-set-preset 'regular) +;; (mixed-pitch-mode 0) +;; ;; (fringe-mode nil) +;; (setq cursor-type 'box)))) +;; :bind +;; (("<f9>" . bard/olivetti-toggle))) (provide 'bard-emacs-ui) |
