Emacs changes

This commit is contained in:
Charlotte Van Petegem 2021-09-14 10:44:10 +02:00
parent c3f06e3b43
commit 83196ae02f
No known key found for this signature in database
GPG key ID: 019E764B7184435A
2 changed files with 11 additions and 1 deletions

View file

@ -97,6 +97,7 @@
;; major modes.
((text-mode prog-mode) . electric-pair-mode)
:custom
(create-lockfiles nil "I'm the only user on my devices, so don't clutter with lockfiles")
(inhibit-startup-screen t "Don't show default startup screen")
:config
;; Only ask for y/n, never for yes/no.
@ -118,6 +119,9 @@
(add-hook 'server-after-make-frame-hook #'font-settings)
(add-hook 'server-after-make-frame-hook #'display-env-hack))
(font-settings))
;; Always display column number in mode line
(column-number-mode)
)
;; Vim keybindings
@ -167,6 +171,12 @@
(modus-themes-load-operandi)
)
(use-package no-littering
:custom
(user-emacs-directory (expand-file-name "~/.cache/emacs/") "Don't put files into .emacs.d")
(url-history-file (expand-file-name "url/history" user-emacs-directory) "Same for url-history file")
)
;; Orderless filtering
(use-package orderless
:after (selectrum)

View file

@ -26,7 +26,7 @@
config = {
chvp.base.zfs.homeLinks = [
{ path = ".emacs.d"; type = "cache"; }
{ path = ".cache/emacs"; type = "cache"; }
];
home-manager.users.charlotte = { ... }: {