Add defering removed by error before.

This commit is contained in:
kj 2022-04-04 22:08:30 -04:00
parent da8f068975
commit 558bb8f33c

View File

@ -28,16 +28,18 @@
(expand-file-name ".last-package-update-day" private-dir))) (expand-file-name ".last-package-update-day" private-dir)))
;; Iconos principalmente para ser usados por neotree ;; Iconos principalmente para ser usados por neotree
(use-package all-the-icons) (use-package all-the-icons :defer t)
;; Highlight en los números. ;; Highlight en los números.
(use-package highlight-numbers (use-package highlight-numbers
:defer t
:ensure t :ensure t
:hook :hook
(prog-mode . highlight-numbers-mode)) (prog-mode . highlight-numbers-mode))
;; Barra lateral de archivos ;; Barra lateral de archivos
(use-package treemacs (use-package treemacs
:defer t
:ensure t :ensure t
:hook (treemacs-mode . (lambda() (display-line-numbers-mode -1))) :hook (treemacs-mode . (lambda() (display-line-numbers-mode -1)))
:bind ([mouse-1] . treemacs-single-click-expand-action) :bind ([mouse-1] . treemacs-single-click-expand-action)
@ -126,6 +128,7 @@
("C-x t M-t" . treemacs-find-tag))) ("C-x t M-t" . treemacs-find-tag)))
(use-package treemacs-evil (use-package treemacs-evil
:defer t
:after (treemacs evil) :after (treemacs evil)
:ensure t :ensure t
:config :config
@ -138,23 +141,28 @@
(evil-define-key 'treemacs 'global (kbd "<leader>d") 'treemacs-remove-project-from-workspace)) (evil-define-key 'treemacs 'global (kbd "<leader>d") 'treemacs-remove-project-from-workspace))
(use-package treemacs-projectile (use-package treemacs-projectile
:defer t
:after (treemacs projectile) :after (treemacs projectile)
:ensure t) :ensure t)
(use-package treemacs-icons-dired (use-package treemacs-icons-dired
:defer t
:hook (dired-mode . treemacs-icons-dired-enable-once) :hook (dired-mode . treemacs-icons-dired-enable-once)
:ensure t) :ensure t)
(use-package treemacs-magit (use-package treemacs-magit
:defer t
:after (treemacs magit) :after (treemacs magit)
:ensure t) :ensure t)
(use-package treemacs-persp ;;treemacs-perspective if you use perspective.el vs. persp-mode (use-package treemacs-persp ;;treemacs-perspective if you use perspective.el vs. persp-mode
:defer t
:after (treemacs persp-mode) ;;or perspective vs. persp-mode :after (treemacs persp-mode) ;;or perspective vs. persp-mode
:ensure t :ensure t
:config (treemacs-set-scope-type 'Perspectives)) :config (treemacs-set-scope-type 'Perspectives))
(use-package treemacs-tab-bar ;;treemacs-tab-bar if you use tab-bar-mode (use-package treemacs-tab-bar ;;treemacs-tab-bar if you use tab-bar-mode
:defer t
:after (treemacs) :after (treemacs)
:ensure t :ensure t
:config (treemacs-set-scope-type 'Tabs)) :config (treemacs-set-scope-type 'Tabs))
@ -182,7 +190,7 @@
) )
;; Modo markdown ;; Modo markdown
(use-package markdown-mode) (use-package markdown-mode :defer t)
;; Git Gutter - Marca a la izq. si una linea ha sido agregada, editada o eliminada desde el último commit. ;; Git Gutter - Marca a la izq. si una linea ha sido agregada, editada o eliminada desde el último commit.
(use-package git-gutter (use-package git-gutter
@ -201,6 +209,7 @@
;; Esa línea bonita de abajo del editor que dice cosas xD ;; Esa línea bonita de abajo del editor que dice cosas xD
(use-package telephone-line (use-package telephone-line
:defer t
:custom :custom
(telephone-line-primary-left-separator 'telephone-line-cubed-left) (telephone-line-primary-left-separator 'telephone-line-cubed-left)
(telephone-line-secondary-left-separator 'telephone-line-cubed-hollow-left) (telephone-line-secondary-left-separator 'telephone-line-cubed-hollow-left)
@ -225,7 +234,6 @@
;; Control más "natural" a la hora de hacer/deshacer. ;; Control más "natural" a la hora de hacer/deshacer.
(use-package undo-tree (use-package undo-tree
:init :init
(setq undo-tree-auto-save-history nil)
(global-undo-tree-mode 1) (global-undo-tree-mode 1)
:config :config
(global-set-key (kbd "C-z") 'undo-tree-undo) (global-set-key (kbd "C-z") 'undo-tree-undo)
@ -234,6 +242,7 @@
;; Hacer uso de Emacs con las ventajas de vim. ;; Hacer uso de Emacs con las ventajas de vim.
(use-package evil (use-package evil
:defer t
:init :init
(evil-mode 1) (evil-mode 1)
(setq evil-want-integration t) (setq evil-want-integration t)
@ -311,17 +320,20 @@
;; Edición múltiple con evil (Atajos por defecto: C-d y C-D) ;; Edición múltiple con evil (Atajos por defecto: C-d y C-D)
(use-package evil-multiedit (use-package evil-multiedit
:defer t
:config :config
(evil-multiedit-default-keybinds) (evil-multiedit-default-keybinds)
) )
;; Code Folding ;; Code Folding
(use-package origami (use-package origami
:defer t
:config :config
(global-origami-mode)) (global-origami-mode))
;; Automcompletado ;; Automcompletado
(use-package company (use-package company
:defer t
:bind (:map company-active-map :bind (:map company-active-map
("<tab>" . company-indent-or-complete-common)) ; autocompletar con tab como se haría en bash-competition en la terminal de linux ("<tab>" . company-indent-or-complete-common)) ; autocompletar con tab como se haría en bash-competition en la terminal de linux
(:map company-active-map (:map company-active-map
@ -346,6 +358,7 @@
;; Hacer que el autocompletado se vea más bonito con íconos ;; Hacer que el autocompletado se vea más bonito con íconos
(use-package company-box (use-package company-box
:defer t
:hook (company-mode . company-box-mode)) :hook (company-mode . company-box-mode))
;; Usar autocompletado con ctags y company ;; Usar autocompletado con ctags y company
@ -380,11 +393,13 @@
;; Revisar sintaxis en vivo ;; Revisar sintaxis en vivo
(use-package flycheck (use-package flycheck
;; :diminish flycheck-mode ;; :diminish flycheck-mode
:defer t
:hook (after-init . global-flycheck-mode) ; Habilitar flycheck en todos los modos :hook (after-init . global-flycheck-mode) ; Habilitar flycheck en todos los modos
) )
;; Mostrar los errores de flycheck en un pop up ;; Mostrar los errores de flycheck en un pop up
(use-package flycheck-popup-tip (use-package flycheck-popup-tip
:defer t
:hook (flycheck-mode . flycheck-popup-tip-mode)) :hook (flycheck-mode . flycheck-popup-tip-mode))
;; Un bonito y sencillo panel de inicio ;; Un bonito y sencillo panel de inicio
@ -402,12 +417,14 @@
;; Autocompletado para shell scripting. ;; Autocompletado para shell scripting.
(use-package company-shell (use-package company-shell
:defer t
:config :config
(add-to-list 'company-backends '(company-shell company-shell-env company-fish-shell)) (add-to-list 'company-backends '(company-shell company-shell-env company-fish-shell))
) )
;; Autocompletado para el minibuffer (counsel e ivy) ;; Autocompletado para el minibuffer (counsel e ivy)
(use-package counsel (use-package counsel
:defer t
:bind :bind
("M-x" . counsel-M-x) ("M-x" . counsel-M-x)
("C-x C-m" . counsel-M-x) ("C-x C-m" . counsel-M-x)
@ -415,6 +432,7 @@
("C-x c k" . counsel-yank-pop)) ("C-x c k" . counsel-yank-pop))
(use-package projectile (use-package projectile
:defer t
:diminish projectile-mode :diminish projectile-mode
:config :config
(projectile-mode) (projectile-mode)
@ -457,12 +475,14 @@
;; Autocompletado de proyectos en counsel (projectile) ;; Autocompletado de proyectos en counsel (projectile)
(use-package counsel-projectile (use-package counsel-projectile
:defer t
:config :config
(global-set-key (kbd "C-x v") 'counsel-projectile) (global-set-key (kbd "C-x v") 'counsel-projectile)
(counsel-projectile-mode)) (counsel-projectile-mode))
;; Mostrar info del panel inferior de otra manera ;; Mostrar info del panel inferior de otra manera
(use-package ivy (use-package ivy
:defer t
:bind :bind
("C-x s" . swiper) ("C-x s" . swiper)
("C-x C-r" . ivy-resume) ("C-x C-r" . ivy-resume)
@ -488,6 +508,7 @@
;; Cuando iniicias un atajo de teclas te muestra las posibilidades ;; Cuando iniicias un atajo de teclas te muestra las posibilidades
(use-package which-key (use-package which-key
:defer t
:config :config
(which-key-mode)) (which-key-mode))
@ -542,6 +563,7 @@
) )
(use-package org (use-package org
:defer t
:pin org :pin org
:hook (org-mode . efs/org-mode-setup) :hook (org-mode . efs/org-mode-setup)
:config :config