Question

When using opening multiple files with split windows from the command line, vim likes to state what the file names are, the line count, and the character count, for each file. Then the user is prompted to press enter to continue on to the good stuff.

Is there an setting or switch to disable this? I'm using this for diffing with TortoiseSVN and the message is killing my productivity when all I want is a quick glance at the changes.

Was it helpful?

Solution

You have to play with 'shortmess' vim option.

:help shortmess

Either set it in your .vimrc

set shortmess=at

or during the vim run

vim --cmd 'set shortmess=at'

OTHER TIPS

Mykola Golubyev's answer ist good, but you probably want to use += instead of = in order to keep the flags that are already present.

set shortmess+=at

Otherwise it might have unwanted side effects like those mentioned in the above comments.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top