Remove some packages and add others.

Removed:
        - Anzu
        - Desktop
        - Origami

Added:
        - buffer-move
        - csv-mode
        - highlight-escape-sequences
        - keypression
        - license-templates
        - vs-comments-return
This commit is contained in:
kj 2023-04-13 07:13:59 -04:00
parent 0d84b2d066
commit b0abc9d6cf

View File

@ -20,15 +20,22 @@
:defer t :defer t
:straight t) :straight t)
;; Reemplazar mejorado ;; Intercamiar buffers de lugar
(use-package anzu (use-package buffer-move
:defer
:ensure t
:straight t :straight t
:hook (after-init . global-anzu-mode) :bind (("M-S-<up>" . buf-move-up)
:config ("M-S-<down>" . buf-move-down)
(global-set-key [remap query-replace] 'anzu-query-replace) ("M-S-<left>" . buf-move-left)
(global-set-key [remap query-replace-regexp] 'anzu-query-replace-regexp)) ("M-S-<right>" . buf-move-right))
)
;; Major mode para archivos CSV
(use-package csv-mode
:straight t
:defer t
:hook ((csv-mode . csv-align-mode)
(csv-mode . csv-header-line))
)
;; Un bonito y sencillo panel de inicio ;; Un bonito y sencillo panel de inicio
(use-package dashboard (use-package dashboard
@ -48,16 +55,6 @@
)) ))
) )
;; (use-package desktop
;; :straight t
;; :config
;; (setq desktop-path (list (concat temp-dir)))
;; (defun desktop-write()
;; "Llama a desktop save de manera que no pregunte nada."
;; (interactive)
;; (desktop-save temp-dir))
;; )
;; Mover líneas o regiones ;; Mover líneas o regiones
(use-package drag-stuff (use-package drag-stuff
:defer t :defer t
@ -96,6 +93,50 @@
:hook :hook
(after-init . global-git-gutter-mode)) (after-init . global-git-gutter-mode))
(use-package highlight-escape-sequences
:straight t
:defer t
:hook (prog-mode . hes-mode)
:config
(setq hes-mode-alist
`((c-mode . ,hes-c/c++/objc-escape-sequence-re)
(c++-mode . ,hes-c/c++/objc-escape-sequence-re)
(objc-mode . ,hes-c/c++/objc-escape-sequence-re)
(go-mode . ,hes-c/c++/objc-escape-sequence-re)
(php-mode . ,hes-c/c++/objc-escape-sequence-re)
(java-mode . ,hes-java-escape-sequence-re)
(clojure-mode . ,hes-java-escape-sequence-re)
(js-mode . ,hes-js-escape-sequence-re)
(js2-mode . ,hes-js-escape-sequence-re)
(ruby-mode . ,hes-ruby-escape-sequence-keywords)
(lisp-mode . ,hes-elisp-escape-sequence-re)
(lisp-interaction-mode . ,hes-elisp-escape-sequence-re)
(emacs-lisp-mode . ,hes-elisp-escape-sequence-re))
)
)
;; Mostrar lo que se está presionando en pantalla
(use-package keypression
:straight t
:defer t
:config
(setq keypression-use-child-frame t
keypression-fade-out-delay 1.0
keypression-frame-justify 'keypression-left-justified
keypression-cast-command-name t
keypression-cast-command-name-format "%s %s"
keypression-combine-same-keystrokes t
keypression-x-offset 50
keypression-y-offset 100
keypression-font-face-attribute '(:width normal :height 180 :weight bold))
)
;; Generador automatizado de archivos de licencia
(use-package license-templates
:straight t
:defer t)
;; Magia para git ;; Magia para git
(use-package magit (use-package magit
:defer t :defer t
@ -127,15 +168,6 @@
speed-type-min-chars 500 speed-type-min-chars 500
speed-type-max-chars 600)) speed-type-max-chars 600))
;; Code Folding
;; (use-package origami
;; :defer t
;; :straight (origami.el :type git :host github :repo "pierre-rouleau/origami.el")
;; :bind (("C-<tab>" . origami-toggle-node)
;; ("C-<iso-lefttab>" . origami-toggle-all-nodes))
;; :hook
;; (prog-mode . global-origami-mode))
;; Paquete para manejo de proyectos ;; Paquete para manejo de proyectos
(use-package projectile (use-package projectile
:defer t :defer t
@ -231,10 +263,19 @@
(setq mouse-wheel-progressive-speed nil) ; Deshabilita la velocidad progresiva del scroll (mientras más scroll haces, mas rápido va) (setq mouse-wheel-progressive-speed nil) ; Deshabilita la velocidad progresiva del scroll (mientras más scroll haces, mas rápido va)
) )
;; Paquete para crear imágens (solo lo uso para sacar capturas SVG de emacs)
(use-package silicon (use-package silicon
:ensure t :ensure t
:defer t
:straight (silicon :type git :host github :repo "iensu/silicon-el")) :straight (silicon :type git :host github :repo "iensu/silicon-el"))
;; Cuando presionas enter en un bloque de comentario sigue el estilo del bloque.
(use-package vs-comment-return
:straight (vs-comment-return :type git :host github :repo "emacs-vs/vs-comment-return")
:defer t
:hook (prog-mode . vs-comment-return-mode)
)
;; Terminal ;; Terminal
(use-package vterm :ensure t :defer t :straight t) (use-package vterm :ensure t :defer t :straight t)