From 034563ad6f0d95e5363ca249ba46ffc2eb1eee98 Mon Sep 17 00:00:00 2001 From: jao Date: Sat, 31 Jul 2021 00:45:26 +0100 Subject: attic: iscroll --- attic/misc.org | 14 +++++++++++++- init.org | 9 --------- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/attic/misc.org b/attic/misc.org index af1da50..aedec78 100644 --- a/attic/misc.org +++ b/attic/misc.org @@ -508,8 +508,8 @@ ("C-x 4 d" . jao-switch-window-then-dired) ("C-x 4 f" . jao-switch-window-then-find-file) ("C-x 4 b" . jao-switch-window-then-consult-buffer))) - #+end_src + #+end_src * vterm #+begin_src emacs-lisp (use-package vterm @@ -560,6 +560,18 @@ (use-package jao-vterm-repl) (jao-define-attached-buffer "^\\* vrepl - .+ \\*.*") #+end_src +* scrolling + #+begin_src emacs-lisp + (use-package iscroll + :ensure t + :diminish) + (with-eval-after-load "gnus-art" + (add-hook 'gnus-article-mode-hook #'iscroll-mode)) + (with-eval-after-load "eww" + (add-hook 'eww-mode-hook #'iscroll-mode)) + (with-eval-after-load "notmuch-show" + (add-hook 'notmuch-show-mode #'iscroll-mode)) + #+end_src * ednc #+begin_src emacs-lisp (use-package ednc diff --git a/init.org b/init.org index a807a9f..8aa0b79 100644 --- a/init.org +++ b/init.org @@ -991,15 +991,6 @@ (setq line-move-visual t) - (use-package iscroll - :ensure t - :diminish) - (with-eval-after-load "gnus-art" - (add-hook 'gnus-article-mode-hook #'iscroll-mode)) - (with-eval-after-load "eww" - (add-hook 'eww-mode-hook #'iscroll-mode)) - (with-eval-after-load "notmuch-show" - (add-hook 'notmuch-show-mode #'iscroll-mode)) #+end_src *** Splitting and switch #+begin_src emacs-lisp -- cgit v1.2.3