Add so-long-mode config.
This commit is contained in:
parent
0643d7a3cc
commit
1318e21c21
@ -265,6 +265,12 @@
|
|||||||
:config
|
:config
|
||||||
(setq save-place-file (locate-user-emacs-file (concat temp-dir "/places"))))
|
(setq save-place-file (locate-user-emacs-file (concat temp-dir "/places"))))
|
||||||
|
|
||||||
|
;; 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"))
|
||||||
|
|
||||||
;; Mejorando el scroll
|
;; Mejorando el scroll
|
||||||
(use-package smooth-scrolling
|
(use-package smooth-scrolling
|
||||||
:defer t
|
:defer t
|
||||||
@ -276,11 +282,26 @@
|
|||||||
(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)
|
;; Ayuda a manipular los archivos con líneas demasiado largas
|
||||||
(use-package silicon
|
(use-package so-long
|
||||||
:ensure t
|
|
||||||
:defer t
|
:defer t
|
||||||
:straight (silicon :type git :host github :repo "iensu/silicon-el"))
|
:straight (:type built-in)
|
||||||
|
:hook ((after-init . global-so-long-mode)
|
||||||
|
(so-long-mode-ad . read-only-mode))
|
||||||
|
:bind (:map so-long-mode-map
|
||||||
|
("C-s" . isearch-forward)
|
||||||
|
("C-r" . isearch-backward))
|
||||||
|
:config
|
||||||
|
(setq so-long-variable-overrides
|
||||||
|
'((bidi-inhibit-bpa . t)
|
||||||
|
(bidi-paragraph-direction . left-to-right)
|
||||||
|
(buffer-read-only . nil)
|
||||||
|
(global-hl-line-mode . nil)
|
||||||
|
(line-move-visual . t)
|
||||||
|
(show-paren-mode . nil)
|
||||||
|
(truncate-lines . nil)
|
||||||
|
(which-func-mode . nil)))
|
||||||
|
)
|
||||||
|
|
||||||
;; Tree-sitter :)
|
;; Tree-sitter :)
|
||||||
(use-package treesit
|
(use-package treesit
|
||||||
|
Loading…
Reference in New Issue
Block a user