sjl / learnvimscriptthehardway

Home Page:http://learnvimscriptthehardway.stevelosh.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Echom, message-history & silent

nfarrar opened this issue · comments

When using echom in vimrc to display messages (for example trying to record debugging information in if clauses), they trigger the 'press-enter to continue' dialog.

If you prefix echom with silent, you they won't trigger the 'press-enter to continue' dialog, but they also aren't stored in the message-history buffer.

I've been looking around for awhile, but haven't found any working solutions to this problem (logging debugging messages to message-history with echom, without triggering the press-enter dialog).

I was hoping it would be covered in your manual (which is fantastic, btw), but I don't see it. Do you have any suggestions?