emacs.d

My Emacs configuration
git clone https://git.jamzattack.xyz/emacs.d
Log | Files | Refs | LICENSE

commit 21d0ada6ce95c06afb51f7aedae3596aa9c05e23
parent 65786cf7bb434d4101db9de2fc0b121600b6ca71
Author: Jamie Beardslee <beardsleejamie@gmail.com>
Date:   Mon, 20 Apr 2020 00:38:17 +1200

(use-package view): square brackets now move by paragraph

Diffstat:
Mconfig.org | 9++++++---
1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/config.org b/config.org @@ -921,9 +921,10 @@ so that I can bind the keys in exwm-mode as well. ** View-mode I like using view-mode and scroll-lock-mode is kind-of useless, so I -rebind Scroll_Lock to toggle view-mode. +rebind Scroll_Lock to toggle view-mode and enable view-mode if a +buffer is read-only. -Also enable view-mode if a buffer is read-only. +Also bind some keys to simplify movement. #+begin_src emacs-lisp (use-package view @@ -933,7 +934,9 @@ Also enable view-mode if a buffer is read-only. (:map view-mode-map ("l" . recenter-top-bottom) ("f" . forward-sexp) - ("b" . backward-sexp))) + ("b" . backward-sexp) + ("[" . backward-paragraph) + ("]" . forward-paragraph))) #+end_src ** Fixing some default behaviour