Add orgit package
This commit is contained in:
parent
851d989c16
commit
8bae7c5cce
1 changed files with 18 additions and 0 deletions
18
config.org
18
config.org
|
@ -626,6 +626,24 @@ Source: [[https://magit.vc/][magit.vc]]
|
||||||
("C-x g" . magit-status))
|
("C-x g" . magit-status))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
** orgit
|
||||||
|
|
||||||
|
Support for Org links to Magit buffers.
|
||||||
|
|
||||||
|
- Source :: [[https://github.com/magit/orgit][GitHub: magit/orgit]]
|
||||||
|
- Blog post :: [[https://mmk2410.org/2022/01/21/my-emacs-package-of-the-week-orgit/][My Emacs package of the week: orgit]]
|
||||||
|
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(use-package orgit
|
||||||
|
:after (magit org)
|
||||||
|
:config
|
||||||
|
(add-to-list 'orgit-export-alist
|
||||||
|
'("git.mmk2410.org[:/]\\(.+?\\)\\(?:\\.git\\)?$"
|
||||||
|
"https://git.mmk2410.org/%n"
|
||||||
|
"https://git.mmk2410.org/%n/commits/commit/%r"
|
||||||
|
"https://git.mmk2410.org/%n/commit/%r")))
|
||||||
|
#+end_src
|
||||||
|
|
||||||
** diff-hl
|
** diff-hl
|
||||||
|
|
||||||
Emacs package for highlighting uncommitted changes
|
Emacs package for highlighting uncommitted changes
|
||||||
|
|
Loading…
Reference in a new issue