diff options
| author | LLoyderino <adrijan.bjedov@gmail.com> | 2026-04-12 21:00:29 +0200 |
|---|---|---|
| committer | LLoyderino <adrijan.bjedov@gmail.com> | 2026-04-12 21:00:29 +0200 |
| commit | 425c4453df2e4c44fd9629c236eae1fa43fbd246 (patch) | |
| tree | e2d1cafb07cfd55e29278f69c5c6abbb584fd874 /init.el | |
| parent | 4c1af959846536eef2c9f8e5199f2cb6c22f3fe5 (diff) | |
Added more Emacs defaults improvements
Yoinked from: https://emacsredux.com/blog/2026/04/07/stealing-from-the-best-emacs-configs/
Diffstat (limited to 'init.el')
| -rw-r--r-- | init.el | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -42,8 +42,21 @@ (use-package better-defaults ; It is important to run after vertico ; or it will run completion with ido :after vertico) +(setq help-window-select t) ; Automatically move cursor into help window +(setq kill-do-not-save-duplicates t) ; No duplicates in the kill ring + +;; Here’s a scenario: you copy a URL from your browser, switch to Emacs, kill a line with C-k, +;; and then try to yank the URL you copied earlier with C-y. Gone. The kill replaced it on the +;; clipboard. This setting makes Emacs save the existing clipboard content into the kill ring +;; before overwriting it: +(setq save-interprogram-paste-before-kill t) + (setq read-process-output-max (* 1024 1024 4)) ; Increase garbage collection threshold +(setq-default bidi-display-reordering 'left-to-right ; Disables bidirectional scanning + bidi-paragraph-direction 'left-to-right) ; aka. RTL language support +(setq bidi-inhibit-bpa t) + (use-package no-littering) ; Move litter to separate dirs (global-auto-revert-mode 1) ; Update files changed externally |
