Variable: magit-blob-mode
magit-blob-mode is a buffer-local variable defined in magit-files.el.
Documentation
Non-nil if Magit-Blob mode is enabled.
Use the command magit-blob-mode(var)/magit-blob-mode(fun) to change this variable.
Key Bindings
magit-blob-mode-map C-x C-q
Source Code
;; Defined in /nix/store/irvbdy0zra0dn8fpd008f32x5ix6qm5v-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-20261005.508/magit-files.el
(define-minor-mode magit-blob-mode
"Enable key bindings, which are useful in blob-visiting buffers.
\\{magit-blob-mode-map}
When the user disables `read-only-mode', these bindings would conflict
with bindings for `self-insert-command'. To avoid this conflict,
`read-only-mode' is remapped to `magit-blob-mode' and disabling the
latter disables both modes. Likewise, enabling it, also enables
`read-only-mode'.
When this mode is disabled, many of the commands, for which it would
single-character bindings, are accessible via \\[magit-file-dispatch]."
:package-version '(magit . "2.3.0")
;; Don't actually call `read-only-mode'. Because
;; that could enable the incompatible `view-mode'.
(setq-local buffer-read-only magit-blob-mode)
(setq-local read-only-mode--state magit-blob-mode))