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:
parent
0d84b2d066
commit
b0abc9d6cf
@ -20,15 +20,22 @@
|
||||
:defer t
|
||||
:straight t)
|
||||
|
||||
;; Reemplazar mejorado
|
||||
(use-package anzu
|
||||
:defer
|
||||
:ensure t
|
||||
;; Intercamiar buffers de lugar
|
||||
(use-package buffer-move
|
||||
:straight t
|
||||
:hook (after-init . global-anzu-mode)
|
||||
:config
|
||||
(global-set-key [remap query-replace] 'anzu-query-replace)
|
||||
(global-set-key [remap query-replace-regexp] 'anzu-query-replace-regexp))
|
||||
:bind (("M-S-<up>" . buf-move-up)
|
||||
("M-S-<down>" . buf-move-down)
|
||||
("M-S-<left>" . buf-move-left)
|
||||
("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
|
||||
(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
|
||||
(use-package drag-stuff
|
||||
:defer t
|
||||
@ -96,6 +93,50 @@
|
||||
:hook
|
||||
(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
|
||||
(use-package magit
|
||||
:defer t
|
||||
@ -127,15 +168,6 @@
|
||||
speed-type-min-chars 500
|
||||
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
|
||||
(use-package projectile
|
||||
: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)
|
||||
)
|
||||
|
||||
;; Paquete para crear imágens (solo lo uso para sacar capturas SVG de emacs)
|
||||
(use-package silicon
|
||||
:ensure t
|
||||
:defer t
|
||||
: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
|
||||
(use-package vterm :ensure t :defer t :straight t)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user