added magit and projectile and stuff

This commit is contained in:
Warwick 2025-07-24 15:30:49 +01:00
parent bba74f7958
commit 68096fd0f3

29
init.el
View file

@ -43,10 +43,24 @@
;; Theme
(load-theme 'modus-vivendi)
(use-package doom-modeline
:ensure t
:init (doom-modeline-mode 1)
:config (setq doom-modeline-height 15))
;; Projects
(use-package projectile
:diminish projectile-mode
:config (projectile-mode)
:custom ((projectile-completion-system 'ivy))
:bind-keymap ("C-c p" . projectile-command-map))
(use-package magit)
;; Make M-x all-the-icons-install-fonts available
(use-package all-the-icons
:if (display-graphic-p))
;; Quality of life
(use-package rainbow-delimiters
:hook (prog-mode . rainbow-delimiters-mode))
@ -57,3 +71,16 @@
:config
(setq which-key-idle-delay 0.3))
(use-package helpful
:custom
(counsel-describe-function-function #'helpful-callable)
(counsel-describe-variable-function #'helpful-variable)
:bind
([remap describe-function] . counsel-describe-function)
([remap describe-command] . helpful-command)
([remap describe-variable] . counsel-describe-variable)
([remap describe-key] . helpful-key))
;; TODO look into general for easy custom key bindings
;; TODO explore theme packages
;; TODO consider evil?