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

前端 未结 2 1280
时光说笑
时光说笑 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条回答
  •  清歌不尽
    2021-02-15 14:54

    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'
    

自定义标题
段落格式
字体
字号
代码语言
提交回复
热议问题