Adding Visual-fill-column and transmission
This commit is contained in:
parent
fbd6e4b399
commit
9aa8ab8b01
44
README.org
44
README.org
|
@ -28,6 +28,7 @@
|
||||||
- [[#window-management][Window Management]]
|
- [[#window-management][Window Management]]
|
||||||
- [[#elfeed][Elfeed]]
|
- [[#elfeed][Elfeed]]
|
||||||
- [[#bongo][Bongo]]
|
- [[#bongo][Bongo]]
|
||||||
|
- [[#transmission][Transmission]]
|
||||||
- [[#garbage-collection][Garbage Collection]]
|
- [[#garbage-collection][Garbage Collection]]
|
||||||
- [[#early-init][Early Init]]
|
- [[#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
|
(setq olivetti-body-width 0.6
|
||||||
olivetti-minimum-body-width 100))
|
olivetti-minimum-body-width 100))
|
||||||
#+end_src
|
#+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
|
*** TOC-ORG
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package toc-org
|
(use-package toc-org
|
||||||
|
@ -524,17 +535,14 @@ Marginalia makes for some great decoration to our minibuffer completion items. W
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Navigation
|
** Navigation
|
||||||
*** Ace-Link
|
|
||||||
#+begin_src emacs-lisp
|
|
||||||
(use-package ace-link
|
|
||||||
:after avy)
|
|
||||||
#+end_src
|
|
||||||
*** Avy
|
*** 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
|
#+begin_src emacs-lisp
|
||||||
(use-package avy
|
(use-package avy
|
||||||
:after evil)
|
:after evil)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
These are some evil bindings to avy.
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package evil-avy
|
(use-package evil-avy
|
||||||
:after avy
|
:after avy
|
||||||
|
@ -545,6 +553,12 @@ Marginalia makes for some great decoration to our minibuffer completion items. W
|
||||||
"F" 'magit-pull))
|
"F" 'magit-pull))
|
||||||
|
|
||||||
#+end_src
|
#+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
|
** Help
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package helpful
|
(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)
|
(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))
|
||||||
#+end_src
|
#+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 '("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
|
||||||
|
@ -1576,6 +1592,22 @@ interfere with the default `bongo-playlist-buffer'."
|
||||||
"m" 'chris/bongo-mark-line-forward))
|
"m" 'chris/bongo-mark-line-forward))
|
||||||
#+end_src
|
#+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
|
** Garbage Collection
|
||||||
|
|
||||||
We set the =gc-cons-threshold= variable to really high, now lets set it back low to make sure emacs performs properly.
|
We set the =gc-cons-threshold= variable to really high, now lets set it back low to make sure emacs performs properly.
|
||||||
|
|
6
init.el
6
init.el
|
@ -316,9 +316,6 @@ vertically."
|
||||||
(use-package company-dict
|
(use-package company-dict
|
||||||
:defer t)
|
:defer t)
|
||||||
|
|
||||||
(use-package ace-link
|
|
||||||
:after avy)
|
|
||||||
|
|
||||||
(use-package avy
|
(use-package avy
|
||||||
:after evil)
|
:after evil)
|
||||||
|
|
||||||
|
@ -330,6 +327,9 @@ vertically."
|
||||||
:keymaps '(override magit-mode-map)
|
:keymaps '(override magit-mode-map)
|
||||||
"F" 'magit-pull))
|
"F" 'magit-pull))
|
||||||
|
|
||||||
|
(use-package ace-link
|
||||||
|
:after avy)
|
||||||
|
|
||||||
(use-package helpful
|
(use-package helpful
|
||||||
:commands (helpful-callable helpful-variable helpful-command helpful-key))
|
:commands (helpful-callable helpful-variable helpful-command helpful-key))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue