diff options
author | bd <bdunahu@colostate.edu> | 2024-03-31 01:13:13 -0600 |
---|---|---|
committer | bd <bdunahu@colostate.edu> | 2024-03-31 01:13:13 -0600 |
commit | bafaf4a10d282fab68d3e1974f103f28f6f00560 (patch) | |
tree | 4f4a47b2e9cea2f14e853f9d991a55a2e194195e | |
parent | e2cf8ec17ea045955fd6970971468c90e6b038a0 (diff) |
Move autoremove/desktop configuration, other minor cleanup
-rw-r--r-- | .config/emacs/init.el | 1 | ||||
-rw-r--r-- | .config/emacs/modules/bd--devel.el | 8 | ||||
-rw-r--r-- | .config/emacs/modules/bd--emms.el | 4 | ||||
-rw-r--r-- | .config/emacs/modules/bd--essentials.el | 3 | ||||
-rw-r--r-- | .config/emacs/modules/bd--tabs.el | 11 | ||||
-rw-r--r-- | .config/emacs/modules/bd--themes.el | 8 | ||||
-rw-r--r-- | .gitignore | 1 |
7 files changed, 20 insertions, 16 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el index 3ebf7fb..05f5deb 100644 --- a/.config/emacs/init.el +++ b/.config/emacs/init.el @@ -71,4 +71,3 @@ (server-start) -(desktop-read user-emacs-directory) diff --git a/.config/emacs/modules/bd--devel.el b/.config/emacs/modules/bd--devel.el index bbbd5cc..a3f0faf 100644 --- a/.config/emacs/modules/bd--devel.el +++ b/.config/emacs/modules/bd--devel.el @@ -37,6 +37,13 @@ to.") nil '(("\\<\\(FIX\\(ME\\)?\\|TODO\\)" 1 font-lock-warning-face t))))) +;; my custom cleanup mode +(require 'autoformat) +(autoformat-mode 1) + +;; questionable default +(indent-tabs-mode 0) + (use-package magit :commands magit-status @@ -56,6 +63,7 @@ to.") ;; better support for latex packages (TeX-parse-self t)) + (use-package slime :commands slime :config diff --git a/.config/emacs/modules/bd--emms.el b/.config/emacs/modules/bd--emms.el index f3db35d..cd86d1f 100644 --- a/.config/emacs/modules/bd--emms.el +++ b/.config/emacs/modules/bd--emms.el @@ -35,9 +35,7 @@ playback." ;; misc (emms-mode-line-format "%s ") (emms-playlist-buffer-name "*Playlist*") - (require 'all-the-icons) - (emms-mode-line-icon-before-format (format "%s" (all-the-icons-fileicon "owl"))) - (emms-mode-line-icon-enabled-p t)) + (emms-mode-line-icon-enabled-p nil)) (add-to-list 'display-buffer-alist `(,emms-playlist-buffer-name diff --git a/.config/emacs/modules/bd--essentials.el b/.config/emacs/modules/bd--essentials.el index 8b07ed6..36d26b0 100644 --- a/.config/emacs/modules/bd--essentials.el +++ b/.config/emacs/modules/bd--essentials.el @@ -23,9 +23,6 @@ (global-hl-line-mode 1) (global-visual-line-mode t) -;; my custom cleanup mode -(require 'autoformat) -(autoformat-mode 1) (setopt next-line-add-newlines t) diff --git a/.config/emacs/modules/bd--tabs.el b/.config/emacs/modules/bd--tabs.el index 533ce1a..d1efe5e 100644 --- a/.config/emacs/modules/bd--tabs.el +++ b/.config/emacs/modules/bd--tabs.el @@ -1,18 +1,18 @@ ;; -*- lexical-binding: t; -*- -;; turn tabs on, undo/redo mode +;;;; turn tabs on, undo/redo mode (setq tab-bar-show 1) (tab-bar-history-mode) -;; remove useless gui elements +;;;; remove useless gui elements (setopt tab-bar-format '(tab-bar-format-tabs) tab-bar-close-button-show nil) -;; bind tabs to 'Meta' like other applications +;;;; bind tabs to 'Meta' like other applications (mapcar (lambda (i) (keymap-global-set (format "M-%d" i) (lambda () @@ -21,7 +21,7 @@ (number-sequence 0 9)) -;; use project name if it exists +;;;; use project name if it exists (defun bd/tab-bar-name-function () (let ((project (project-current))) (if project @@ -43,5 +43,8 @@ (setq tab-bar-tab-name-function #'bd/tab-bar-name-function) +;;;; less tabbing; more hacking +(desktop-save-mode 1) + (provide 'bd--tabs) diff --git a/.config/emacs/modules/bd--themes.el b/.config/emacs/modules/bd--themes.el index aa07768..54e7710 100644 --- a/.config/emacs/modules/bd--themes.el +++ b/.config/emacs/modules/bd--themes.el @@ -31,10 +31,10 @@ to.") (ef-themes-mixed-fonts t) (ef-themes-variable-pitch-ui nil) (ef-themes-headings - '((0 variable-pitch bold 1.6) - (1 variable-pitch bold 1.5) - (2 variable-pitch regular 1.4) - (3 variable-pitch regular 1.2) + '((0 variable-pitch bold 1.5) + (1 variable-pitch bold 1.4) + (2 variable-pitch regular 1.3) + (3 variable-pitch regular 1.1) (t variable-pitch regular 1.0))) (ef-themes-to-toggle '(ef-autumn ef-frost)) @@ -4,4 +4,3 @@ /.config/guix/modules/dwm/Makefile /.config/offlineimap/ /.config/emacs/modules/bd--notmuch.el -/.config/emacs/*.desktop* |