Function: majutsu-diff-mode
majutsu-diff-mode is an interactive and natively compiled function
defined in majutsu-diff.el.
Signature
(majutsu-diff-mode)
Documentation
Major mode for viewing jj diffs.
In addition to any hooks its parent mode majutsu-mode might have
run, this mode runs the hook majutsu-diff-mode-hook, as the final or
penultimate step during initialization.
majutsu-mouse-toggle-section
majutsu-section-cycle
majutsu-section-cycle-global
majutsu-section-hide
majutsu-section-hide-children
majutsu-section-show
majutsu-section-show-children
majutsu-section-show-headings
majutsu-section-show-level
majutsu-section-show-level-1
majutsu-section-show-level-1-all
majutsu-section-show-level-2
majutsu-section-show-level-2-all
majutsu-section-show-level-3
majutsu-section-show-level-3-all
majutsu-section-show-level-4
majutsu-section-show-level-4-all
majutsu-section-toggle
majutsu-section-toggle-children
! majutsu-command
$ majutsu-process-buffer
% majutsu-workspace
+ majutsu-diff-more-context
- majutsu-diff-less-context
- negative-argument
0 digit-argument
0 majutsu-diff-default-context
1 magit-section-show-level-1
2 magit-section-show-level-2
3 magit-section-show-level-3
4 magit-section-show-level-4
: majutsu-jj-command
<backtab> magit-section-cycle-global
<left-fringe> <mouse-1> magit-mouse-toggle-section
<left-fringe> <mouse-2> magit-mouse-toggle-section
> majutsu-sparse
? majutsu-dispatch
C majutsu-commit
C-/ majutsu-undo
C-<tab> magit-section-cycle
C-? majutsu-redo
C-c TAB magit-section-cycle
G majutsu-git-transient
M-1 magit-section-show-level-1-all
M-2 magit-section-show-level-2-all
M-3 magit-section-show-level-3-all
M-4 magit-section-show-level-4-all
M-<tab> magit-section-cycle
M-n magit-section-forward-sibling
M-p magit-section-backward-sibling
Q majutsu-jj-command
R majutsu-restore
RET majutsu-visit-thing
S majutsu-split
SPC..~ undefined
T majutsu-diff-toggle-fontify-hunk
TAB magit-section-toggle
V majutsu-revert
X majutsu-op-transient
Z majutsu-workspace
^ magit-section-up
a majutsu-absorb
b majutsu-bookmark
c majutsu-describe
d majutsu-diff
e majutsu-edit-changeset
g majutsu-refresh
j majutsu-jump-to-diffstat-or-diff
k majutsu-delete-thing
l majutsu-log-transient
n magit-section-forward
o majutsu-new
p magit-section-backward
q majutsu-mode-bury-buffer
q..\x3FFFFF digit-argument
r majutsu-rebase
s majutsu-squash
t majutsu-diff-toggle-refine-hunk
v majutsu-evolog
Key Bindings
This command is not in any keymaps.
Source Code
;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-diff.el
(define-derived-mode majutsu-diff-mode majutsu-mode "Majutsu Diff"
"Major mode for viewing jj diffs."
:group 'majutsu
(setq-local line-number-mode nil)
;; Majutsu owns refinement state. Otherwise `diff-font-lock-keywords'
;; consults the independent `diff-refine' option and recreates fine overlays
;; even when `majutsu-diff-refine-hunk' is nil.
;; `magit-section-mode' disables syntactic font locking. The diff washer
;; attaches faces to actual hunk lines as text properties, so revision
;; messages cannot be mistaken for patches.
(setq-local diff-refine nil))