An alternative workflow I use is the dired-view-file bound to 'v' to have a read-only buffer for the file which you can scroll through with <space> and other such keys. Then you can use 'q' to close the buffer and 'e' to edit it.
In Vim, I use vinegar, which bind the minus key to display the file's directory in netrw and in netrw, go up.