Very similar to this question, particularly the second part to this answer:
From the diff view of a specific commit, is there a way to jump to the current+editable version of a modified file? If I press RET
on the file, Magit takes me to a read-only view of that file from that commit; is there a simple way to instead jump to the current version of that file so I can edit it?
(My current workflow is to use find-file-in-project
to load the file but it'd be so much faster if I could directly navigate to it via Magit.)
C-RET
instead ofRET
on one of the hunks for that file, and Magit will take you to the current file (at maybe the desired position, but interim changes might mess with that). I originally thought you meant you were viewing a revision of a single entire file as it was at the point in time of a given commit (in which case I couldn't see an existing key binding to jump to the current file).RET
because that I what I knew, but I was looking for the behavior ofC-RET
. Thanks for helping me clarify my question.