diff options
| author | bard <[email protected]> | 2023-10-11 17:27:34 -0400 |
|---|---|---|
| committer | bard <[email protected]> | 2023-10-11 17:27:34 -0400 |
| commit | c3c420180524fccebf4624ed155ea694ba605b1b (patch) | |
| tree | dbab9c9f092690c75d7aed096d480c8d64de6155 /bard-emacs-modules/bard-emacs-ui.el | |
| parent | a2ec9082998918158df250c1906d0f6c0c4889db (diff) | |
olivetti and theme tweaks orui and org capture keybinds
Diffstat (limited to 'bard-emacs-modules/bard-emacs-ui.el')
| -rw-r--r-- | bard-emacs-modules/bard-emacs-ui.el | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/bard-emacs-modules/bard-emacs-ui.el b/bard-emacs-modules/bard-emacs-ui.el index d725e8a..9b80886 100644 --- a/bard-emacs-modules/bard-emacs-ui.el +++ b/bard-emacs-modules/bard-emacs-ui.el @@ -57,33 +57,22 @@ "Distraction-free writing environment" (if (equal olivetti-mode nil) (progn - (window-configuration-to-register 1) - (delete-other-windows) (text-scale-set 0.2) (setq olivetti-body-width 100) (olivetti-mode t)) - ;; TODO turn off line numbers (progn - (if (eq (length (window-list)) 1) - (jump-to-register 1)) (olivetti-mode 0) (text-scale-set 0) (mixed-pitch-mode 0) - ;; TODO turn restore line numbers (setq cursor-type 'box)))) (defun bard/olivetti-toggle () "Distraction-free writing environment" (if (equal olivetti-mode nil) (progn - (window-configuration-to-register 1) - (delete-other-windows) (text-scale-set 0.2) (setq olivetti-body-width 100) - (display-line-numbers-mode 0) (olivetti-mode t)) (progn - (if (eq (length (window-list)) 1) - (jump-to-register 1)) (olivetti-mode 0) (text-scale-set 0) (mixed-pitch-mode 0) |
