💾 Archived View for gemini.ctrl-c.club › ~rjcks › posts › my_init.el.gmi captured on 2023-05-24 at 18:58:05. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-01-29)
-=-=-=-=-=-=-
;;; [2021-04-17 Sat] (load-custom) in early-init.el
;;; which loads emacs-custom.el
(require 'package)
(package-initialize)
(selectrum-mode +1)
(evil-mode 1)
(selectrum-prescient-mode +1)
(prescient-persist-mode +1)
(load "~/.emacs.d/elisp/functions.el")
(load "~/.emacs.d/elisp/my_keybindings.el")
(require 'server)
(if (not (server-running-p))
(server-start)
(message "Server already running"))
(format-time-string "%Y%m%d")
(fset 'yes-or-no-p 'y-or-n-p)
;;; EOF
1: Use (customize) rather than setq
137 lines
(setq custom-file "~/.emacs.d/emacs-custom.el")
(load custom-file)
2: with prescient-persist and M-x the need for a lot
of keybindings disappears. For example
"M-x" then "g"
has (gnus) as the first mini-buffer option, which is pre-selected, and
so <RETURN> and action.
3: I have 20 keybindings in my_keybindings.el, two of which which are
to hydras, giving another ~20. One of the hydras is for zetteldeft,
and the other is mainly shortcuts to files. So for example "qw"
followed by "e" opens up init.el