dot-emacs

My emacs dotfiles/config
git clone git://git.ethandl.dev/dot-emacs
Log | Files | Refs

commit 9227fa920b64c0e28d0fdee394b1c6fbd0dbe5b1
parent 217891db0e0ecee9db00032802c186af8cdd6ada
Author: Ethan Long <me@ethandl.dev>
Date:   Tue,  6 Jan 2026 14:10:41 +1100

Added some config to get emacs working as a daemon as well.

Diffstat:
Mconfig.org | 10++++++++++
1 file changed, 10 insertions(+), 0 deletions(-)

diff --git a/config.org b/config.org @@ -217,6 +217,11 @@ Now we use [[*Code fonts][the font helper function that I defined earlier]] to a (ethandl/set-fonts ethandl/code-font t) (add-hook 'elpaca-after-init-hook (apply-partially #'ethandl/set-fonts ethandl/code-font)) #+end_src + +We also want this to run after we make a new frame, in case we are running emacs as a daemon. +#+begin_src emacs-lisp + (add-hook 'after-make-frame-functions (apply-partially #'ethandl/set-fonts ethandl/code-font)) +#+end_src **** Font supported ligatures for ~ligature.el~ Each font has its own set of supported ligatures. Unfortunately on Linux systems you must use ~ligature.el~ to set ligatures, and this requires manually defining which ligatures are supported. This is either really cool or a pain in the ass. @@ -275,6 +280,11 @@ This is mostly just the work of [[https://dev.to/rajasegar/vim-style-repeatable- "k" #'windmove-up "l" #'windmove-right) #+end_src +** Super as meta +I like having the super key also function as a meta key, as I frequently switch between MacOS and Linux with different window managers and keyboards. +#+begin_src emacs-lisp + (setq x-super-keysym 'meta) +#+end_src * General Emacs/Editor settings FIXME: Continue from here (remembering that I have other FIXMEs above)