home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

commit 76a265dc92e9313d5f49957a718dee8251cd4c74
parent 18d2c95943fa6c5707574dbbd57cbf1f1e1c74d8
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Fri,  7 Oct 2022 17:52:13 +0200

tools/emacs: migrate some stuff from scratch

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mtools/emacs/config/config-appearance.el | 22++++++++++++++++++++++
Mtools/emacs/config/config-windows.el | 6+-----
Mtools/emacs/init.el | 13-------------
Musers/vincent/dev/emacs.nix | 2+-
4 files changed, 24 insertions(+), 19 deletions(-)

diff --git a/tools/emacs/config/config-appearance.el b/tools/emacs/config/config-appearance.el @@ -216,6 +216,28 @@ questions. Else use completion to select the tab to switch to." 24-hours minutes))) (display-time)) +(use-package lin + :unless noninteractive + :config + (setq lin-face 'lin-blue) + (setq lin-mode-hooks + '(bongo-mode-hook + dired-mode-hook + elfeed-search-mode-hook + git-rebase-mode-hook + ibuffer-mode-hook + ilist-mode-hook + ledger-report-mode-hook + log-view-mode-hook + magit-log-mode-hook + mu4e-headers-mode + notmuch-search-mode-hook + notmuch-tree-mode-hook + occur-mode-hook + org-agenda-mode-hook + tabulated-list-mode-hook)) + (lin-global-mode)) + (use-package tooltip :unless noninteractive :config diff --git a/tools/emacs/config/config-windows.el b/tools/emacs/config/config-windows.el @@ -55,11 +55,7 @@ ("S-C-<up>" . enlarge-window))) ;; -UseWindow -(use-package zoom-window - :commands (zoom-window-zoom) - :bind (("C-x C-z" . zoom-window-zoom)) - :config - (setq zoom-window-mode-line-color "#8ac7ff")) +;; TODO: Move display-buffer-alist here (provide 'config-windows) ;;; config-windows ends here diff --git a/tools/emacs/init.el b/tools/emacs/init.el @@ -83,19 +83,6 @@ (defconst vde/custom-file (locate-user-emacs-file "custom.el") "File used to store settings from Customization UI.") -(use-package cus-edit - :config - (setq - custom-file vde/custom-file - custom-buffer-done-kill nil ; Kill when existing - custom-buffer-verbose-help nil ; Remove redundant help text - custom-unlispify-tag-names nil ; Show me the real variable name - custom-unlispify-menu-entries nil) - (unless (file-exists-p custom-file) - (write-region "" nil custom-file)) - - (load vde/custom-file 'no-error 'no-message)) - ;; Remove built-in org-mode (require 'cl-seq) (setq load-path diff --git a/users/vincent/dev/emacs.nix b/users/vincent/dev/emacs.nix @@ -87,6 +87,7 @@ let marginalia markdown-mode minions + modus-themes moody multi-vterm mwim @@ -135,7 +136,6 @@ let with-editor xterm-color yaml-mode - zoom-window ]; in {