While point is inside a diff in a Magit buffer I press RET
, which invokes magit-diff-visit-file
.
After checking this file, I want to quit it and get back to the Magit buffer that was previously showing.
I type q
, it does the job but it always says that I start keyboard-macro
recording.
So two questions here:
- What does
q
actually do in the buffer shown bymagit-diff-visit-file
? - How can I list all the commands in the buffer after I run the
magit-diff-visit-file
command?
magit-diff-visit-file
doC-h k q
to find out whatq
does.RET
in adiff-mode
buffer does not invokemagit-diff-visit-file
.diff-mode
is not part of Magit.