diff --git a/README.org b/README.org index 2ac4268a..c6d044ab 100644 --- a/README.org +++ b/README.org @@ -28,6 +28,7 @@ - [[#window-management][Window Management]] - [[#elfeed][Elfeed]] - [[#bongo][Bongo]] + - [[#transmission][Transmission]] - [[#garbage-collection][Garbage Collection]] - [[#early-init][Early Init]] @@ -347,6 +348,16 @@ This evil-collection package includes a lot of other evil based things. (setq olivetti-body-width 0.6 olivetti-minimum-body-width 100)) #+end_src + +*** Visual-Fill-Line-Mode +Visual fill column does a lot of the same as olivetti, but works with visual line mode better. +#+begin_src emacs-lisp +(use-package visual-fill-column + :after org + :config + (setq visual-fill-column-width 100 + visual-fill-column-center-text t)) +#+end_src *** TOC-ORG #+begin_src emacs-lisp (use-package toc-org @@ -524,17 +535,14 @@ Marginalia makes for some great decoration to our minibuffer completion items. W #+end_src ** Navigation -*** Ace-Link -#+begin_src emacs-lisp -(use-package ace-link - :after avy) -#+end_src *** Avy +Avy provides a lot of functions to search through the current buffer. Most of the time I use evil or consult functions to find what I'm looking for, but avy provides a lot of small movements that are more useful for visible movements. #+begin_src emacs-lisp (use-package avy :after evil) #+end_src +These are some evil bindings to avy. #+begin_src emacs-lisp (use-package evil-avy :after avy @@ -545,6 +553,12 @@ Marginalia makes for some great decoration to our minibuffer completion items. W "F" 'magit-pull)) #+end_src +*** Ace-Link +Ace link provides an avy like search for links. Upon using the keybindings presented it opens the url. +#+begin_src emacs-lisp +(use-package ace-link + :after avy) +#+end_src ** Help #+begin_src emacs-lisp (use-package helpful @@ -679,7 +693,7 @@ Let's start by creating a self contained function of what I'd like started on ev (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)) #+end_src @@ -706,6 +720,8 @@ Part of this config includes some special capture templates for my work as a you (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 @@ -1576,6 +1592,22 @@ interfere with the default `bongo-playlist-buffer'." "m" 'chris/bongo-mark-line-forward)) #+end_src +** Transmission +I use transmission on a server to manage my torrents +#+begin_src emacs-lisp +(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)) +#+end_src + ** Garbage Collection We set the =gc-cons-threshold= variable to really high, now lets set it back low to make sure emacs performs properly. diff --git a/init.el b/init.el index 81cfe80f..cd490859 100644 --- a/init.el +++ b/init.el @@ -316,9 +316,6 @@ vertically." (use-package company-dict :defer t) -(use-package ace-link - :after avy) - (use-package avy :after evil) @@ -330,6 +327,9 @@ vertically." :keymaps '(override magit-mode-map) "F" 'magit-pull)) +(use-package ace-link + :after avy) + (use-package helpful :commands (helpful-callable helpful-variable helpful-command helpful-key))