summaryrefslogtreecommitdiff
path: root/.config/emacs/custom.el
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2025-01-25 18:50:15 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2025-01-25 18:50:15 +0100
commitbb40f54627d7f777810957a1c5306aedfbbdd38b (patch)
treea03d8fda8c79534c067c63225f9d6ef5cd7424d5 /.config/emacs/custom.el
parenta8924d1fa1e2ce5f921d3aa54bd3205a6ff3f5b7 (diff)
downloaddotfiles-bb40f54627d7f777810957a1c5306aedfbbdd38b.tar.xz
Achieve XDG compliance
… sort of. Emacs apps will stuff all manner of transient state under user-emacs-directory by default, so full XDG compliance would probably involve customizing them all to instead use ~/.cache but 🤷
Diffstat (limited to '.config/emacs/custom.el')
-rw-r--r--.config/emacs/custom.el55
1 files changed, 55 insertions, 0 deletions
diff --git a/.config/emacs/custom.el b/.config/emacs/custom.el
new file mode 100644
index 0000000..709ed2f
--- /dev/null
+++ b/.config/emacs/custom.el
@@ -0,0 +1,55 @@
+(custom-set-variables
+ ;; custom-set-variables was added by Custom.
+ ;; If you edit it by hand, you could mess it up, so be careful.
+ ;; Your init file should contain only one such instance.
+ ;; If there is more than one, they won't work right.
+ '(after-save-hook '(executable-make-buffer-file-executable-if-script-p))
+ '(async-shell-command-buffer 'new-buffer)
+ '(auto-revert-avoid-polling t)
+ '(backup-directory-alist '(("" . "~/.emacs.backup")))
+ '(column-number-mode t)
+ '(comint-scroll-show-maximum-output nil)
+ '(delete-selection-mode t)
+ '(describe-bindings-outline t)
+ '(diff-default-read-only t)
+ '(electric-pair-mode t)
+ '(enable-recursive-minibuffers t)
+ '(epg-pinentry-mode 'loopback)
+ '(eshell-scroll-show-maximum-output nil)
+ '(find-ls-option '("-exec ls -ld {} +" . "-ld"))
+ '(font-use-system-font t)
+ '(footnote-body-tag-spacing 1)
+ '(footnote-section-tag "")
+ '(frame-resize-pixelwise t)
+ '(gdb-many-windows t)
+ '(global-page-break-lines-mode t nil (page-break-lines))
+ '(gnus-cloud-method "nnimap:gmail")
+ '(highlight-nonselected-windows t)
+ '(hscroll-step 1)
+ '(ibuffer-default-sorting-mode 'filename/process)
+ '(indent-tabs-mode nil)
+ '(inhibit-startup-screen t)
+ '(line-number-display-limit-width 2000)
+ '(lua-indent-level 2)
+ '(menu-bar-mode nil)
+ '(minibuffer-depth-indicate-mode t)
+ '(page-break-lines-modes '(fundamental-mode text-mode prog-mode special-mode))
+ '(read-char-by-name-sort 'code)
+ '(repeat-mode t)
+ '(scroll-bar-mode nil)
+ '(scroll-conservatively 10)
+ '(scroll-preserve-screen-position t)
+ '(send-mail-function 'smtpmail-send-it)
+ '(split-width-threshold 120)
+ '(switch-to-buffer-obey-display-actions t)
+ '(tab-bar-show 1)
+ '(tool-bar-mode nil)
+ '(truncate-lines t)
+ '(visual-line-fringe-indicators '(left-curly-arrow right-curly-arrow))
+ '(what-cursor-show-names t))
+(custom-set-faces
+ ;; custom-set-faces was added by Custom.
+ ;; If you edit it by hand, you could mess it up, so be careful.
+ ;; Your init file should contain only one such instance.
+ ;; If there is more than one, they won't work right.
+ )