summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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