about summary refs log tree commit diff stats
path: root/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'init.el')
-rw-r--r--init.el17
1 files changed, 11 insertions, 6 deletions
diff --git a/init.el b/init.el index 631ae3d..2a76b3b 100644 --- a/init.el +++ b/init.el
@@ -16,15 +16,20 @@
16 16
17;;; Code: 17;;; Code:
18 18
19;; Delete when no longer ... remacs'd 19(require 'early-init (locate-user-emacs-file "early-init.el") t)
20;; Require early-init.el just in case it hasn't been yet.
21(require 'early-init (locate-user-emacs-file "early-init.el") :noerror)
22
23;; Requre my private stuff
24(require 'private) 20(require 'private)
25(setq debug-on-error t) 21(setq debug-on-error t)
26 22
27(setup (:require +defaults)) 23(setup (:require +emacs)
24 ;; +emacs.el contains super-basic defaults that are basically
25 ;; necessary for good functioning. In this block, I add extra
26 ;; things or more "experimental" ones that might not belong in a
27 ;; separate file.
28 (:global "M-o" 'other-buffer
29 "C-x C-k" 'kill-this-buffer)
30 ;; C-h deletes backward - see https://idiomdrottning.org/bad-emacs-defaults
31 (global-set-key (kbd "C-h") 'delete-backward-char)
32 (keyboard-translate ?\C-h ?\C-?))
28 33
29(setup (:require +init) 34(setup (:require +init)
30 (:bind "C-c s" (lambda () 35 (:bind "C-c s" (lambda ()