Lazygit

  1. Press 2, to go to 2. Files
  2. Using / (or single click) to hover over individual changed files
  3. Press e to open the file in your default $EDITOR

Basic Terminal

$EDITOR <file>
 
# or more directly
vim <file>
nano <file>