summaryrefslogtreecommitdiff
path: root/README.org
diff options
context:
space:
mode:
authorDominik Kaiser2025-02-11 21:39:38 +0100
committerDominik Kaiser2025-02-11 21:39:38 +0100
commit7d0bd4cda848f769fab6866e4b2a61dd1e0fcfdf (patch)
treea2cba00a24a852a2dd85bbbb1d837ce6b43bf3f2 /README.org
parentb4126c088d63fce54c36b9960543fff45b93119a (diff)
downloademacs-7d0bd4cda848f769fab6866e4b2a61dd1e0fcfdf.tar.gz
emacs-7d0bd4cda848f769fab6866e4b2a61dd1e0fcfdf.zip
Add prog mode to olivetti and change default width
Diffstat (limited to 'README.org')
-rw-r--r--README.org8
1 files changed, 5 insertions, 3 deletions
diff --git a/README.org b/README.org
index 8660067..26e02fb 100644
--- a/README.org
+++ b/README.org
@@ -69,10 +69,12 @@
#+begin_src elisp
(use-package olivetti
:bind ("C-c f" . olivetti-mode)
+ :hook
+ (org-mode . olivetti-mode)
+ (text-mode . olivetti-mode)
+ (prog-mode . olivetti-mode)
:init
- (setq-default olivetti-body-width 100)
- (add-hook 'org-mode-hook #'olivetti-mode)
- (add-hook 'text-mode-hook #'olivetti-mode))
+ (setq-default olivetti-body-width 90))
#+end_src
* Completion
** Ivy