When in a magit diff view, pressing enter in a blob 'visit' the file. But this file is a special read only version.
The magit manual mentions a way to visit the (actual writable) file:
C-<return> (magit-diff-visit-file-worktree)
source: https://magit.vc/manual/magit/Visiting-Files-and-Blobs-from-a-Diff.html
This combo doesn't work, and M-x
doesn't even mention a magit-diff-visit-file-worktree
What am I doing wrong?
My system:
GNU Emacs 26.2 (build 1, x86_64-apple-darwin18.5.0) of 2019-04-13
-UUU:@%%--F7 magit-diff: web-app Top L1 (Magit Diff yas Rails Projectile WK) ----
macOS 10.15.3
C-h i m magit RET
should get you there.C-j
which ismagit-diff-visit-worktree-file
.