diff --git a/README.org b/README.org index 73d87882..d76d3e2e 100644 --- a/README.org +++ b/README.org @@ -720,7 +720,9 @@ Let's start by creating a self contained function of what I'd like started on ev (toc-org-mode +1) (visual-fill-column-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 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. diff --git a/init.el b/init.el index 69b13148..a938c8ca 100644 --- a/init.el +++ b/init.el @@ -232,6 +232,12 @@ (setq olivetti-body-width 0.6 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 :after org) @@ -406,9 +412,11 @@ vertically." (interactive) (org-indent-mode +1) (toc-org-mode +1) - (olivetti-mode +1) + (visual-fill-column-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 :config @@ -428,6 +436,8 @@ vertically." (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 '("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")) (setq org-capture-templates @@ -1218,6 +1228,18 @@ interfere with the default `bongo-playlist-buffer'." "H" 'bongo-switch-buffers "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 garbage-collection-messages nil) (custom-set-variables