Add goggles, electric-pair-mode
This commit is contained in:
parent
fb7e316bb6
commit
fd36415756
15
init.el
15
init.el
|
@ -131,6 +131,15 @@
|
|||
'("<escape>" . ignore))
|
||||
(meow-global-mode))
|
||||
|
||||
(use-package goggles
|
||||
:hook ((prog-mode text-mode) . goggles-mode)
|
||||
:custom-face
|
||||
(goggles-added ((t (:background "#a6da95")))) ;; green
|
||||
(goggles-removed ((t (:background "#ed8796")))) ;; red
|
||||
(goggles-changed ((t (:background "#8aadf4")))) ;; blue
|
||||
:config
|
||||
(setq-default goggles-pulse t))
|
||||
|
||||
(use-package treesit
|
||||
:ensure nil
|
||||
:init
|
||||
|
@ -351,8 +360,7 @@
|
|||
(use-package gruvbox-theme)
|
||||
(use-package catppuccin-theme
|
||||
:custom-face
|
||||
;; surface2
|
||||
(region ((t (:background "#5b6078")))))
|
||||
(region ((t (:background "#5b6078"))))) ;; surface2
|
||||
|
||||
(defun load-theme-with-solaire ()
|
||||
(load-theme 'catppuccin-macchiato t)
|
||||
|
@ -430,6 +438,9 @@
|
|||
clojure-mode-hook))
|
||||
(add-hook hook #'my-use-spaces-for-indent))
|
||||
|
||||
(add-hook 'prog-mode-hook #'electric-pair-local-mode)
|
||||
(add-hook 'eval-expression-minibuffer-setup-hook #'electric-pair-local-mode)
|
||||
|
||||
(defun scroll-down-3 ()
|
||||
"Scrolls down by 3"
|
||||
(interactive)
|
||||
|
|
Loading…
Reference in a new issue