mirror of
https://github.com/larstvei/dot-emacs.git
synced 2024-11-26 07:28:31 +00:00
Olivetti settings
This commit is contained in:
parent
98aee32e44
commit
a9ac150595
15
init.org
15
init.org
@ -460,6 +460,15 @@
|
||||
("psi" . ?ψ)))
|
||||
#+END_SRC
|
||||
|
||||
[[https://github.com/rnkn/olivetti][Olivetti]] is a package that simply centers the text of a buffer. It is very
|
||||
simple and beautiful. The default width is just a bit short.
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(with-eval-after-load 'olivetti
|
||||
(setq-default olivetti-body-width 82)
|
||||
(remove-hook 'olivetti-mode-on-hook 'visual-line-mode))
|
||||
#+END_SRC
|
||||
|
||||
** PDF Tools
|
||||
|
||||
[[https://github.com/politza/pdf-tools][PDF Tools]] makes a huge improvement on the built-in [[http://www.gnu.org/software/emacs/manual/html_node/emacs/Document-View.html][doc-view-mode]]; the only
|
||||
@ -1264,6 +1273,12 @@
|
||||
(define-key cider-repl-mode-map (kbd "C-l") 'cider-repl-clear-buffer))
|
||||
#+END_SRC
|
||||
|
||||
** Bindings for [[https://github.com/rnkn/olivetti][Olivetti]]
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(define-key custom-bindings-map (kbd "C-c o") 'olivetti-mode)
|
||||
#+END_SRC
|
||||
|
||||
** Bindings for built-ins
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
|
Loading…
Reference in New Issue
Block a user