8.11 Minor Mode for Buffers Visiting Blobs

The magit-blob-mode enables certain Magit features in blob-visiting buffers. Such buffers can be created using magit-find-file and some of the commands mentioned below, which also take care of turning on this minor mode. Currently this mode only establishes a few key bindings, but this might be extended.

p (magit-blob-previous)

This command visits the previous blob that modified the current file.

n (magit-blob-next)

This command visit the next blob that modified the current file.

q (magit-bury-or-kill-buffer)

This command buries the current buffer, if that is being displayed in multiple windows and/or when a prefix argument is used. If neither is the case, it instead kills the current buffer.

You might want to bind u to another command. Suitable commands include bury-buffer, magit-bury-buffer and magit-kill-this-buffer.