Switching from olivetti to visual-fill-column
This commit is contained in:
parent
9aa8ab8b01
commit
421a383051
|
@ -695,7 +695,9 @@ Let's start by creating a self contained function of what I'd like started on ev
|
||||||
(toc-org-mode +1)
|
(toc-org-mode +1)
|
||||||
(visual-fill-column-mode +1)
|
(visual-fill-column-mode +1)
|
||||||
(display-line-numbers-mode -1)
|
(display-line-numbers-mode -1)
|
||||||
(variable-pitch-mode +1))
|
(variable-pitch-mode +1)
|
||||||
|
(setq visual-fill-column-width 100
|
||||||
|
visual-fill-column-center-text t))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
This is the use-package definition with a lot of customization. Need to setup auto tangle and make sure I have some structure templates for org-mode.
|
This is the use-package definition with a lot of customization. Need to setup auto tangle and make sure I have some structure templates for org-mode.
|
||||||
|
|
26
init.el
26
init.el
|
@ -232,6 +232,12 @@
|
||||||
(setq olivetti-body-width 0.6
|
(setq olivetti-body-width 0.6
|
||||||
olivetti-minimum-body-width 100))
|
olivetti-minimum-body-width 100))
|
||||||
|
|
||||||
|
(use-package visual-fill-column
|
||||||
|
:after org
|
||||||
|
:config
|
||||||
|
(setq visual-fill-column-width 100
|
||||||
|
visual-fill-column-center-text t))
|
||||||
|
|
||||||
(use-package toc-org
|
(use-package toc-org
|
||||||
:after org)
|
:after org)
|
||||||
|
|
||||||
|
@ -406,9 +412,11 @@ vertically."
|
||||||
(interactive)
|
(interactive)
|
||||||
(org-indent-mode +1)
|
(org-indent-mode +1)
|
||||||
(toc-org-mode +1)
|
(toc-org-mode +1)
|
||||||
(olivetti-mode +1)
|
(visual-fill-column-mode +1)
|
||||||
(display-line-numbers-mode -1)
|
(display-line-numbers-mode -1)
|
||||||
(variable-pitch-mode +1))
|
(variable-pitch-mode +1)
|
||||||
|
(setq visual-fill-column-width 100
|
||||||
|
visual-fill-column-center-text t))
|
||||||
|
|
||||||
(use-package org
|
(use-package org
|
||||||
:config
|
:config
|
||||||
|
@ -428,6 +436,8 @@ vertically."
|
||||||
(add-to-list 'org-structure-template-alist '("el" . "src emacs-lisp"))
|
(add-to-list 'org-structure-template-alist '("el" . "src emacs-lisp"))
|
||||||
(add-to-list 'org-structure-template-alist '("py" . "src python"))
|
(add-to-list 'org-structure-template-alist '("py" . "src python"))
|
||||||
(add-to-list 'org-structure-template-alist '("sh" . "src shell"))
|
(add-to-list 'org-structure-template-alist '("sh" . "src shell"))
|
||||||
|
(add-to-list 'org-structure-template-alist '("yaml" . "src yaml"))
|
||||||
|
(add-to-list 'org-structure-template-alist '("yml" . "src yaml"))
|
||||||
(add-to-list 'org-structure-template-alist '("q" . "quote"))
|
(add-to-list 'org-structure-template-alist '("q" . "quote"))
|
||||||
|
|
||||||
(setq org-capture-templates
|
(setq org-capture-templates
|
||||||
|
@ -1218,5 +1228,17 @@ interfere with the default `bongo-playlist-buffer'."
|
||||||
"H" 'bongo-switch-buffers
|
"H" 'bongo-switch-buffers
|
||||||
"m" 'chris/bongo-mark-line-forward))
|
"m" 'chris/bongo-mark-line-forward))
|
||||||
|
|
||||||
|
(use-package transmission
|
||||||
|
:commands (transmission)
|
||||||
|
:config
|
||||||
|
(setq transmission-host "192.168.1.7"
|
||||||
|
transmission-rpc-path "/transmission/rpc"
|
||||||
|
transmission-refresh-modes '(transmission-mode transmission-files-mode transmission-info-mode transmission-peers-mode))
|
||||||
|
:general
|
||||||
|
(chris/leader-keys
|
||||||
|
:states 'normal
|
||||||
|
:keymaps 'override
|
||||||
|
"ot" 'transmission))
|
||||||
|
|
||||||
(setq gc-cons-threshold 2000000)
|
(setq gc-cons-threshold 2000000)
|
||||||
(setq garbage-collection-messages nil)
|
(setq garbage-collection-messages nil)
|
||||||
|
|
Loading…
Reference in a new issue