Disabling vim's startup message (vimdiff, vim -o -O ones)

前端 未结 2 1278
时光说笑
时光说笑 2021-02-15 13:53

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. T

2条回答
  •  猫巷女王i
    2021-02-15 14:38

    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.

提交回复
热议问题