From cb1b5058fd88d8dffed679e4f8139e8c5ad95a94 Mon Sep 17 00:00:00 2001 From: KJ Date: Sat, 13 Apr 2024 18:52:01 -0400 Subject: [PATCH] Delete unused config file. --- configs/init-treemacs.el | 60 ---------------------------------------- 1 file changed, 60 deletions(-) delete mode 100644 configs/init-treemacs.el diff --git a/configs/init-treemacs.el b/configs/init-treemacs.el deleted file mode 100644 index 33464c3..0000000 --- a/configs/init-treemacs.el +++ /dev/null @@ -1,60 +0,0 @@ -;;; init-treemacs.el --- Extensiones/paquetes instalados y su configuración -*- lexical-binding: t -*- - -;; Author: kj -;; URL: https://git.kj2.me/kj/confi-emacs-actual - -;;; Commentary: - -;; Aquí se encuentran las configuraciones y paquetes relacionados -;; con treemacs. -;; -;; treemacs es esa barra lateral con los archivos en modo árbol. - -;;; Code: - -(use-package treemacs - :defer t - :commands (treemacs-follow-mode - treemacs-filewatch-mode - treemacs-fringe-indicator-mode - treemacs-git-mode) - :custom-face - (cfrs-border-color ((t (:background ,(face-foreground 'font-lock-comment-face nil t))))) - :bind (([f9] . treemacs) - ([f8] . treemacs-display-current-project-exclusively) - :map treemacs-mode-map - ([mouse-1] . treemacs-single-click-expand-action)) - :config - (setq treemacs-collapse-dirs (if treemacs-python-executable 3 0) - treemacs-missing-project-action 'remove - treemacs-sorting 'alphabetic-asc - treemacs-follow-after-init t - treemacs-width 30) - :config - (treemacs-follow-mode t) - (treemacs-filewatch-mode t) - (pcase (cons (not (null (executable-find "git"))) - (not (null (executable-find "python3")))) - (`(t . t) - (treemacs-git-mode 'deferred)) - (`(t . _) - (treemacs-git-mode 'simple)))) - -(use-package treemacs-projectile - :defer t - :after (treemacs projectile) - :bind (:map projectile-command-map - ("h" . treemacs-projectile))) - -(use-package treemacs-magit - :defer t - :after magit - :commands treemacs-magit--schedule-update - :hook ((magit-post-commit - git-commit-post-finish - magit-post-stage - magit-post-unstage) - . treemacs-magit--schedule-update)) - -(provide 'init-treemacs) -;;; init-treemacs.el ends here