mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
andras-simonyi/citeproc-el@9f783967c1 -> andras-simonyi/citeproc-el@ba49516265 bdarcus/citar@b24b5b94b7 -> bdarcus/citar@79512aefdf cjohansson/emacs-ssh-deploy@7c5fe8af2d -> cjohansson/emacs-ssh-deploy@9311f9b4f8 editorconfig/editorconfig-emacs@2ab86dc9a8 -> editorconfig/editorconfig-emacs@3c03cef311 emacs-lsp/lsp-mode@f49ea4e365 -> emacs-lsp/lsp-mode@cb7ec94435 joaotavora/eglot@dade5a1487 -> joaotavora/eglot@0f352213fc k1LoW/emacs-ansible@40af0d2bbb -> k1LoW/emacs-ansible@d89ac0ee57 magit/forge@0ff9b8a0de -> magit/forge@5586863f98 magit/magit@0ac05f3962 -> magit/magit@4e29d5827c paradoxxxzero/jinja2-mode@ecd19a40b7 -> paradoxxxzero/jinja2-mode@03e5430a7e purcell/envrc@456c4100de -> purcell/envrc@e161624b91 tmalsburg/helm-bibtex@aa775340ba -> tmalsburg/helm-bibtex@db73156576 tmalsburg/helm-bibtex@aa775340ba -> tmalsburg/helm-bibtex@db73156576 tumashu/posframe@6c0e63d6b3 -> tumashu/posframe@c91d4d53fa vedang/pdf-tools@4e6c778194 -> vedang/pdf-tools@72ef774320 zx2c4/password-store@04cd3023f4 -> zx2c4/password-store@eea24967a0
tools/magit
Description
This module provides Magit, an interface to the Git version control system.
If you are new to Magit, see the Getting Started section of its project readme.
Maintainers
This module has no dedicated maintainers.
Module Flags
+forge
Enable Forge; a porcelain for managing issues and PRs from within Emacs. Will take a while on first run to build emacsql-sqlite.
Plugins
- magit
- forge* (
+forge
) - magit-gitflow
- magit-todos
- github-review
- evil-magit* (
:editor evil +everywhere
)
Hacks
forge
was modified to defer compilation of emacsql-sqlite until you try to use forge, rather than when magit first loads (which could be as soon as startup).magit
has been modified to recognize$XDG_CACHE_HOME/git/credential/socket
.magit
has been modified to invalidate the projectile cache when you check out a new branch or commit.magit
has been modified to revert repo buffers (e.g. after changing branches) when you later switch to them, rather than all at once.
Prerequisites
This module requires git
.
Forge will require a Github API token the first time you run forge-pull
.
TODO Features
Configuration
Add these to $DOOMDIR/config.el
.
Enable Gravatars
This will enable gravatars when viewing commits. The service used by default is Libravatar.
(setq magit-revision-show-gravatars '("^Author: " . "^Commit: "))
Enable granular diff-highlights for all hunks
By default, changes are highlighted linewise for all but the selected hunk. This has performance reasons. You can enable character-wise highlights for all visible hunks with:
(after! magit
(setq magit-diff-refine-hunk 'all))