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))
|
'("<escape>" . ignore))
|
||||||
(meow-global-mode))
|
(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
|
(use-package treesit
|
||||||
:ensure nil
|
:ensure nil
|
||||||
:init
|
:init
|
||||||
|
@ -351,8 +360,7 @@
|
||||||
(use-package gruvbox-theme)
|
(use-package gruvbox-theme)
|
||||||
(use-package catppuccin-theme
|
(use-package catppuccin-theme
|
||||||
:custom-face
|
:custom-face
|
||||||
;; surface2
|
(region ((t (:background "#5b6078"))))) ;; surface2
|
||||||
(region ((t (:background "#5b6078")))))
|
|
||||||
|
|
||||||
(defun load-theme-with-solaire ()
|
(defun load-theme-with-solaire ()
|
||||||
(load-theme 'catppuccin-macchiato t)
|
(load-theme 'catppuccin-macchiato t)
|
||||||
|
@ -430,6 +438,9 @@
|
||||||
clojure-mode-hook))
|
clojure-mode-hook))
|
||||||
(add-hook hook #'my-use-spaces-for-indent))
|
(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 ()
|
(defun scroll-down-3 ()
|
||||||
"Scrolls down by 3"
|
"Scrolls down by 3"
|
||||||
(interactive)
|
(interactive)
|
||||||
|
|
Loading…
Reference in a new issue