Rename config files.

This commit is contained in:
kj 2022-11-18 23:33:22 -04:00
parent 52db45d968
commit dc74b4bde0
12 changed files with 52 additions and 51 deletions

View File

@ -1,4 +1,4 @@
;;; base.el --- Configuración base de emacs -*- lexical-binding: t -*- ;;; init-base.el --- Configuración base de emacs -*- lexical-binding: t -*-
;; Author: kj <webmaster@outcontrol.net> ;; Author: kj <webmaster@outcontrol.net>
;; URL: https://git.kj2.me/kj/confi-emacs-actual ;; URL: https://git.kj2.me/kj/confi-emacs-actual
@ -145,5 +145,5 @@
(load custom-file) (load custom-file)
(provide 'base) (provide 'init-base)
;;; base.el ends here ;;; init-base.el ends here

View File

@ -1,4 +1,4 @@
;;; base-company.el --- Autocompletado con company-mode -*- lexical-binding: t -*- ;;; init-company.el --- Autocompletado con company-mode -*- lexical-binding: t -*-
;; Author: kj <webmaster@outcontrol.net> ;; Author: kj <webmaster@outcontrol.net>
;; URL: https://git.kj2.me/kj/confi-emacs-actual ;; URL: https://git.kj2.me/kj/confi-emacs-actual
@ -346,5 +346,5 @@
(Template . ,(all-the-icons-material "format_align_left" :height 1.0 :v-adjust -0.2))) (Template . ,(all-the-icons-material "format_align_left" :height 1.0 :v-adjust -0.2)))
company-box-icons-alist 'company-box-icons-all-the-icons)))) company-box-icons-alist 'company-box-icons-all-the-icons))))
(provide 'base-company) (provide 'init-company)
;;; base-company.el ends here ;;; init-company.el ends here

View File

@ -1,4 +1,4 @@
;;; base-ctags.el --- Configuracíón de TAGS -*- lexical-binding: t -*- ;;; init-ctags.el --- Configuracíón de TAGS -*- lexical-binding: t -*-
;; Author: kj <webmaster@outcontrol.net> ;; Author: kj <webmaster@outcontrol.net>
;; URL: https://git.kj2.me/kj/confi-emacs-actual ;; URL: https://git.kj2.me/kj/confi-emacs-actual
@ -66,5 +66,5 @@
(add-hook 'citre-mode-hook #'enable-lsp-citre-capf-backend) (add-hook 'citre-mode-hook #'enable-lsp-citre-capf-backend)
)) ))
(provide 'base-ctags) (provide 'init-ctags)
;;; base-ctags.el ends here ;;; init-ctags.el ends here

View File

@ -1,4 +1,4 @@
;;; base-eglot.el --- Configuración de eglot (LSP) -*- lexical-binding: t -*- ;;; init-eglot.el --- Configuración de eglot (LSP) -*- lexical-binding: t -*-
;; Author: kj <webmaster@outcontrol.net> ;; Author: kj <webmaster@outcontrol.net>
;; URL: https://git.kj2.me/kj/confi-emacs-actual ;; URL: https://git.kj2.me/kj/confi-emacs-actual
@ -14,5 +14,5 @@
(add-to-list 'eglot-server-programs '(php-mode . ("intelephense" "--stdio"))) (add-to-list 'eglot-server-programs '(php-mode . ("intelephense" "--stdio")))
) )
(provide 'base-eglot) (provide 'init-eglot)
;;; base-eglot.el ends here ;;; init-eglot.el ends here

View File

@ -1,4 +1,4 @@
;;; base-extensions.el --- Extensiones/paquetes instalados y su configuración -*- lexical-binding: t -*- ;;; init-extensions.el --- Extensiones/paquetes instalados y su configuración -*- lexical-binding: t -*-
;; Author: kj <webmaster@outcontrol.net> ;; Author: kj <webmaster@outcontrol.net>
;; URL: https://git.kj2.me/kj/confi-emacs-actual ;; URL: https://git.kj2.me/kj/confi-emacs-actual
@ -26,7 +26,8 @@
(use-package dashboard (use-package dashboard
:defer t :defer t
:straight t :straight t
:hook (after-init . dashboard-setup-startup-hook) ;; :hook (after-init . dashboard-setup-startup-hook)
:hook (after-init . org-agenda-list)
:config :config
(setq dashboard-set-file-icons t (setq dashboard-set-file-icons t
dashboard-set-heading-icons t dashboard-set-heading-icons t
@ -103,12 +104,12 @@
:hook :hook
(after-init . global-git-gutter-mode)) (after-init . global-git-gutter-mode))
(use-package gcmh ;; (use-package gcmh
:defer t ;; :defer t
:straight t ;; :straight t
:init ;; :init
(setq gcmh-high-cons-threshold 100000000) ;; (setq gcmh-high-cons-threshold 100000000)
(gcmh-mode 1)) ;; (gcmh-mode 1))
;; Highlight en los números. ;; Highlight en los números.
;; (use-package highlight-numbers ;; (use-package highlight-numbers
@ -349,5 +350,5 @@
:ensure t :ensure t
:straight t) :straight t)
(provide 'base-extensions) (provide 'init-extensions)
;;; base-extensions.el ends here ;;; init-extensions.el ends here

View File

@ -1,4 +1,4 @@
;;; base-functions.el --- Configuración de org-mode -*- lexical-binding: t -*- ;;; init-functions.el --- Configuración de org-mode -*- lexical-binding: t -*-
;; Author: kj <webmaster@outcontrol.net> ;; Author: kj <webmaster@outcontrol.net>
;; URL: https://git.kj2.me/kj/confi-emacs-actual ;; URL: https://git.kj2.me/kj/confi-emacs-actual
@ -63,5 +63,5 @@ Saves to a temp file and puts the filename in the kill ring."
(or (featurep 'all-the-icons) (or (featurep 'all-the-icons)
(require 'all-the-icons nil t)))) (require 'all-the-icons nil t))))
(provide 'base-functions) (provide 'init-functions)
;;; base-functions.el ends here. ;;; init-functions.el ends here.

View File

@ -1,4 +1,4 @@
;;; base-ivy.el --- Ayuditas y autocompletado del minibufer -*- lexical-binding: t -*- ;;; init-ivy.el --- Ayuditas y autocompletado del minibufer -*- lexical-binding: t -*-
;; Author: kj <webmaster@outcontrol.net> ;; Author: kj <webmaster@outcontrol.net>
;; URL: https://git.kj2.me/kj/confi-emacs-actual ;; URL: https://git.kj2.me/kj/confi-emacs-actual
@ -148,5 +148,5 @@
:straight t :straight t
:bind ("C-c C-y" . ivy-yasnippet)) :bind ("C-c C-y" . ivy-yasnippet))
(provide 'base-ivy) (provide 'init-ivy)
;;; base-ivy.el ends here ;;; init-ivy.el ends here

View File

@ -1,4 +1,4 @@
;;; base-keys.el --- Archivo de configuración de atajos -*- lexical-binding: t -*- ;;; init-keys.el --- Archivo de configuración de atajos -*- lexical-binding: t -*-
;; Author: kj <webmaster@outcontrol.net> ;; Author: kj <webmaster@outcontrol.net>
;; URL: https://git.kj2.me/kj/confi-emacs-actual ;; URL: https://git.kj2.me/kj/confi-emacs-actual
@ -40,5 +40,5 @@
;; Deactivar el abrir *messages* al cliquear en el minibuffer ;; Deactivar el abrir *messages* al cliquear en el minibuffer
(define-key minibuffer-inactive-mode-map [mouse-1] #'ignore) (define-key minibuffer-inactive-mode-map [mouse-1] #'ignore)
(provide 'base-keys) (provide 'init-keys)
;;; base-keys.el ends here ;;; init-keys.el ends here

View File

@ -1,4 +1,4 @@
;;; base-lsp.el --- Languaje server protocol. -*- lexical-binding: t -*- ;;; init-lsp.el --- Languaje server protocol. -*- lexical-binding: t -*-
;; Author: kj <webmaster@outcontrol.net> ;; Author: kj <webmaster@outcontrol.net>
;; URL: https://git.kj2.me/kj/confi-emacs-actual ;; URL: https://git.kj2.me/kj/confi-emacs-actual
@ -246,5 +246,5 @@
(push 'lsp-treemacs-symbols-mode aw-ignored-buffers) (push 'lsp-treemacs-symbols-mode aw-ignored-buffers)
(push 'lsp-treemacs-java-deps-mode aw-ignored-buffers)))) (push 'lsp-treemacs-java-deps-mode aw-ignored-buffers))))
(provide 'base-lsp) (provide 'init-lsp)
;;; base-lsp.el ends here ;;; init-lsp.el ends here

View File

@ -1,4 +1,4 @@
;;; base-config.el --- Configuración de org-mode -*- lexical-binding: t -*- ;;; init-config.el --- Configuración de org-mode -*- lexical-binding: t -*-
;; Author: kj <webmaster@outcontrol.net> ;; Author: kj <webmaster@outcontrol.net>
;; URL: https://git.kj2.me/kj/confi-emacs-actual ;; URL: https://git.kj2.me/kj/confi-emacs-actual
@ -184,5 +184,5 @@
:ensure t :ensure t
:hook (org-mode . org-autolist-mode)) :hook (org-mode . org-autolist-mode))
(provide 'base-org) (provide 'init-org)
;;; base-org.el ends here ;;; init-org.el ends here

View File

@ -1,4 +1,4 @@
;;; base-treemacs.el --- Extensiones/paquetes instalados y su configuración -*- lexical-binding: t -*- ;;; init-treemacs.el --- Extensiones/paquetes instalados y su configuración -*- lexical-binding: t -*-
;; Author: kj <webmaster@outcontrol.net> ;; Author: kj <webmaster@outcontrol.net>
;; URL: https://git.kj2.me/kj/confi-emacs-actual ;; URL: https://git.kj2.me/kj/confi-emacs-actual
@ -56,5 +56,5 @@
magit-post-unstage) magit-post-unstage)
. treemacs-magit--schedule-update)) . treemacs-magit--schedule-update))
(provide 'base-treemacs) (provide 'init-treemacs)
;;; base-treemacs.el ends here ;;; init-treemacs.el ends here

22
init.el
View File

@ -39,17 +39,17 @@
(add-to-list 'load-path (concat user-emacs-directory "configs")) (add-to-list 'load-path (concat user-emacs-directory "configs"))
;; Paquetes base ;; Paquetes base
(require 'base) (require 'init-base)
(require 'base-extensions) (require 'init-extensions)
(require 'base-functions) (require 'init-functions)
(require 'base-org) (require 'init-org)
;; (require 'base-lsp) ;; (require 'init-lsp)
(require 'base-eglot) (require 'init-eglot)
(require 'base-company) (require 'init-company)
(require 'base-treemacs) (require 'init-treemacs)
;;(require 'base-ctags) ;;(require 'init-ctags)
(require 'base-ivy) (require 'init-ivy)
(require 'base-keys) (require 'init-keys)
;; Lenguajes ;; Lenguajes
(require 'lang-php) (require 'lang-php)