From 6e9d2fffd89167e6e5d39d26220284168cbe80cd Mon Sep 17 00:00:00 2001 From: noa@gaiwan.org Date: Sun, 23 Jun 2024 10:41:58 +0000 Subject: Expand miscellaneous section --- config.org | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/config.org b/config.org index c90958d..bac3756 100644 --- a/config.org +++ b/config.org @@ -1410,6 +1410,37 @@ While we're at it, ensure that transients look nice with a variable pitch font. (setopt transient-align-variable-pitch t) #+end_src +Automatically revert buffers when they change on disk. This doesn't apply to tramp. + +#+begin_src elisp + (setopt global-auto-revert-mode t) +#+end_src + +This will stop us being prompted before killing a buffer with a running process: + +#+begin_src elisp + (setopt kill-buffer-query-functions + (remq 'process-kill-buffer-query-function + kill-buffer-query-functions)) +#+end_src + +Scroll along with text in compilation mode, and stop scrolling at the first error. + +#+begin_src elisp + (setopt compilation-scroll-output 'first-error) +#+end_src + +Ignore the bell. + +#+begin_src elisp + (setopt ring-bell-function 'ignore) +#+end_src + +Better support for long lines. + +#+begin_src elisp + (setopt global-so-long-mode t) +#+end_src ** Search in buffer -- cgit 1.4.1-2-gfad0