Reputation: 67
When I open multiple files in tabs using gvim -p file1 file2 file3 ... I get an info line about each file at the bottom of my screen followed by "Press ENTER or type command to continue". Short of setting cmdheight to some very large value, how can I suppress all of this output and simply let gvim open the files with no further input from me? Thanks.
Upvotes: 1
Views: 147
Reputation: 172698
I don't see this in plain Vim. Probably, some plugin / customization is issuing messages on the BufRead
event. One way to suppress this is by temporarily disabling autocmds during opening (though this may affect the plugins):
vim --cmd "set eventignore=all" -p *.txt -c "set eventignore="
You can try this also with other related options, e.g. set [no]more
.
Upvotes: 1