From 0ce0bf890ae532f5aee46d158a28b85d03a6366a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Benencia?= Date: Wed, 2 Aug 2023 22:48:39 -0700 Subject: emacs: drop unused files --- .emacs.d/init.el | 5 ++- .emacs.d/rul-init.d/company.el | 42 ------------------------- .emacs.d/rul-init.d/dashboard.el | 9 ------ .emacs.d/rul-init.d/doom-modeline.el | 11 ------- .emacs.d/rul-init.d/lsp.el | 17 ---------- .emacs.d/rul-init.d/mu4e.el | 61 ------------------------------------ .emacs.d/rul-init.d/sml.el | 7 ----- 7 files changed, 2 insertions(+), 150 deletions(-) delete mode 100644 .emacs.d/rul-init.d/company.el delete mode 100644 .emacs.d/rul-init.d/dashboard.el delete mode 100644 .emacs.d/rul-init.d/doom-modeline.el delete mode 100644 .emacs.d/rul-init.d/lsp.el delete mode 100644 .emacs.d/rul-init.d/mu4e.el delete mode 100644 .emacs.d/rul-init.d/sml.el (limited to '.emacs.d') diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 0d1d945..005df3a 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -162,7 +162,6 @@ ;; Init parts (will be deprecated in favor of packages) (load-file "~/.emacs.d/rul-init.d/auto-fill.el") -;(load-file "~/.emacs.d/rul-init.d/doom-modeline.el") (load-file "~/.emacs.d/rul-init.d/flycheck.el") (load-file "~/.emacs.d/rul-init.d/flyspell.el") (load-file "~/.emacs.d/rul-init.d/go-lang.el") @@ -171,14 +170,14 @@ (load-file "~/.emacs.d/rul-init.d/imenu.el") (load-file "~/.emacs.d/rul-init.d/latex.el") (load-file "~/.emacs.d/rul-init.d/logos.el") +(load-file "~/.emacs.d/rul-init.d/magit.el") (load-file "~/.emacs.d/rul-init.d/mail-mode.el") (load-file "~/.emacs.d/rul-init.d/markdown.el") -(load-file "~/.emacs.d/rul-init.d/magit.el") (load-file "~/.emacs.d/rul-init.d/notmuch.el") (load-file "~/.emacs.d/rul-init.d/projectile.el") +(load-file "~/.emacs.d/rul-init.d/vterm.el") (load-file "~/.emacs.d/rul-init.d/which-key.el") (load-file "~/.emacs.d/rul-init.d/writeroom.el") -(load-file "~/.emacs.d/rul-init.d/vterm.el") (when-let* ((file (locate-user-emacs-file "rul-post-init.el")) ((file-exists-p file))) diff --git a/.emacs.d/rul-init.d/company.el b/.emacs.d/rul-init.d/company.el deleted file mode 100644 index d52000e..0000000 --- a/.emacs.d/rul-init.d/company.el +++ /dev/null @@ -1,42 +0,0 @@ -(use-package company - :ensure t - :defer t - :init (global-company-mode) - :config - (progn - ;; Use Company for completion - (bind-key [remap completion-at-point] #'company-complete company-mode-map) - - (setq company-tooltip-align-annotations t - ;; Easy navigation to candidates with M- - company-show-numbers t) - (setq company-dabbrev-downcase nil)) - - (setq company-idle-delay 0) - (setq company-minimum-prefix-length 1) - :diminish company-mode) - -(use-package company-quickhelp ; Documentation popups for Company - :ensure t - :defer t - :init (add-hook 'global-company-mode-hook #'company-quickhelp-mode)) - -(use-package company-go - :ensure t - :defer t - :init - (with-eval-after-load 'company - (add-to-list 'company-backends 'company-go))) - -(use-package company-lsp - :ensure t - :commands company-lsp) - -(use-package yasnippet - :ensure t - :config - (yas-global-mode 1) - (global-set-key (kbd "C-c y") 'company-yasnippet)) - -(use-package yasnippet-snippets - :ensure t) diff --git a/.emacs.d/rul-init.d/dashboard.el b/.emacs.d/rul-init.d/dashboard.el deleted file mode 100644 index 7bf51a9..0000000 --- a/.emacs.d/rul-init.d/dashboard.el +++ /dev/null @@ -1,9 +0,0 @@ -(use-package dashboard - :ensure t - :diminish dashboard-mode - :config - (setq dashboard-banner-logo-title "Happy hacking!") - (setq dashboard-items '((recents . 10) - (projects . 5) - (bookmarks . 10))) - (dashboard-setup-startup-hook)) diff --git a/.emacs.d/rul-init.d/doom-modeline.el b/.emacs.d/rul-init.d/doom-modeline.el deleted file mode 100644 index b212652..0000000 --- a/.emacs.d/rul-init.d/doom-modeline.el +++ /dev/null @@ -1,11 +0,0 @@ -;; Elpa packages: doom-modeline all-the-icons -;; Run: all-the-icons-install-fonts - -(use-package doom-modeline - :ensure t - :hook (after-init . doom-modeline-mode) - :config - (setq doom-modeline-height 1) - (set-face-attribute 'mode-line nil :family "Noto Sans" :height 150) - (set-face-attribute 'mode-line-inactive nil :family "Noto Sans" :height 150) -) diff --git a/.emacs.d/rul-init.d/lsp.el b/.emacs.d/rul-init.d/lsp.el deleted file mode 100644 index a565b03..0000000 --- a/.emacs.d/rul-init.d/lsp.el +++ /dev/null @@ -1,17 +0,0 @@ -(use-package lsp-mode - :ensure t - :commands - (lsp lsp-deferred) - :hook - (dart-mode go-mode . lsp) - :init - (setq lsp-keymap-prefix "H-l") - ) - -(defun lsp-go-install-save-hooks () - (add-hook 'before-save-hook #'lsp-format-buffer t t) - (add-hook 'before-save-hook #'lsp-organize-imports t t)) - -(use-package lsp-ui - :ensure t - :commands lsp-ui-mode) diff --git a/.emacs.d/rul-init.d/mu4e.el b/.emacs.d/rul-init.d/mu4e.el deleted file mode 100644 index da8b7c8..0000000 --- a/.emacs.d/rul-init.d/mu4e.el +++ /dev/null @@ -1,61 +0,0 @@ -(require 'mu4e) - -;; sending mail -(setq message-send-mail-function 'message-send-mail-with-sendmail - sendmail-program "/home/lur/bin/te-msmtp" - user-mail-address "raul@thousandeyes.com" - user-full-name "Raúl Benencia") - -(setq mu4e-user-mail-address-list (list "raul@thousandeyes.com")) - -(setq message-kill-buffer-on-exit t) -;; Use fancy chars -(setq mu4e-use-fancy-chars t) -;; don't save message to Sent Messages, Gmail/IMAP takes care of this -(setq mu4e-sent-messages-behavior 'delete) -(setq mu4e-update-interval 60) ;; update every 5 minutes - -;; use 'fancy' non-ascii characters in various places in mu4e -;;(setq mu4e-use-fancy-chars t) - -(setq relevant-maildirs " (maildir:/INBOX OR maildir:/jira OR maildir:/news OR maildir:/git)") -(mu4e-alert-enable-notifications) -(mu4e-alert-set-default-style 'libnotify) -(setq mu4e-alert-interesting-mail-query - (concat "flag:unread" - " AND NOT flag:trashed" - " AND" relevant-maildirs)) - -(mu4e-alert-set-default-style 'libnotify) -;;(add-hook 'after-init-hook #'mu4e-alert-enable-notifications) -(add-hook 'after-init-hook #'mu4e-alert-enable-mode-line-display) - -(setq mu4e-bookmarks - `(,(make-mu4e-bookmark - :name "INBOX" - :query "maildir:/INBOX" - :key ?i) - ,(make-mu4e-bookmark - :name "Unread messages" - :query (concat "flag:unread AND NOT flag:trashed AND" relevant-maildirs) - :key ?u) - ,(make-mu4e-bookmark - :name "Today's messages" - :query (concat "date:today..now AND" relevant-maildirs) - :key ?t) - ,(make-mu4e-bookmark - :name "Last 7 days" - :query (concat "date:7d..now AND" relevant-maildirs) - :key ?w) - ,(make-mu4e-bookmark - :name "Today's unread logs " - :query (concat "date:today..now flag:unread AND NOT" relevant-maildirs) - :key ?l) - ,(make-mu4e-bookmark - :name "Today's logs " - :query (concat "date:today..now AND NOT maildir:/fim AND NOT" relevant-maildirs) - :key ?l)) -) - -;; (require 'mu4e-maildirs-extension) -;; (mu4e-maildirs-extension) diff --git a/.emacs.d/rul-init.d/sml.el b/.emacs.d/rul-init.d/sml.el deleted file mode 100644 index 247d9b2..0000000 --- a/.emacs.d/rul-init.d/sml.el +++ /dev/null @@ -1,7 +0,0 @@ -;; Debian packages: elpa-smart-mode-line elpa-smart-mode-line-powerline-theme - -(use-package smart-mode-line - :ensure t - :config - (setq sml/theme 'respectful) - (sml/setup)) -- cgit v1.2.3