version: remove "Running in Vi compatible mode" message #1309

This commit is contained in:
Jeff Widman 2014-10-19 21:15:12 -07:00 committed by Justin M. Keyes
parent 1eb3dae04a
commit 6c78fd1a64

View File

@ -887,21 +887,11 @@ void intro_message(int colon)
"",
N_("type :q<Enter> to exit "),
N_("type :help<Enter> or <F1> for on-line help"),
NULL,
"",
N_("Running in Vi compatible mode"),
N_("type :set nocp<Enter> for Vim defaults"),
N_("type :help cp-default<Enter> for info on this"),
};
// blanklines = screen height - # message lines
blanklines = (int)Rows - ((sizeof(lines) / sizeof(char *)) - 1);
if (!p_cp) {
// add 4 for not showing "Vi compatible" message
blanklines += 4;
}
// Don't overwrite a statusline. Depends on 'cmdheight'.
if (p_ls > 1) {
blanklines -= Rows - topframe->fr_height;