If I add a command into my vimrc
, such as:
:echom "Hello"
When I then open vim
, I get the following:
LA-DEV-IM-MM:Avails david$ vim new
Hello!
Press ENTER or type command to continue
To better my understanding of how/when the vimrc
is executed:
- Why does
Hello!
print before "opening" vim? - Why does it say "Press ENTER or..." instead of just loading vim?
My thinking was that the echo command would do the following:
- Open vim
- Do nothing, but if I type in
:messages
the echom would show.