From 2605731fb371ddaee2860f6739aa00c850dd7faa Mon Sep 17 00:00:00 2001 From: noa@gaiwan.org Date: Sun, 23 Jun 2024 11:15:13 +0000 Subject: Dump a bit more in miscellaneous --- config.org | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) (limited to 'config.org') diff --git a/config.org b/config.org index 7412209..fee5ca6 100644 --- a/config.org +++ b/config.org @@ -1133,18 +1133,6 @@ Backups are pointless in long emacs sessions imo, but autosaves are useful. (add-hook 'mouse-leave-buffer-hook (lambda () (interactive) (save-some-buffers t))) #+end_src -C-l goes in order -#+begin_src elisp -(setopt recenter-positions '(top middle bottom)) -#+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. - -#+begin_src elisp -(setopt pixel-scroll-precision-mode t - pixel-scroll-precision-use-momentum t) -#+end_src - ** Smart scan This is a nice package to easily jump between identical things at point, like the * operator in vim. I disabled it because i'm trying out using the same keybindings to jump between compile mode errors. @@ -1265,6 +1253,19 @@ Hide commands in M-x which do not work in the current mode. * Miscellaneous +C-l goes in order + +#+begin_src elisp +(setopt recenter-positions '(top middle bottom)) +#+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. + +#+begin_src elisp +(setopt pixel-scroll-precision-mode t + pixel-scroll-precision-use-momentum t) +#+end_src + #+begin_src elisp (setopt save-place-mode 1) #+end_src -- cgit 1.4.1-2-gfad0