Skip to main content
2 of 2
Use keystroke formatting for key press sequences
AdminBee
  • 23.6k
  • 25
  • 55
  • 77

It is also worth considering the difference between pressing Enter and pressing E on the file that you want to edit

export VISUAL=vim;
export EDITOR=vim;

Though this solution might work when you press E on the file but pressing Enter may vary.