diff --git a/lisp/init-appearance.el b/lisp/init-appearance.el index 5ff3759..98342f7 100644 --- a/lisp/init-appearance.el +++ b/lisp/init-appearance.el @@ -2,14 +2,29 @@ ;;; Commentary: ;;; Code: +;; ---------------------------------------------------------------------------- +;; Theme setup +;; ---------------------------------------------------------------------------- + (setq custom-safe-themes t) (use-package gruvbox-theme :ensure (:files ("*.el") :autoloads nil) :init (add-hook 'elpaca-after-init-hook #'(lambda () (load-theme 'gruvbox t))) + :config + ;; Modify some faces I don't like in the gruvbox theme + (custom-set-faces + ;; matches are too bright by default (gray on blue) + '(match ((t (:background "#554444" :foreground "#999999"))))) ) + +;; ---------------------------------------------------------------------------- +;; Improve some visuals +;; ---------------------------------------------------------------------------- + + ;; Remove toolbars, menu and scrollbars (menu-bar-mode -1) (tool-bar-mode -1) diff --git a/lisp/init-utils.el b/lisp/init-utils.el index 15d04d4..f1a1ea4 100644 --- a/lisp/init-utils.el +++ b/lisp/init-utils.el @@ -62,9 +62,21 @@ (global-set-key (kbd "C-;") 'avy-goto-char-timer) ) -;; ========================= +;; ---------------------------------------------------------------------------- +;; Searching +;; ---------------------------------------------------------------------------- + +;; Rg works best for me (deadgrep is another option) +(use-package rg + :ensure (:source "MELPA") + :config + (rg-enable-menu) + ) + +;; ---------------------------------------------------------------------------- ;; Misc user functions -;; ========================= +;; ---------------------------------------------------------------------------- + (defun rb/jump-to-init-file () "Open init.el in the current window."