Try using vim altscreen
Add newline at end of file
Set default EDITOR
Add newline at end of file