diff options
| author | Nicholas Rodrigues Lordello <[email protected]> | 2025-07-16 08:04:15 +0200 |
|---|---|---|
| committer | Nicholas Rodrigues Lordello <[email protected]> | 2025-07-16 08:04:15 +0200 |
| commit | e47bd88f18fa0fba96585fc9339e461685317a91 (patch) | |
| tree | 6d86e641e8b6207f374ec2a18078ce0bfbb0bac2 | |
| parent | fae925f5cc061855c7b7af4f0e8d864ca9f4b7e1 (diff) | |
Make Magit a Prelude Package
I use it enough everywhere that it should be there. It is useful for
managing my dotfiles in any case.
| -rw-r--r-- | config/emacs/init.el | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/config/emacs/init.el b/config/emacs/init.el index 9df3446..de6aba2 100644 --- a/config/emacs/init.el +++ b/config/emacs/init.el @@ -134,11 +134,10 @@ (when (executable-find "rg") (setq xref-search-program 'ripgrep))) -(when (init/dev) - (use-package project - :config - (add-to-list 'project-switch-commands - '(magit-project-status "Magit" "m") t))) +(use-package project + :config + (add-to-list 'project-switch-commands + '(magit-project-status "Magit" "m") t)) ;;; -- Packages -- @@ -172,6 +171,10 @@ :config (exec-path-from-shell-initialize)) +(use-package magit + :ensure t + :bind (("C-x g" . magit-status))) + (use-package undo-tree :ensure t :custom @@ -211,11 +214,7 @@ "->" "-->" "<!--" "<=" "=>" ">=" "<<" ">>" "<>" "<|" "|>" "</" "/>" "</>" "#(" "#{" "#[" "#!" "##" "###" "####" "[|" "|]" "[<" ">]" "{|" "|}" "{{" "}}" "//" "///" "&&" "++" "||" "==" "===" - "=~" "~-" "__" "!=" "!==" "--" "---"))) - - (use-package magit - :ensure t - :bind (("C-x g" . magit-status)))) + "=~" "~-" "__" "!=" "!==" "--" "---")))) ;;; -- OCaml -- |
