diff options
-rw-r--r-- | config.org | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/config.org b/config.org index 3d806a6..a8c8d2d 100644 --- a/config.org +++ b/config.org @@ -1203,10 +1203,11 @@ Hide commands in M-x which do not work in the current mode. * Miscellaneous -C-l goes in order +C-l goes in order, rather than first centering the cursor. This is particularly pleasant with a ~scroll-margin~ greater than the default of zero, which serves to keep a line of context at each edge of the screen, as well as triggering a scroll when the point is that far away from the screen edge. #+begin_src elisp -(setopt recenter-positions '(top middle bottom)) + (setopt recenter-positions '(top middle bottom)) + (setopt scroll-margin 1) #+end_src Emacs uses choppy scrolling by default. If i scoll with my trackpad, it's nice to have it move tiny amounts at the same time as my fingers, which pixel-scroll-precision-mode allows for. This also has the benefit of making scrolling over images a little bit of a nicer experience. |