summary refs log tree commit diff
diff options
context:
space:
mode:
authornoa@gaiwan.org2024-06-23 10:41:58 +0000
committernoa@gaiwan.org2024-06-23 10:41:58 +0000
commit6e9d2fffd89167e6e5d39d26220284168cbe80cd (patch)
treebdec0276269be76de5fa8ac92ad79cf6e262230c
parent3fdccd247127a705ad96bf07f3b620fb150fde50 (diff)
Expand miscellaneous section
-rw-r--r--config.org31
1 files changed, 31 insertions, 0 deletions
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