summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2021-02-08 16:44:04 -0600
committerCase Duckworth2021-02-08 16:44:04 -0600
commitcc56bc6786031689156a6eade0620891a52987c5 (patch)
treefb10530d63cf72c5e32dd986a77010b07205deae
parentAdd goggles (diff)
downloademacs-cc56bc6786031689156a6eade0620891a52987c5.tar.gz
emacs-cc56bc6786031689156a6eade0620891a52987c5.zip
Add iscroll
Also stub out reading mode... need to work on that
-rw-r--r--config.org24
1 files changed, 23 insertions, 1 deletions
diff --git a/config.org b/config.org index b20f85f..4408a05 100644 --- a/config.org +++ b/config.org
@@ -1586,6 +1586,27 @@ Let's use =hunspell=.
1586 (write-region "" nil ispell-personal-dictionary nil 0)) 1586 (write-region "" nil ispell-personal-dictionary nil 0))
1587#+end_src 1587#+end_src
1588 1588
1589* Reading
1590
1591** Smooth-scrolling of images :package:
1592
1593#+begin_src emacs-lisp :noweb-ref packages
1594 (straight-use-package 'iscroll)
1595#+end_src
1596
1597#+begin_src emacs-lisp :noweb-ref hooks
1598 (add-hook 'text-mode-hook #'iscroll-mode)
1599#+end_src
1600
1601#+begin_src emacs-lisp :noweb-ref modes
1602 (add-hook 'iscroll-mode-hook
1603 #'(lambda () (blackout 'iscroll-mode)))
1604#+end_src
1605
1606** TODO Reading mode
1607
1608A custom mode to make reading comfy
1609
1589* Programming 1610* Programming
1590 1611
1591** Comments 1612** Comments
@@ -2009,7 +2030,8 @@ See [[https://github.com/redguardtoo/mastering-emacs-in-one-year-guide/blob/mast
2009#+begin_src emacs-lisp :noweb-ref hooks 2030#+begin_src emacs-lisp :noweb-ref hooks
2010 (defun hook--elfeed-show () 2031 (defun hook--elfeed-show ()
2011 (text-scale-adjust +1) 2032 (text-scale-adjust +1)
2012 (visual-fill-column-mode +1)) 2033 (visual-fill-column-mode +1)
2034 (iscroll-mode +1))
2013 2035
2014 (add-hook 'elfeed-show-mode-hook #'hook--elfeed-show) 2036 (add-hook 'elfeed-show-mode-hook #'hook--elfeed-show)
2015#+end_src 2037#+end_src