feat(emacs): add majjit

This commit is contained in:
2026-02-24 13:54:21 +01:00
parent e427c1866e
commit 210c75cce9
+11 -24
View File
@@ -1388,31 +1388,18 @@ compatible with git repositories. In fact, I pretty much don’t use git
anymore, jj (abbreviation of Jujutsu) has almost completely replaced anymore, jj (abbreviation of Jujutsu) has almost completely replaced
git for me. git for me.
It comes to no surprise then that I will use [[https://elpa.gnu.org/packages/vc-jj.html][=vc-jj=]], a Jujutsu I like Magit’s interface, as you can see in my [[file:./applications.md#magit][Magit]] config.
backend for =vc.el= and =project.el=. Therefore, let’s install =majjit=, my slow and scuffed attempt at
bringing some Magit features to jujutsu.
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package vc-jj (use-package majjit
:straight (:build t) :defer t
:defer nil) :after magit
#+end_src :straight (majjit :built t
:type git
As mentioned in the package’s README, I do need to set these lines in :host nil
my jj config: :repo "https://labs.phundrak.com/phundrak/majjit")
#+begin_src toml :tangle no :custom ((majjit-default-directory "~/code/")))
[ui]
diff-formatter = ":git"
conflict-marker-style = "git"
#+end_src
I also like Magit’s interface, as you can see in my [[file:./applications.md#magit][Magit]] config.
Therefore, let’s install =jujutsu-mode= which attempts to recreate a
Magit-style interface for Jujutsu.
#+begin_src emacs-lisp
(use-package jj-mode
:straight (:build t :host github :repo "bolivier/jj-mode.el")
:defer t)
#+end_src #+end_src
Though, I’ll be honest, I generally prefer to use Jujutsu in the Though, I’ll be honest, I generally prefer to use Jujutsu in the